build: prepare v1.73.0-beta.6 candidate
Проверка (CI) / Классификация изменённых файлов (push) Successful in 41s
Проверка (CI) / Предполётные проверки: документация, провенанс, процесс (push) Successful in 55s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 24s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 31s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 51s
Проверка (CI) / Мутанты по диффу (1/3): затронутые свидетели краснеют (push) Failing after 10m22s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 10m20s
Проверка (CI) / Смоки в браузере (шард 1 из 3) (push) Skipped
Проверка (CI) / Смоки в браузере (шард 2 из 3) (push) Skipped
Проверка (CI) / Смоки в браузере (шард 3 из 3) (push) Skipped
Проверка (CI) / Смоки: все шарды зелёные (push) Skipped
Проверка (CI) / Golden-кадры против принятых эталонов (push) Skipped
Проверка (CI) / Перф-смок: бюджет времени кадра (push) Skipped
Проверка (CI) / Мутанты по диффу (3/3): затронутые свидетели краснеют (push) Failing after 20m14s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 10m33s
Проверка (CI) / Мутанты по диффу (2/3): затронутые свидетели краснеют (push) Failing after 12m20s

Issue: #487
Issue: #488
User-Visible: yes
Release: v1.73.0-beta.6
This commit is contained in:
Matysh
2026-09-08 12:09:47 +03:00
parent 3a702b3124
commit ed9ee026dc
48 changed files with 352 additions and 346 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ SCHEDULED_GRACE_S = 30 * 24 * 3600
FILES_DIR = "houseplan/files"
ASSETS_DIR = "houseplan/assets"
CONF_ADMIN_ONLY = "admin_only"
VERSION = "1.73.0-beta.5"
VERSION = "1.73.0-beta.6"
DECOR_ASSETS_API_VERSION = 1
# #43: the support transport is deliberately not configurable. A user supplied
@@ -1,270 +1,270 @@
{
"schema": 1,
"fingerprint": "0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd",
"fingerprint": "8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290937,
"initialViewGzipBytes": 290929,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-card.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 293213,
"initialPanelGzipBytes": 293204,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2276,
"initialPanelOnlyGzipBytes": 2275,
"lazyFiles": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/de-CzcEZPwM.js",
"houseplan-assets/editor-CW0C21EP.js",
"houseplan-assets/fr-DxS1_IbF.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js",
"houseplan-assets/hp-zigbee-topology-overlay-YvkeiEDr.js",
"houseplan-assets/iso-scene-render-B9wq5amM.js",
"houseplan-assets/live-interaction-runtime-Rtmj1fX5.js",
"houseplan-assets/pdf-export-EtV7uneq.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js",
"houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/de-BCkHkiB5.js",
"houseplan-assets/editor-D8PGN0VZ.js",
"houseplan-assets/fr-DTetoHpc.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js",
"houseplan-assets/hp-zigbee-topology-overlay-DpLafSXG.js",
"houseplan-assets/iso-scene-render-347DoW0f.js",
"houseplan-assets/live-interaction-runtime-BKx6xnMX.js",
"houseplan-assets/pdf-export-DCr3EZQi.js",
"houseplan-assets/zigbee-topology-INhNMylG.js",
"houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js"
],
"lazyGzipBytes": 383762,
"lazyGzipBytes": 383720,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/editor-CW0C21EP.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/editor-D8PGN0VZ.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"houseplan-assets/zigbee-topology-INhNMylG.js"
],
"lazyEditorGzipBytes": 195422,
"lazyEditorGzipBytes": 195398,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js"
],
"lazyOnboardingGzipBytes": 14083,
"lazyOnboardingGzipBytes": 14078,
"lazyLocaleFiles": [
"houseplan-assets/de-CzcEZPwM.js",
"houseplan-assets/fr-DxS1_IbF.js"
"houseplan-assets/de-BCkHkiB5.js",
"houseplan-assets/fr-DTetoHpc.js"
],
"lazyLocaleGzipBytes": 50572,
"lazyLocaleGzipBytes": 50567,
"lazyIsometricFiles": [
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/iso-scene-render-B9wq5amM.js"
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/iso-scene-render-347DoW0f.js"
],
"lazyIsometricGzipBytes": 13462,
"lazyIsometricGzipBytes": 13455,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js"
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js"
],
"lazyFurnitureArtGzipBytes": 10254,
"lazyFurnitureArtGzipBytes": 10253,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/pdf-export-EtV7uneq.js"
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/pdf-export-DCr3EZQi.js"
],
"lazyPdfGzipBytes": 120335,
"lazyPdfGzipBytes": 120333,
"files": [
{
"path": "houseplan-assets/backdrop-pick-BlPhwKHb.js",
"sha256": "5d6089ddbdf7dbcfe29bd913bf0c35c0cc8c0c6a177c4e6ee4f6ba8aced3ff8c",
"path": "houseplan-assets/backdrop-pick-BfY64C-A.js",
"sha256": "dc8afca7d127c63374c7d83d6456233c823481afe796c7775ff76a9581dac73a",
"rawBytes": 21012,
"gzipBytes": 7112,
"gzipBytes": 7109,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-CzcEZPwM.js",
"sha256": "2e7863e7c0e1208582247e2757a44641addf404cd44792adf05a586ac91ff8c5",
"path": "houseplan-assets/de-BCkHkiB5.js",
"sha256": "ca051daaf982b232476d88ef900b5919b9a6665f3ca4d46dc9e47c3ff0845810",
"rawBytes": 84771,
"gzipBytes": 25540,
"gzipBytes": 25538,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-CW0C21EP.js",
"sha256": "5c7c65235503571d0ddcda2a0e7335e9bf51c5c4d09910c339fa6404d2f92e86",
"path": "houseplan-assets/editor-D8PGN0VZ.js",
"sha256": "e77bb90ff6ee40321a9bd6a49afd831f3377f33e0424b31d3d9c860bd282545a",
"rawBytes": 3837,
"gzipBytes": 1587,
"gzipBytes": 1584,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-DxS1_IbF.js",
"sha256": "dd666d98477a2b7203a187d4834a4e21d01ad92b7a0b7de0c9a8935e8c476887",
"path": "houseplan-assets/fr-DTetoHpc.js",
"sha256": "fdd4eb2dbedffde5fe2d1d0fcae4bb36ee5b9b0cda9dc532a4257c412904c53c",
"rawBytes": 86828,
"gzipBytes": 25032,
"gzipBytes": 25029,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"sha256": "0f1e7789f4d714e08aa7ab7ffef061bfb2627e548971755bdcec31d5495c25b5",
"path": "houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"sha256": "4c1de41f496c79aacf341e70ed983edb641bccf9f3a498521a456d3ac715c50e",
"rawBytes": 33655,
"gzipBytes": 10254,
"gzipBytes": 10253,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/guard-EzKzhzi9.js",
"sha256": "882ecf62f4f127cbd7d9e1476263e93e3d29c04552cdd96a2a4dd563ce34b0bb",
"path": "houseplan-assets/guard-DMZQ9X4F.js",
"sha256": "58efffcc2771d139912709937ae98ca3bcccd058774934f5eed1914f6f7dfb53",
"rawBytes": 518,
"gzipBytes": 372,
"gzipBytes": 368,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-CVMCmk-D.js",
"sha256": "ea1a4d40750b0901616136bb757eda45ac1f78540775c72871b187a24fbc1ef0",
"path": "houseplan-assets/houseplan-card-Duc9J2aR.js",
"sha256": "8f7dedc243700c7236e3e5a44e46d85f3626d6933759dbda46f05108b0b57c2b",
"rawBytes": 1045917,
"gzipBytes": 290134,
"gzipBytes": 290127,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-CzcEZPwM.js",
"houseplan-assets/editor-CW0C21EP.js",
"houseplan-assets/fr-DxS1_IbF.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js",
"houseplan-assets/hp-zigbee-topology-overlay-YvkeiEDr.js",
"houseplan-assets/iso-scene-render-B9wq5amM.js",
"houseplan-assets/live-interaction-runtime-Rtmj1fX5.js",
"houseplan-assets/pdf-export-EtV7uneq.js"
"houseplan-assets/de-BCkHkiB5.js",
"houseplan-assets/editor-D8PGN0VZ.js",
"houseplan-assets/fr-DTetoHpc.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js",
"houseplan-assets/hp-zigbee-topology-overlay-DpLafSXG.js",
"houseplan-assets/iso-scene-render-347DoW0f.js",
"houseplan-assets/live-interaction-runtime-BKx6xnMX.js",
"houseplan-assets/pdf-export-DCr3EZQi.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"sha256": "517c8b57ec3c9d0f320d0c68168d7685197becc815d4b911d064de7a588f5b20",
"path": "houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"sha256": "35ed0163e57788ee86e9e541e2cf7db02b940af33798d86aadff28acade1652d",
"rawBytes": 633719,
"gzipBytes": 168667,
"gzipBytes": 168660,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-assets/zigbee-topology-INhNMylG.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js"
"houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js",
"sha256": "3aa46b7f935d9f42469710976dafbc1984787948cdb15beecaf8eb1c35153ef2",
"path": "houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js",
"sha256": "5fedf430826ec097c618e3bc3569c78c51a151e853d55cf3cfa48d48d71fb81b",
"rawBytes": 28075,
"gzipBytes": 6971,
"gzipBytes": 6969,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-YvkeiEDr.js",
"sha256": "81e4f215798db972c9953986beaa53fdad089b59e600e97d74e4688ef773eee2",
"path": "houseplan-assets/hp-zigbee-topology-overlay-DpLafSXG.js",
"sha256": "948b81fc8cd1dbd686df531efdd3ec8ed4eca0cf7f4c2abdd550700ed52831c8",
"rawBytes": 11034,
"gzipBytes": 3733,
"gzipBytes": 3729,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js",
"houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-assets/zigbee-topology-INhNMylG.js",
"houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-B9wq5amM.js",
"sha256": "f1981368aeeb99b1985f56a0cd646b78b54ad92e7658895fba573b1eb601a202",
"path": "houseplan-assets/iso-scene-render-347DoW0f.js",
"sha256": "17b1e80e0927a19ab1272b4e398ae10ab60f7e133904edc8ff4909cfb25fea96",
"rawBytes": 38562,
"gzipBytes": 13090,
"gzipBytes": 13087,
"isEntry": false,
"imports": [
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-Rtmj1fX5.js",
"sha256": "87d201f3485cc841ace4fba11af3f350cf53f30fd32aa812b9809093b2367a19",
"path": "houseplan-assets/live-interaction-runtime-BKx6xnMX.js",
"sha256": "233a0fa667f5a53fdd65179a74be44d39d9607927f3c220d6f6ae9770dee23d1",
"rawBytes": 5196,
"gzipBytes": 2128,
"gzipBytes": 2127,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-EtV7uneq.js",
"sha256": "87b0e8b46761041147b530b51ddbb9419e7008ee402767540209860adca402ef",
"path": "houseplan-assets/pdf-export-DCr3EZQi.js",
"sha256": "ee45829a7a26ca7c3982181823f7bf80d939bdaf645f38ba5e07d844beeb9bec",
"rawBytes": 237163,
"gzipBytes": 110081,
"gzipBytes": 110080,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-HB7INPq-.js",
"sha256": "c10ff358edda079b41d21f633f20b41859729469234eed59e5c1e8a90c730e69",
"path": "houseplan-assets/zigbee-topology-INhNMylG.js",
"sha256": "48b568a451b477f2bc6061951803ea54c510e8f4913d54d2f92783ee24b80692",
"rawBytes": 18961,
"gzipBytes": 7430,
"gzipBytes": 7424,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js",
"sha256": "95e0e21745bf0169f6756e07adf925de55321cab4edbc3b4053e550815f900c3",
"path": "houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js",
"sha256": "54ebcbf2de61c75f57ae825b1f1a58f5a5e3c158b6aceb7e5965791311230826",
"rawBytes": 3941,
"gzipBytes": 1765,
"gzipBytes": 1763,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-assets/zigbee-topology-INhNMylG.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "525ebe83d32ddb22874e87a1d408aba8863c5f4cfbd0912e2d32d553ebb7d42a",
"sha256": "92f7259a874eaf87c8e9ce73e6ad856267d674314c626d8181eeb7587db6b79c",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 802,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "c89784dd5ff39fc03ffdbdd38755318328731b54782ee2dd59df4314bbf0823a",
"sha256": "6de660ea8288d042ea175475c4ee71247d85b747c5e7e337f29732fcbbedfe1f",
"rawBytes": 6004,
"gzipBytes": 2276,
"gzipBytes": 2275,
"isEntry": true,
"imports": [
"houseplan-card.js"
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";import{t as e,l as o,x as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-CVMCmk-D.js";class f extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,f={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},h=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";import{t as e,l as o,x as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-Duc9J2aR.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
.computeLabel=${e=>f[e.name]||e.name}
.computeLabel=${e=>h[e.name]||e.name}
@value-changed=${this._valueChanged}
></ha-form>`;return c`
${d(h.slice(0,3))}
${d(f.slice(0,3))}
${_?c`<div class="default-floor-error" role="alert"
style="color:var(--error-color,#db4437);margin:-4px 0 12px;overflow-wrap:anywhere">
${t(s,"editor.default_floor_missing",{id:_})}
</div>`:a}
${d(h.slice(3))}
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}f.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",f);
${d(f.slice(3))}
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}h.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",h);
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";import{dS as r,dT as t,dU as e}from"./houseplan-card-Duc9J2aR.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";import{dS as r,dT as t,dU as s}from"./houseplan-card-CVMCmk-D.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";import{n as t,b as n}from"./zigbee-topology-HB7INPq-.js";import{F as e}from"./houseplan-card-CVMCmk-D.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";import{n as t,b as n}from"./zigbee-topology-INhNMylG.js";import{F as e}from"./houseplan-card-Duc9J2aR.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";try{await import("./houseplan-assets/houseplan-card-CVMCmk-D.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";try{await import("./houseplan-assets/houseplan-card-Duc9J2aR.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -20,5 +20,5 @@
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
"requirements": [],
"single_config_entry": true,
"version": "1.73.0-beta.5"
"version": "1.73.0-beta.6"
}
+124 -124
View File
@@ -1,270 +1,270 @@
{
"schema": 1,
"fingerprint": "0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd",
"fingerprint": "8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290937,
"initialViewGzipBytes": 290929,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-card.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 293213,
"initialPanelGzipBytes": 293204,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2276,
"initialPanelOnlyGzipBytes": 2275,
"lazyFiles": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/de-CzcEZPwM.js",
"houseplan-assets/editor-CW0C21EP.js",
"houseplan-assets/fr-DxS1_IbF.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js",
"houseplan-assets/hp-zigbee-topology-overlay-YvkeiEDr.js",
"houseplan-assets/iso-scene-render-B9wq5amM.js",
"houseplan-assets/live-interaction-runtime-Rtmj1fX5.js",
"houseplan-assets/pdf-export-EtV7uneq.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js",
"houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/de-BCkHkiB5.js",
"houseplan-assets/editor-D8PGN0VZ.js",
"houseplan-assets/fr-DTetoHpc.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js",
"houseplan-assets/hp-zigbee-topology-overlay-DpLafSXG.js",
"houseplan-assets/iso-scene-render-347DoW0f.js",
"houseplan-assets/live-interaction-runtime-BKx6xnMX.js",
"houseplan-assets/pdf-export-DCr3EZQi.js",
"houseplan-assets/zigbee-topology-INhNMylG.js",
"houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js"
],
"lazyGzipBytes": 383762,
"lazyGzipBytes": 383720,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/editor-CW0C21EP.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/editor-D8PGN0VZ.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"houseplan-assets/zigbee-topology-INhNMylG.js"
],
"lazyEditorGzipBytes": 195422,
"lazyEditorGzipBytes": 195398,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js"
],
"lazyOnboardingGzipBytes": 14083,
"lazyOnboardingGzipBytes": 14078,
"lazyLocaleFiles": [
"houseplan-assets/de-CzcEZPwM.js",
"houseplan-assets/fr-DxS1_IbF.js"
"houseplan-assets/de-BCkHkiB5.js",
"houseplan-assets/fr-DTetoHpc.js"
],
"lazyLocaleGzipBytes": 50572,
"lazyLocaleGzipBytes": 50567,
"lazyIsometricFiles": [
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/iso-scene-render-B9wq5amM.js"
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/iso-scene-render-347DoW0f.js"
],
"lazyIsometricGzipBytes": 13462,
"lazyIsometricGzipBytes": 13455,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js"
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js"
],
"lazyFurnitureArtGzipBytes": 10254,
"lazyFurnitureArtGzipBytes": 10253,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/pdf-export-EtV7uneq.js"
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/pdf-export-DCr3EZQi.js"
],
"lazyPdfGzipBytes": 120335,
"lazyPdfGzipBytes": 120333,
"files": [
{
"path": "houseplan-assets/backdrop-pick-BlPhwKHb.js",
"sha256": "5d6089ddbdf7dbcfe29bd913bf0c35c0cc8c0c6a177c4e6ee4f6ba8aced3ff8c",
"path": "houseplan-assets/backdrop-pick-BfY64C-A.js",
"sha256": "dc8afca7d127c63374c7d83d6456233c823481afe796c7775ff76a9581dac73a",
"rawBytes": 21012,
"gzipBytes": 7112,
"gzipBytes": 7109,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-CzcEZPwM.js",
"sha256": "2e7863e7c0e1208582247e2757a44641addf404cd44792adf05a586ac91ff8c5",
"path": "houseplan-assets/de-BCkHkiB5.js",
"sha256": "ca051daaf982b232476d88ef900b5919b9a6665f3ca4d46dc9e47c3ff0845810",
"rawBytes": 84771,
"gzipBytes": 25540,
"gzipBytes": 25538,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-CW0C21EP.js",
"sha256": "5c7c65235503571d0ddcda2a0e7335e9bf51c5c4d09910c339fa6404d2f92e86",
"path": "houseplan-assets/editor-D8PGN0VZ.js",
"sha256": "e77bb90ff6ee40321a9bd6a49afd831f3377f33e0424b31d3d9c860bd282545a",
"rawBytes": 3837,
"gzipBytes": 1587,
"gzipBytes": 1584,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-DxS1_IbF.js",
"sha256": "dd666d98477a2b7203a187d4834a4e21d01ad92b7a0b7de0c9a8935e8c476887",
"path": "houseplan-assets/fr-DTetoHpc.js",
"sha256": "fdd4eb2dbedffde5fe2d1d0fcae4bb36ee5b9b0cda9dc532a4257c412904c53c",
"rawBytes": 86828,
"gzipBytes": 25032,
"gzipBytes": 25029,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"sha256": "0f1e7789f4d714e08aa7ab7ffef061bfb2627e548971755bdcec31d5495c25b5",
"path": "houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"sha256": "4c1de41f496c79aacf341e70ed983edb641bccf9f3a498521a456d3ac715c50e",
"rawBytes": 33655,
"gzipBytes": 10254,
"gzipBytes": 10253,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/guard-EzKzhzi9.js",
"sha256": "882ecf62f4f127cbd7d9e1476263e93e3d29c04552cdd96a2a4dd563ce34b0bb",
"path": "houseplan-assets/guard-DMZQ9X4F.js",
"sha256": "58efffcc2771d139912709937ae98ca3bcccd058774934f5eed1914f6f7dfb53",
"rawBytes": 518,
"gzipBytes": 372,
"gzipBytes": 368,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-CVMCmk-D.js",
"sha256": "ea1a4d40750b0901616136bb757eda45ac1f78540775c72871b187a24fbc1ef0",
"path": "houseplan-assets/houseplan-card-Duc9J2aR.js",
"sha256": "8f7dedc243700c7236e3e5a44e46d85f3626d6933759dbda46f05108b0b57c2b",
"rawBytes": 1045917,
"gzipBytes": 290134,
"gzipBytes": 290127,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-CzcEZPwM.js",
"houseplan-assets/editor-CW0C21EP.js",
"houseplan-assets/fr-DxS1_IbF.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js",
"houseplan-assets/hp-zigbee-topology-overlay-YvkeiEDr.js",
"houseplan-assets/iso-scene-render-B9wq5amM.js",
"houseplan-assets/live-interaction-runtime-Rtmj1fX5.js",
"houseplan-assets/pdf-export-EtV7uneq.js"
"houseplan-assets/de-BCkHkiB5.js",
"houseplan-assets/editor-D8PGN0VZ.js",
"houseplan-assets/fr-DTetoHpc.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js",
"houseplan-assets/hp-zigbee-topology-overlay-DpLafSXG.js",
"houseplan-assets/iso-scene-render-347DoW0f.js",
"houseplan-assets/live-interaction-runtime-BKx6xnMX.js",
"houseplan-assets/pdf-export-DCr3EZQi.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-D254xRZs.js",
"sha256": "517c8b57ec3c9d0f320d0c68168d7685197becc815d4b911d064de7a588f5b20",
"path": "houseplan-assets/houseplan-editor-runtime-BvmYpobh.js",
"sha256": "35ed0163e57788ee86e9e541e2cf7db02b940af33798d86aadff28acade1652d",
"rawBytes": 633719,
"gzipBytes": 168667,
"gzipBytes": 168660,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-assets/zigbee-topology-INhNMylG.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js"
"houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-D7PO0TLo.js",
"sha256": "3aa46b7f935d9f42469710976dafbc1984787948cdb15beecaf8eb1c35153ef2",
"path": "houseplan-assets/houseplan-onboarding-runtime-YsKtBNzk.js",
"sha256": "5fedf430826ec097c618e3bc3569c78c51a151e853d55cf3cfa48d48d71fb81b",
"rawBytes": 28075,
"gzipBytes": 6971,
"gzipBytes": 6969,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BlPhwKHb.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/backdrop-pick-BfY64C-A.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-YvkeiEDr.js",
"sha256": "81e4f215798db972c9953986beaa53fdad089b59e600e97d74e4688ef773eee2",
"path": "houseplan-assets/hp-zigbee-topology-overlay-DpLafSXG.js",
"sha256": "948b81fc8cd1dbd686df531efdd3ec8ed4eca0cf7f4c2abdd550700ed52831c8",
"rawBytes": 11034,
"gzipBytes": 3733,
"gzipBytes": 3729,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js",
"houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-assets/zigbee-topology-INhNMylG.js",
"houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-B9wq5amM.js",
"sha256": "f1981368aeeb99b1985f56a0cd646b78b54ad92e7658895fba573b1eb601a202",
"path": "houseplan-assets/iso-scene-render-347DoW0f.js",
"sha256": "17b1e80e0927a19ab1272b4e398ae10ab60f7e133904edc8ff4909cfb25fea96",
"rawBytes": 38562,
"gzipBytes": 13090,
"gzipBytes": 13087,
"isEntry": false,
"imports": [
"houseplan-assets/guard-EzKzhzi9.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/guard-DMZQ9X4F.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-Rtmj1fX5.js",
"sha256": "87d201f3485cc841ace4fba11af3f350cf53f30fd32aa812b9809093b2367a19",
"path": "houseplan-assets/live-interaction-runtime-BKx6xnMX.js",
"sha256": "233a0fa667f5a53fdd65179a74be44d39d9607927f3c220d6f6ae9770dee23d1",
"rawBytes": 5196,
"gzipBytes": 2128,
"gzipBytes": 2127,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-EtV7uneq.js",
"sha256": "87b0e8b46761041147b530b51ddbb9419e7008ee402767540209860adca402ef",
"path": "houseplan-assets/pdf-export-DCr3EZQi.js",
"sha256": "ee45829a7a26ca7c3982181823f7bf80d939bdaf645f38ba5e07d844beeb9bec",
"rawBytes": 237163,
"gzipBytes": 110081,
"gzipBytes": 110080,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-DWEPm3Gk.js",
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/furniture-plan-art.generated-a9xIuGDF.js",
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-HB7INPq-.js",
"sha256": "c10ff358edda079b41d21f633f20b41859729469234eed59e5c1e8a90c730e69",
"path": "houseplan-assets/zigbee-topology-INhNMylG.js",
"sha256": "48b568a451b477f2bc6061951803ea54c510e8f4913d54d2f92783ee24b80692",
"rawBytes": 18961,
"gzipBytes": 7430,
"gzipBytes": 7424,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-CA1BaTzN.js",
"sha256": "95e0e21745bf0169f6756e07adf925de55321cab4edbc3b4053e550815f900c3",
"path": "houseplan-assets/zigbee-topology-runtime-C3PwFKI_.js",
"sha256": "54ebcbf2de61c75f57ae825b1f1a58f5a5e3c158b6aceb7e5965791311230826",
"rawBytes": 3941,
"gzipBytes": 1765,
"gzipBytes": 1763,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js",
"houseplan-assets/zigbee-topology-HB7INPq-.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js",
"houseplan-assets/zigbee-topology-INhNMylG.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "525ebe83d32ddb22874e87a1d408aba8863c5f4cfbd0912e2d32d553ebb7d42a",
"sha256": "92f7259a874eaf87c8e9ce73e6ad856267d674314c626d8181eeb7587db6b79c",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 802,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CVMCmk-D.js"
"houseplan-assets/houseplan-card-Duc9J2aR.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "c89784dd5ff39fc03ffdbdd38755318328731b54782ee2dd59df4314bbf0823a",
"sha256": "6de660ea8288d042ea175475c4ee71247d85b747c5e7e337f29732fcbbedfe1f",
"rawBytes": 6004,
"gzipBytes": 2276,
"gzipBytes": 2275,
"isEntry": true,
"imports": [
"houseplan-card.js"
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";import{t as e,l as o,x as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-CVMCmk-D.js";class f extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,f={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},h=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";import{t as e,l as o,x as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-Duc9J2aR.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
.computeLabel=${e=>f[e.name]||e.name}
.computeLabel=${e=>h[e.name]||e.name}
@value-changed=${this._valueChanged}
></ha-form>`;return c`
${d(h.slice(0,3))}
${d(f.slice(0,3))}
${_?c`<div class="default-floor-error" role="alert"
style="color:var(--error-color,#db4437);margin:-4px 0 12px;overflow-wrap:anywhere">
${t(s,"editor.default_floor_missing",{id:_})}
</div>`:a}
${d(h.slice(3))}
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}f.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",f);
${d(f.slice(3))}
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}h.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",h);
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";import{dS as r,dT as t,dU as e}from"./houseplan-card-Duc9J2aR.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
-1
View File
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";import{dS as r,dT as t,dU as s}from"./houseplan-card-CVMCmk-D.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";import{n as t,b as n}from"./zigbee-topology-HB7INPq-.js";import{F as e}from"./houseplan-card-CVMCmk-D.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";import{n as t,b as n}from"./zigbee-topology-INhNMylG.js";import{F as e}from"./houseplan-card-Duc9J2aR.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
+1 -1
View File
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="0a1691565cd1549d0d81f853c4bf82eabbbf69ebb623a898f75f6a43212f83cd";try{await import("./houseplan-assets/houseplan-card-CVMCmk-D.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8a4813c3e7440e71d81cb61ed581bfc8597a880bc223eabf7085d0acf7be0202";try{await import("./houseplan-assets/houseplan-card-Duc9J2aR.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -2,6 +2,8 @@
## Unreleased
## v1.73.0-beta.6 — 2026-09-08
- The House Plan sidebar page now shows the plan on the first open in a real
Home Assistant install: the panel adopts the properties Home Assistant assigns
before the element is defined and sizes itself from the viewport instead of
+2
View File
@@ -8,6 +8,8 @@
## Не выпущено
## v1.73.0-beta.6 — 2026-09-08
- Страница House Plan в боковом меню теперь показывает план с первого захода в
реальном Home Assistant: панель принимает свойства, которые HA присваивает до
определения элемента, и берёт высоту от viewport, а не от контейнера без
+15 -13
View File
@@ -1,22 +1,24 @@
<!-- release: v1.73.0-beta.5 -->
<!-- release: v1.73.0-beta.6 -->
## Основное
- House Plan теперь можно открыть как отдельную полноэкранную страницу из
бокового меню Home Assistant; карточка для дашборда остаётся доступной
([#486](https://github.com/Matysh/houseplan-card/issues/486)).
- PDF-экспорт теперь сохраняет полную цепь размеров вокруг прямоугольных
выступов фасада ([#484](https://github.com/Matysh/houseplan-card/issues/484)).
- Исправлен пустой экран при первом открытии House Plan из бокового меню в
реальном Home Assistant
([#488](https://github.com/Matysh/houseplan-card/issues/488)).
- Для каждой комнаты теперь можно отдельно задать нижнюю и верхнюю границы
комфортной температуры или унаследовать любую из них от пространства
([#487](https://github.com/Matysh/houseplan-card/issues/487)).
- Мелкие исправления и улучшения.
## Highlights
- House Plan can now open as a dedicated full-page entry in the Home Assistant
sidebar; the optional dashboard card remains available
([#486](https://github.com/Matysh/houseplan-card/issues/486)).
- PDF export now preserves the complete dimension chain around rectangular
facade steps ([#484](https://github.com/Matysh/houseplan-card/issues/484)).
- Fixed the blank screen when opening House Plan from the Home Assistant
sidebar for the first time
([#488](https://github.com/Matysh/houseplan-card/issues/488)).
- Each room can now set its own lower and upper comfort-temperature bounds, or
inherit either bound independently from the space
([#487](https://github.com/Matysh/houseplan-card/issues/487)).
- Small fixes and improvements.
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.73.0-beta.5/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.73.0-beta.5/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.73.0-beta.6/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.73.0-beta.6/docs/CHANGELOG.md)
+2 -2
View File
@@ -21,8 +21,8 @@ metadata). Only an explicit owner-approved emergency hotfix may skip this gate.
| Item | State |
|---|---|
| Version | **v1.73.0-beta.5** everywhere (manifest, const.py, package.json, CARD_VERSION) |
| Current local cycle | v1.73.0-beta.5 adds the primary `/houseplan` sidebar panel around the same full-card model, with fail-soft owned backend registration, a separate bounded panel entry, read-only empty-state safety and full-width Sections default for the optional dashboard card (#486). PDF export also preserves a complete reconstructable exterior-dimension chain around rectangular facade steps (#484). The card graph and saved plan/config/layout models remain unchanged. Publish from `dev` only after exact-SHA Validate is green; `main` remains at v1.72.0. |
| Version | **v1.73.0-beta.6** everywhere (manifest, const.py, package.json, CARD_VERSION) |
| Current local cycle | v1.73.0-beta.6 fixes the first mount of the dedicated `/houseplan` page in real Home Assistant (#488) and adds per-room lower/upper comfort-temperature overrides with independent inheritance from the space (#487). The card graph remains unchanged; only optional room fields extend the saved configuration. Publish from `dev` only after exact-SHA Validate is green; `main` remains at v1.72.0. |
| Hidden Alpha Stage | #89 Stage 1 ships in v1.63.0-beta.1, #122 Stage 2 in v1.64.0 and #160 Stage 3 in v1.73.0-beta.1. The same hidden `iso` view uses the fixed 4° camera, raised/tethered device-room-lock overlays, deeper openings and bounded theme materials; #471 removes the overlay plates from paint while retaining their safety geometry. Since #448 the experiment is enabled only through the single indefinite browser-local `hp_alpha` gate; it is not expiring and has no per-stage key. Flat remains default; editors, `houseplan-space-card`, floor effects, stored coordinates and HA actions remain unchanged. Stage 3 stays internal and is absent from public changelog/user documentation. |
| Workflow | Superseded 2026-08-12: the pre-1.62 rule of "local edits without tests or commits" is **dead** — since release 1.62 every product change follows `PROCESS.md` (issue in `S5-ready`+, branch `issue/<NN>-slug`, trailers on every commit, review pipeline; `AGENTS.md` is the summary). Release mechanics below remain current. A requested pre-release gets a production build plus the smallest targeted unit/smoke set covering the changed surfaces, one tested `dev` commit/tag and a GitHub Release with `prerelease=true`; `main` stays untouched. The complete local frontend/backend/smoke gate runs only before a stable release, after which `main` is fast-forwarded to the exact tested `dev` SHA and the GitHub Release uses `prerelease=false`. Release bodies are short and bilingual (Russian first); every bullet links its GitHub issue (#NN) so the #328 rules stay machine-checkable. A STABLE body aggregates the changelog since the PREVIOUS STABLE release (never since the last beta): features/fixes described across the line's beta changelogs must appear, while bugs that were introduced and fixed strictly inside the beta line (never shipped in any stable) are excluded — draft with `npm run release:notes -- <tag>`, curate by hand, then `npm run release:notes -- <tag> --verify` must pass. `Мелкие исправления и улучшения` / `Small fixes and improvements` is allowed only when the range really contains user-visible work not itemised in the body; a single-issue hotfix ships without it (the verifier enforces this). Every body ends with separate links to the Russian and English changelogs. Open or partially delivered issues are never presented as shipped. Telegram announcements are sent only for stable releases; beta and RC publication is silent. `docs/RELEASE-NOTES.md` is the current canonical body instance; `npm run release:prerelease -- <tag> --issues=… --yes` is the primary local publication path and the manual `Publish prerelease` workflow is its GitHub-only equivalent once present on `main`. Nothing is copied to the home instance by hand |
| GitHub | https://github.com/Matysh/houseplan-card — [Issues](https://github.com/Matysh/houseplan-card/issues) are the canonical task records; their labels carry priority and workflow status (`PROCESS.md` §9). GitHub Projects is no longer used. `main` carries stable releases; pre-release tags may point directly at `dev`. Work lands on `dev` and is merged into `main` for a stable release, so `dev` is normally equal to or ahead of `main`, never behind. Push via SSH key `ha_jb` (remote git@github.com:…); API releases via the fine-grained PAT in `~/.git-credentials` (Contents R/W, issued 2026-07-23) |
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "houseplan-card",
"version": "1.73.0-beta.5",
"version": "1.73.0-beta.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.73.0-beta.5",
"version": "1.73.0-beta.6",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.73.0-beta.5",
"version": "1.73.0-beta.6",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -405,7 +405,7 @@ import {
import { applyOpeningMoves, mergeCollinearPartitions, spaceMergeGeometry } from './wall-merge';
import type { MarkerRoomReferenceSnapshot } from './room-reference-transaction';
const CARD_VERSION = '1.73.0-beta.5';
const CARD_VERSION = '1.73.0-beta.6';
const ENTRY_BUILD_FINGERPRINT = '__HOUSEPLAN_SOURCE_FINGERPRINT__';
const EDITOR_RETRY_ASSET = '__HOUSEPLAN_EDITOR_RETRY_ASSET__';
const ISO_RETRY_ASSET = '__HOUSEPLAN_ISO_RETRY_ASSET__';
+1 -1
View File
@@ -379,7 +379,7 @@ import {
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
} from './room-reference-transaction';
const CARD_VERSION = '1.73.0-beta.5';
const CARD_VERSION = '1.73.0-beta.6';
// #474: the editor imports the furniture artwork statically and hands it to
// the page runtime the moment this chunk evaluates — before the loader's