fix: stabilize summary panel transitions (#437)

Issue: #437
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-09-08 20:23:20 +03:00
parent b371b68309
commit f87d3dc545
49 changed files with 423 additions and 419 deletions
+139 -139
View File
@@ -1,309 +1,309 @@
{
"schema": 1,
"fingerprint": "54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade",
"fingerprint": "b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-jJRlquiU.js",
"houseplan-assets/houseplan-card-vehLOemf.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 291481,
"initialViewGzipBytes": 291480,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-jJRlquiU.js",
"houseplan-assets/houseplan-card-vehLOemf.js",
"houseplan-card.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 293764,
"initialPanelGzipBytes": 293765,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2283,
"initialPanelOnlyGzipBytes": 2285,
"lazyFiles": [
"houseplan-assets/backdrop-pick-CdcFTZ2b.js",
"houseplan-assets/de-DatVnXhk.js",
"houseplan-assets/editor-MJ21Ekj0.js",
"houseplan-assets/fr-B19DnsFs.js",
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"houseplan-assets/guard-CLO3KJtv.js",
"houseplan-assets/houseplan-editor-runtime-ZMUXlqXz.js",
"houseplan-assets/houseplan-onboarding-runtime-DkQ2cjZm.js",
"houseplan-assets/hp-zigbee-topology-overlay-D7AQ52tS.js",
"houseplan-assets/iso-scene-render-rMbCUAtD.js",
"houseplan-assets/live-interaction-runtime-CN0nTK3E.js",
"houseplan-assets/pdf-export-lE-y91Ij.js",
"houseplan-assets/summary-panel-runtime-loaded-CdKKnTRi.js",
"houseplan-assets/zigbee-topology-DlCMcJoR.js",
"houseplan-assets/zigbee-topology-runtime-BAp-VYUQ.js"
"houseplan-assets/backdrop-pick-Rkww7LMa.js",
"houseplan-assets/de-B277_e_3.js",
"houseplan-assets/editor-CCWMgf_V.js",
"houseplan-assets/fr-DdQDYCcl.js",
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"houseplan-assets/guard-C-Q669dE.js",
"houseplan-assets/houseplan-editor-runtime-ClJaasns.js",
"houseplan-assets/houseplan-onboarding-runtime-DUKlJqdc.js",
"houseplan-assets/hp-zigbee-topology-overlay-CttmlNwx.js",
"houseplan-assets/iso-scene-render-CaVbce1q.js",
"houseplan-assets/live-interaction-runtime-DRckQYsN.js",
"houseplan-assets/pdf-export-BebleO7L.js",
"houseplan-assets/summary-panel-runtime-loaded-DBKL9MWN.js",
"houseplan-assets/zigbee-topology-613GNmA8.js",
"houseplan-assets/zigbee-topology-runtime-z9P9ufV_.js"
],
"lazyGzipBytes": 396913,
"lazyGzipBytes": 397025,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-CdcFTZ2b.js",
"houseplan-assets/editor-MJ21Ekj0.js",
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"houseplan-assets/guard-CLO3KJtv.js",
"houseplan-assets/houseplan-editor-runtime-ZMUXlqXz.js",
"houseplan-assets/zigbee-topology-DlCMcJoR.js"
"houseplan-assets/backdrop-pick-Rkww7LMa.js",
"houseplan-assets/editor-CCWMgf_V.js",
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"houseplan-assets/guard-C-Q669dE.js",
"houseplan-assets/houseplan-editor-runtime-ClJaasns.js",
"houseplan-assets/zigbee-topology-613GNmA8.js"
],
"lazyEditorGzipBytes": 195394,
"lazyEditorGzipBytes": 195407,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-CdcFTZ2b.js",
"houseplan-assets/houseplan-onboarding-runtime-DkQ2cjZm.js"
"houseplan-assets/backdrop-pick-Rkww7LMa.js",
"houseplan-assets/houseplan-onboarding-runtime-DUKlJqdc.js"
],
"lazyOnboardingGzipBytes": 14074,
"lazyOnboardingGzipBytes": 14075,
"lazyLocaleFiles": [
"houseplan-assets/de-DatVnXhk.js",
"houseplan-assets/fr-B19DnsFs.js"
"houseplan-assets/de-B277_e_3.js",
"houseplan-assets/fr-DdQDYCcl.js"
],
"lazyLocaleGzipBytes": 50552,
"lazyLocaleGzipBytes": 50562,
"lazyIsometricFiles": [
"houseplan-assets/guard-CLO3KJtv.js",
"houseplan-assets/iso-scene-render-rMbCUAtD.js"
"houseplan-assets/guard-C-Q669dE.js",
"houseplan-assets/iso-scene-render-CaVbce1q.js"
],
"lazyIsometricGzipBytes": 13454,
"lazyIsometricGzipBytes": 13452,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js"
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js"
],
"lazyFurnitureArtGzipBytes": 10256,
"lazyFurnitureArtGzipBytes": 10254,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"houseplan-assets/pdf-export-lE-y91Ij.js"
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"houseplan-assets/pdf-export-BebleO7L.js"
],
"lazyPdfGzipBytes": 120336,
"lazyPdfGzipBytes": 120334,
"files": [
{
"path": "houseplan-assets/backdrop-pick-CdcFTZ2b.js",
"sha256": "9f193420877adce6929967476567fd15f66227e4e3bd6452c01d39a4bb2e1777",
"path": "houseplan-assets/backdrop-pick-Rkww7LMa.js",
"sha256": "7c60845fa2b07c93126cf79cddfd5769d3e778ebf462179acc751dfea1414d89",
"rawBytes": 21012,
"gzipBytes": 7107,
"gzipBytes": 7108,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-DatVnXhk.js",
"sha256": "e056cd5f7429c5ee62ae1e2ced318d951694d990158a178bc07f331d5e8d1f7c",
"path": "houseplan-assets/de-B277_e_3.js",
"sha256": "71d1c32b9f50d037907fae1b26832d0dc69a6717d794eebae8120d980de3cde3",
"rawBytes": 84771,
"gzipBytes": 25530,
"gzipBytes": 25535,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-MJ21Ekj0.js",
"sha256": "a4d7008e831ef9f9aa57e0372825a857403778f7595f4df72b32c886f0ca53d3",
"path": "houseplan-assets/editor-CCWMgf_V.js",
"sha256": "52d620892f4f31151287eb5629e7b6fcbd89701fd0fec78a75f66a442a6a201c",
"rawBytes": 3837,
"gzipBytes": 1583,
"gzipBytes": 1582,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-B19DnsFs.js",
"sha256": "f8a9283762795b6f5528c3f4d5dbb047a42c13b9235c7283fd4a1cd2464da548",
"path": "houseplan-assets/fr-DdQDYCcl.js",
"sha256": "4dae51f46f7ec439745b57fe00eec4f66e0456e746064394b985128d731d1f25",
"rawBytes": 86828,
"gzipBytes": 25022,
"gzipBytes": 25027,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"sha256": "41fb1c4ed97ffdfa77224b93e9b5f5c8896597a932569ed3ac9abe38729b96cf",
"path": "houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"sha256": "586307f8362dee6ecc6348554555618a2f294aeb6ac75ea8f6d00964d7b38de3",
"rawBytes": 33655,
"gzipBytes": 10256,
"gzipBytes": 10254,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/guard-CLO3KJtv.js",
"sha256": "b2715430c93c3306bc5044beb03ea71d6e0137a831b3624556cff773c4a054a0",
"path": "houseplan-assets/guard-C-Q669dE.js",
"sha256": "10f716eb1912b59f3d6b0319c95525af93c8e3c1bfa3c4fb0cd00845b8424f3f",
"rawBytes": 518,
"gzipBytes": 369,
"gzipBytes": 366,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-jJRlquiU.js",
"sha256": "ff9b473c3eb23889cdd3f54c7aa94c39307d1ec3ce57e2ecdc718a83cce1acfd",
"rawBytes": 1047613,
"gzipBytes": 290681,
"path": "houseplan-assets/houseplan-card-vehLOemf.js",
"sha256": "7f20fd22057a763281929df2f3e1e23f2c146318cbc19cb82d8915506501e448",
"rawBytes": 1047485,
"gzipBytes": 290680,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-DatVnXhk.js",
"houseplan-assets/editor-MJ21Ekj0.js",
"houseplan-assets/fr-B19DnsFs.js",
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"houseplan-assets/houseplan-editor-runtime-ZMUXlqXz.js",
"houseplan-assets/houseplan-onboarding-runtime-DkQ2cjZm.js",
"houseplan-assets/hp-zigbee-topology-overlay-D7AQ52tS.js",
"houseplan-assets/iso-scene-render-rMbCUAtD.js",
"houseplan-assets/live-interaction-runtime-CN0nTK3E.js",
"houseplan-assets/pdf-export-lE-y91Ij.js",
"houseplan-assets/summary-panel-runtime-loaded-CdKKnTRi.js"
"houseplan-assets/de-B277_e_3.js",
"houseplan-assets/editor-CCWMgf_V.js",
"houseplan-assets/fr-DdQDYCcl.js",
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"houseplan-assets/houseplan-editor-runtime-ClJaasns.js",
"houseplan-assets/houseplan-onboarding-runtime-DUKlJqdc.js",
"houseplan-assets/hp-zigbee-topology-overlay-CttmlNwx.js",
"houseplan-assets/iso-scene-render-CaVbce1q.js",
"houseplan-assets/live-interaction-runtime-DRckQYsN.js",
"houseplan-assets/pdf-export-BebleO7L.js",
"houseplan-assets/summary-panel-runtime-loaded-DBKL9MWN.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-ZMUXlqXz.js",
"sha256": "f53e5cfdfe5434f6fa1efb955f5821df2b2cde1dce16a809cae979a7c693ff60",
"rawBytes": 633719,
"gzipBytes": 168657,
"path": "houseplan-assets/houseplan-editor-runtime-ClJaasns.js",
"sha256": "b06ac8fe6ddbf71de0981826f8e238a7ea3d39dcb75c375568a994ee319b20f1",
"rawBytes": 633744,
"gzipBytes": 168671,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CdcFTZ2b.js",
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"houseplan-assets/guard-CLO3KJtv.js",
"houseplan-assets/houseplan-card-jJRlquiU.js",
"houseplan-assets/zigbee-topology-DlCMcJoR.js"
"houseplan-assets/backdrop-pick-Rkww7LMa.js",
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"houseplan-assets/guard-C-Q669dE.js",
"houseplan-assets/houseplan-card-vehLOemf.js",
"houseplan-assets/zigbee-topology-613GNmA8.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-BAp-VYUQ.js"
"houseplan-assets/zigbee-topology-runtime-z9P9ufV_.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-DkQ2cjZm.js",
"sha256": "a781944001984e253e331d4833e28ec70a8bd4a80e458936117bd5e3060714f0",
"path": "houseplan-assets/houseplan-onboarding-runtime-DUKlJqdc.js",
"sha256": "906d2989fcfdc4d2830bedbf488fbcfd3da59be52df1734ccf2fc452c006b822",
"rawBytes": 28075,
"gzipBytes": 6967,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CdcFTZ2b.js",
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/backdrop-pick-Rkww7LMa.js",
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-D7AQ52tS.js",
"sha256": "b833ca45c3ab3eef44a90f1445ed80c136f93b39c01eef45cef161852186b2b2",
"path": "houseplan-assets/hp-zigbee-topology-overlay-CttmlNwx.js",
"sha256": "75432479b67f73bd4a3db441ced2864b2407ff1ae3f532f3e5fbf66962b2f2e2",
"rawBytes": 11034,
"gzipBytes": 3730,
"gzipBytes": 3728,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js",
"houseplan-assets/zigbee-topology-DlCMcJoR.js",
"houseplan-assets/zigbee-topology-runtime-BAp-VYUQ.js"
"houseplan-assets/houseplan-card-vehLOemf.js",
"houseplan-assets/zigbee-topology-613GNmA8.js",
"houseplan-assets/zigbee-topology-runtime-z9P9ufV_.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-rMbCUAtD.js",
"sha256": "3ffbe5a7170fe1a95f269c352bcc0d9169800378275881d6d7d2a6c79c7a5309",
"path": "houseplan-assets/iso-scene-render-CaVbce1q.js",
"sha256": "d1135e5202aaa3a003bbb4f1cd4ca4458fdb10a05ed05ce41f62e6f99276e94f",
"rawBytes": 38562,
"gzipBytes": 13085,
"gzipBytes": 13086,
"isEntry": false,
"imports": [
"houseplan-assets/guard-CLO3KJtv.js",
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/guard-C-Q669dE.js",
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-CN0nTK3E.js",
"sha256": "880fe2899ef5f2d0b043f37aaae6894fb916dfb52a9d77f756d11958f375a125",
"path": "houseplan-assets/live-interaction-runtime-DRckQYsN.js",
"sha256": "3b317f48c09609ffda1b7de92803629d1c7636fef36c4d8d9029b5ad27fead64",
"rawBytes": 5196,
"gzipBytes": 2125,
"gzipBytes": 2124,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-lE-y91Ij.js",
"sha256": "29f1edddf71b6c25016e6d135d02fd4cba300baa6ccb96096c13834941b4f2a2",
"path": "houseplan-assets/pdf-export-BebleO7L.js",
"sha256": "323a419c7ebebd87f222d98ebf7bb51ad45a5ca6e20bad1f890b88501884479f",
"rawBytes": 237163,
"gzipBytes": 110080,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-2dFG7h01.js",
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/furniture-plan-art.generated-CF07oeqG.js",
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-eiGjAHG0.js",
"sha256": "b33a90c237a4c79f42b60d067cb244c4012eac6d2f52ad60994e625232d3d9d9",
"path": "houseplan-assets/summary-panel-editor-zMb5zlgo.js",
"sha256": "2c8ff63f317896bfae043299a044ad730a46fb16dbe8dde75fc3fd8725d961bd",
"rawBytes": 10904,
"gzipBytes": 2834,
"gzipBytes": 2837,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js",
"houseplan-assets/summary-panel-runtime-loaded-CdKKnTRi.js"
"houseplan-assets/houseplan-card-vehLOemf.js",
"houseplan-assets/summary-panel-runtime-loaded-DBKL9MWN.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-w6RI0eXy.js",
"sha256": "93373341a0497fc2292ba3c232a09472265099e78ef9bc1b517125f9d1e7ffd9",
"path": "houseplan-assets/summary-panel-metrics-DPcZGmKo.js",
"sha256": "86b57745c8ebd5972ac3d663c4f7f223737879bcfd16be0af7d1e6b687b0ca20",
"rawBytes": 2195,
"gzipBytes": 1120,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-CdKKnTRi.js",
"sha256": "ce37fbbf7f21f3b3b8c280c390634985a20b2480aba181d131a077abc91d5fa9",
"rawBytes": 43236,
"gzipBytes": 13220,
"path": "houseplan-assets/summary-panel-runtime-loaded-DBKL9MWN.js",
"sha256": "538f237c3af173880fa85bab04fd687f5c9cd23c226649c6de6975aed3d8bd75",
"rawBytes": 43533,
"gzipBytes": 13311,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-eiGjAHG0.js",
"houseplan-assets/summary-panel-metrics-w6RI0eXy.js"
"houseplan-assets/summary-panel-editor-zMb5zlgo.js",
"houseplan-assets/summary-panel-metrics-DPcZGmKo.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-DlCMcJoR.js",
"sha256": "7e9f515c2b644da78d194ad43ee179bc805aea3f7ceec1692c0bb72be599b40a",
"path": "houseplan-assets/zigbee-topology-613GNmA8.js",
"sha256": "324d5e8fb422c8c8ea0367ddc9319a0fa2edbd0ac3f636d03313bd4dcc3abac1",
"rawBytes": 18961,
"gzipBytes": 7422,
"gzipBytes": 7426,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-BAp-VYUQ.js",
"sha256": "da45c02e29a4666e3618731b89d41489079d2b8a1c33e4ff1b3da010e2a8650f",
"path": "houseplan-assets/zigbee-topology-runtime-z9P9ufV_.js",
"sha256": "f3cec6eb522f6ecdf32ffda446db46cb828c40b53de606e17d62693da109f0b2",
"rawBytes": 3941,
"gzipBytes": 1760,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js",
"houseplan-assets/zigbee-topology-DlCMcJoR.js"
"houseplan-assets/houseplan-card-vehLOemf.js",
"houseplan-assets/zigbee-topology-613GNmA8.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "7bf6849848917f0e46f2f6a957b38fd0172ff8921e6e66940671516a1ce30fea",
"sha256": "c03169ee553a83ee2060e3edb0642fb380a5f79bb7ebb2ca7f7cdff714cafa73",
"rawBytes": 1205,
"gzipBytes": 800,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-jJRlquiU.js"
"houseplan-assets/houseplan-card-vehLOemf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "2bdc1519b292501730737f7d321a4ef477e4b9ec26b6f093978b249967d3865f",
"sha256": "acd8d42aed5448ceca8ac1a3d9a68a0d027064dcf9ae31ff1ff54b84022f27a1",
"rawBytes": 6071,
"gzipBytes": 2283,
"gzipBytes": 2285,
"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,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade";import{t as e,l as o,x as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,dU as r,b as c}from"./houseplan-card-jJRlquiU.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
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6";import{t as e,l as o,x as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,dU as r,b as c}from"./houseplan-card-vehLOemf.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}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6";import{dS as r,dT as e,dU as t}from"./houseplan-card-vehLOemf.js";const s={},a=r(class extends e{constructor(){super(...arguments),this.ot=s}render(r,e){return e()}update(r,[e,s]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every((r,e)=>r===this.ot[e]))return t}else if(this.ot===e)return t;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,s)}});export{a as i};
-1
View File
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade";import{dS as r,dT as e,dU as t}from"./houseplan-card-jJRlquiU.js";const a={},s=r(class extends e{constructor(){super(...arguments),this.ot=a}render(r,e){return e()}update(r,[e,a]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every((r,e)=>r===this.ot[e]))return t}else if(this.ot===e)return t;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,a)}});export{s 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
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade";import{b as e,A as t}from"./houseplan-card-jJRlquiU.js";import{s as a,n as s,m as l,a as o,b as i}from"./summary-panel-runtime-loaded-CdKKnTRi.js";const r=r=>{const{host:c,dialog:u,local:n,problems:m,t:d}=r,p=m.find(e=>"error"===e.kind),$=u.localShow!==u.baseLocalShow||!u.localOnly&&!a(s(u.draft),u.base),b=$&&!u.busy&&!p,y=e=>m.find(t=>t.path===e),v=e=>e?d(`summary.problem.${e.code}`):"",h=Object.entries(c.hass?.states||{}).sort((e,t)=>{const a=String(e[1]?.attributes?.friendly_name||e[0]),s=String(t[1]?.attributes?.friendly_name||t[0]);return a.localeCompare(s)}),g=u.entityFilter.trim().toLocaleLowerCase(),_=g?h.filter(([e,t])=>`${e} ${t.attributes?.friendly_name||""}`.toLocaleLowerCase().includes(g)):h,k=()=>r.close(),f=e`<label class="summary-switch"><input type="checkbox"
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6";import{b as e,A as t}from"./houseplan-card-vehLOemf.js";import{s as a,n as s,m as l,a as o,b as i}from"./summary-panel-runtime-loaded-DBKL9MWN.js";const r=r=>{const{host:c,dialog:u,local:n,problems:m,t:d}=r,p=m.find(e=>"error"===e.kind),$=u.localShow!==u.baseLocalShow||!u.localOnly&&!a(s(u.draft),u.base),b=$&&!u.busy&&!p,y=e=>m.find(t=>t.path===e),v=e=>e?d(`summary.problem.${e.code}`):"",h=Object.entries(c.hass?.states||{}).sort((e,t)=>{const a=String(e[1]?.attributes?.friendly_name||e[0]),s=String(t[1]?.attributes?.friendly_name||t[0]);return a.localeCompare(s)}),g=u.entityFilter.trim().toLocaleLowerCase(),_=g?h.filter(([e,t])=>`${e} ${t.attributes?.friendly_name||""}`.toLocaleLowerCase().includes(g)):h,k=()=>r.close(),f=e`<label class="summary-switch"><input type="checkbox"
.checked=${u.localShow}
@change=${e=>r.setDialog({...u,localShow:e.target.checked})} />
<span>${d("summary.show_local")}</span></label>`,w=e`<h3 class="summary-sizes-title">${d("summary.sizes_title")}</h3>
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade";import{az as e,e9 as t,ea as n,br as i,eb as r,P as a,a5 as s,M as o,aq as c,N as l,bp as d,bo as u,ec as f}from"./houseplan-card-jJRlquiU.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,l="device"===a?s:c?.device_id,d="device"===a?o?.area_id:c?.area_id||l&&t.registry.devices?.[l]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||d||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;l&&t.registry.devices?.[l]&&t.spaceIds.has(f)&&(!i.devices.has(l)||"entity"===a&&i.liveEntities.has(s))&&n.add(l)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,l)||t;g=m(g,d(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6";import{az as e,e9 as t,ea as n,br as i,eb as r,P as a,a5 as s,M as o,aq as c,N as l,bp as d,bo as u,ec as f}from"./houseplan-card-vehLOemf.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,l="device"===a?s:c?.device_id,d="device"===a?o?.area_id:c?.area_id||l&&t.registry.devices?.[l]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||d||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;l&&t.registry.devices?.[l]&&t.spaceIds.has(f)&&(!i.devices.has(l)||"entity"===a&&i.liveEntities.has(s))&&n.add(l)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,l)||t;g=m(g,d(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade";import{n as t,b as n}from"./zigbee-topology-DlCMcJoR.js";import{F as e}from"./houseplan-card-jJRlquiU.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 g(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 m(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,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=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&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(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 g(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,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6";import{n as t,b as n}from"./zigbee-topology-613GNmA8.js";import{F as e}from"./houseplan-card-vehLOemf.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 g(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 m(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,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=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&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(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 g(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,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
+1 -1
View File
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="54e279c3b1e84552acd4dea85cabb7a2f98aaebf42f6183f8c90e6a58dfa0ade";try{await import("./houseplan-assets/houseplan-card-jJRlquiU.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__="b3dfbc6044360937e25a58a0e8c1a811bbad4b7d856ecaed44e4d6863af362e6";try{await import("./houseplan-assets/houseplan-card-vehLOemf.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