diff --git a/assets/f1_bg.png b/assets/f1_bg.png deleted file mode 100755 index b5ea8f5..0000000 Binary files a/assets/f1_bg.png and /dev/null differ diff --git a/assets/f1_plan.svg b/assets/f1_plan.svg deleted file mode 100755 index feba81a..0000000 --- a/assets/f1_plan.svg +++ /dev/null @@ -1,2 +0,0 @@ - -25001175S=10.81 м2Гостевая спальняS=4.57 м2Кладовка уличнаяS=5.58 м2КотельнаяS=3.46 м2СаунаS=7.22 м2Чулан под лестницейS=47.07 м2Кухня-гостинаяS=9.38 м2ПрихожаяS=5.39 м2Гостевой санузелS=18.48 м2S=10.00 м2 \ No newline at end of file diff --git a/assets/f2_bg.png b/assets/f2_bg.png deleted file mode 100755 index 25fe928..0000000 Binary files a/assets/f2_bg.png and /dev/null differ diff --git a/assets/f2_plan.svg b/assets/f2_plan.svg deleted file mode 100755 index 9222845..0000000 --- a/assets/f2_plan.svg +++ /dev/null @@ -1,2 +0,0 @@ - -S=6.47 м2ГардеробнаяS=5.08 м2Детский с\уS=5.43 м2Мастер с\уS=15.98 м2Детская МайиS=12.08 м2Мастер-спальняS=16.33 м2ХоллS=16.00 м2Детская ЭлиныS=11.07 м2Кабинет \ No newline at end of file diff --git a/custom_components/houseplan/const.py b/custom_components/houseplan/const.py index 74f82ee..702179e 100755 --- a/custom_components/houseplan/const.py +++ b/custom_components/houseplan/const.py @@ -11,7 +11,7 @@ PLANS_DIR = "houseplan/plans" # relative to the HA configuration directory FILES_URL = "/houseplan_files/files" FILES_DIR = "houseplan/files" CONF_ADMIN_ONLY = "admin_only" -VERSION = "1.13.2" +VERSION = "1.13.3" DEFAULT_CONFIG: dict = { "spaces": [], diff --git a/custom_components/houseplan/frontend/houseplan-card.js b/custom_components/houseplan/frontend/houseplan-card.js index 4dba344..ff9bd63 100755 --- a/custom_components/houseplan/frontend/houseplan-card.js +++ b/custom_components/houseplan/frontend/houseplan-card.js @@ -1176,4 +1176,4 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow - `}}Bt.properties={hass:{attribute:!1},_config:{state:!0},_space:{state:!0},_layout:{state:!0},_devices:{state:!0},_tip:{state:!0},_selId:{state:!0},_toast:{state:!0},_serverCfg:{state:!0},_markup:{state:!0},_tool:{state:!0},_path:{state:!0},_cursorPt:{state:!0},_areaSel:{state:!0},_nameSel:{state:!0},_roomDialog:{state:!0},_spaceDialog:{state:!0},_infoCard:{state:!0},_rulesDialog:{state:!0},_importDialog:{state:!0},_markerDialog:{state:!0},_zoom:{state:!0},_view:{state:!0}},Bt.styles=Ht,customElements.get("houseplan-card")||customElements.define("houseplan-card",Bt),window.customCards=window.customCards||[],window.customCards.find(t=>"houseplan-card"===t.type)||window.customCards.push({type:"houseplan-card",name:"House Plan Card",description:"Interactive house plan: spaces, rooms and devices with live states and drag layout."}),console.info("%c HOUSEPLAN-CARD %c v1.13.2 ","background:#3ea6ff;color:#04121f;font-weight:700",""); + `}}Bt.properties={hass:{attribute:!1},_config:{state:!0},_space:{state:!0},_layout:{state:!0},_devices:{state:!0},_tip:{state:!0},_selId:{state:!0},_toast:{state:!0},_serverCfg:{state:!0},_markup:{state:!0},_tool:{state:!0},_path:{state:!0},_cursorPt:{state:!0},_areaSel:{state:!0},_nameSel:{state:!0},_roomDialog:{state:!0},_spaceDialog:{state:!0},_infoCard:{state:!0},_rulesDialog:{state:!0},_importDialog:{state:!0},_markerDialog:{state:!0},_zoom:{state:!0},_view:{state:!0}},Bt.styles=Ht,customElements.get("houseplan-card")||customElements.define("houseplan-card",Bt),window.customCards=window.customCards||[],window.customCards.find(t=>"houseplan-card"===t.type)||window.customCards.push({type:"houseplan-card",name:"House Plan Card",description:"Interactive house plan: spaces, rooms and devices with live states and drag layout."}),console.info("%c HOUSEPLAN-CARD %c v1.13.3 ","background:#3ea6ff;color:#04121f;font-weight:700",""); diff --git a/custom_components/houseplan/manifest.json b/custom_components/houseplan/manifest.json index 76d8cde..912cd31 100755 --- a/custom_components/houseplan/manifest.json +++ b/custom_components/houseplan/manifest.json @@ -16,5 +16,5 @@ "issue_tracker": "https://github.com/Matysh/houseplan-card/issues", "requirements": [], "single_config_entry": true, - "version": "1.13.2" + "version": "1.13.3" } diff --git a/dist/houseplan-card.js b/dist/houseplan-card.js index 4dba344..ff9bd63 100755 --- a/dist/houseplan-card.js +++ b/dist/houseplan-card.js @@ -1176,4 +1176,4 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow - `}}Bt.properties={hass:{attribute:!1},_config:{state:!0},_space:{state:!0},_layout:{state:!0},_devices:{state:!0},_tip:{state:!0},_selId:{state:!0},_toast:{state:!0},_serverCfg:{state:!0},_markup:{state:!0},_tool:{state:!0},_path:{state:!0},_cursorPt:{state:!0},_areaSel:{state:!0},_nameSel:{state:!0},_roomDialog:{state:!0},_spaceDialog:{state:!0},_infoCard:{state:!0},_rulesDialog:{state:!0},_importDialog:{state:!0},_markerDialog:{state:!0},_zoom:{state:!0},_view:{state:!0}},Bt.styles=Ht,customElements.get("houseplan-card")||customElements.define("houseplan-card",Bt),window.customCards=window.customCards||[],window.customCards.find(t=>"houseplan-card"===t.type)||window.customCards.push({type:"houseplan-card",name:"House Plan Card",description:"Interactive house plan: spaces, rooms and devices with live states and drag layout."}),console.info("%c HOUSEPLAN-CARD %c v1.13.2 ","background:#3ea6ff;color:#04121f;font-weight:700",""); + `}}Bt.properties={hass:{attribute:!1},_config:{state:!0},_space:{state:!0},_layout:{state:!0},_devices:{state:!0},_tip:{state:!0},_selId:{state:!0},_toast:{state:!0},_serverCfg:{state:!0},_markup:{state:!0},_tool:{state:!0},_path:{state:!0},_cursorPt:{state:!0},_areaSel:{state:!0},_nameSel:{state:!0},_roomDialog:{state:!0},_spaceDialog:{state:!0},_infoCard:{state:!0},_rulesDialog:{state:!0},_importDialog:{state:!0},_markerDialog:{state:!0},_zoom:{state:!0},_view:{state:!0}},Bt.styles=Ht,customElements.get("houseplan-card")||customElements.define("houseplan-card",Bt),window.customCards=window.customCards||[],window.customCards.find(t=>"houseplan-card"===t.type)||window.customCards.push({type:"houseplan-card",name:"House Plan Card",description:"Interactive house plan: spaces, rooms and devices with live states and drag layout."}),console.info("%c HOUSEPLAN-CARD %c v1.13.3 ","background:#3ea6ff;color:#04121f;font-weight:700",""); diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 8fe0ce0..36ecac4 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -21,7 +21,6 @@ houseplan-card/ │ ├─ config_flow.py # single entry; admin_only option (editing restricted to admins) │ ├─ const.py # DOMAIN, STORAGE_KEY, VERSION, FRONTEND_URL │ └─ frontend/houseplan-card.js # copy of dist, served as /houseplan_files/houseplan-card.js -├─ assets/ # plan sources: f1_plan.svg, f2_plan.svg (REMPLANNER), *_bg.png (old raster versions) ├─ hacs.json # HACS manifest └─ docs/ # this documentation ``` diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9e35f05..fe3bbde 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v1.13.3 — 2026-07-06 (privacy: drop legacy real-house plan sources) +- Removed the legacy `assets/` directory (real floor-plan sources from the pre-v1.3 + bundled-data era). Nothing in the build referenced it; instance data lives in + server-side config. Note: the files remain in old git history and release archives. + ## v1.13.2 — 2026-07-05 (audit round 3: fixes + buildDevices test suite) - **buildDevices finally has a direct unit-test suite** (12 tests on a fake hass): area filtering, curation incl. show-all, duplicate numbering, light-group folding diff --git a/docs/STATUS.md b/docs/STATUS.md index 1643354..5efe5db 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -13,7 +13,7 @@ | Item | State | |---|---| -| Version | **v1.13.2** everywhere (manifest, const.py, package.json, CARD_VERSION) | +| Version | **v1.13.3** everywhere (manifest, const.py, package.json, CARD_VERSION) | | GitHub | https://github.com/Matysh/houseplan-card — branch `main`, releases v1.9.3…v1.11.2 | | CI | `.github/workflows/validate.yml` (hacs + hassfest + frontend + backend) — **fully green** since v1.11.1; `release.yml` auto-attaches the card bundle (needs `permissions: contents: write`, fixed) | | HACS | Works as custom repository (id 1290210112 on the home instance). **Inclusion PR: https://github.com/hacs/default/pull/8995** (queue ≈2 months as of 2026-07) | @@ -59,7 +59,12 @@ fix and re-ready; wrongly filled template ⇒ silent close). 2. GitHub PAT `houseplan-card-publish` (repo+workflow) expires ~2026-07-12; in sandbox `~/.git-credentials`. Revoke after the HACS queue clears, or re-issue when needed. -3. Stale files on the mount that cannot be deleted from the sandbox: `src/data/` leftovers, +3. Privacy: legacy real-house plan sources (`assets/`) removed from the tree in + v1.13.3, but they persist in git history and old release archives; 8 README + screenshots in docs/images are still from the real house (replacement with + synthetic ones is a standing watchlist item). History rewrite deliberately NOT + done — it would break existing release tags/HACS installs. +4. Stale files on the mount that cannot be deleted from the sandbox: `src/data/` leftovers, `brand_preview.png`, old nested bundle copies — ignore, git is authoritative. 4. Roadmap: phases 7–10 are DONE (v1.12.0 quality scale, v1.13.0 universality, v1.13.1 distribution). Next candidates: replace the remaining real-house README diff --git a/package.json b/package.json index 25b03f3..4726a6f 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "houseplan-card", - "version": "1.13.2", + "version": "1.13.3", "description": "Interactive house plan Lovelace card for Home Assistant", "license": "MIT", "type": "module", diff --git a/src/houseplan-card.ts b/src/houseplan-card.ts index 8ae96ee..ca646f7 100755 --- a/src/houseplan-card.ts +++ b/src/houseplan-card.ts @@ -23,7 +23,7 @@ import './editor'; import { cardStyles } from './styles'; import { langOf, t, type I18nKey } from './i18n'; -const CARD_VERSION = '1.13.2'; +const CARD_VERSION = '1.13.3'; const LS_KEY = 'houseplan_card_layout_v1'; const LS_CFG = 'houseplan_card_cfg_v1'; // cache of the server config+layout for instant rendering const LS_ZOOM = 'houseplan_card_zoom_v1';