Prepare v1.76.0-beta.4
Проверка (CI) / Классификация изменённых файлов (push) Successful in 25s
Проверка (CI) / Предполёт: документация, провенанс, процесс (push) Failing after 44s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 22s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 20s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 39s
Проверка (CI) / Мутанты по диффу (3/6): затронутые свидетели краснеют (push) Failing after 2m3s
Проверка (CI) / Мутанты по диффу (2/6): затронутые свидетели краснеют (push) Failing after 2m7s
Проверка (CI) / Мутанты по диффу (4/6): затронутые свидетели краснеют (push) Failing after 3m31s
Проверка (CI) / Мутанты по диффу (5/6): затронутые свидетели краснеют (push) Failing after 1m39s
Проверка (CI) / Мутанты по диффу (6/6): затронутые свидетели краснеют (push) Failing after 1m37s
Проверка (CI) / Геометрия: TS/Python parity исполнена (push) Successful in 2m32s
Проверка (CI) / Мутанты по диффу (1/6): затронутые свидетели краснеют (push) Failing after 10m11s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 7m10s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 9m6s
Проверка (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) / Доказательство выполненных проверок (push) Failing after 15s

Package the reviewed sunlight-origin option and Home Assistant touch-pinch fixes with synchronized release metadata.

Release: v1.76.0-beta.4
Issue: #577
Issue: #578
Issue: #579
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-09-15 01:58:45 +03:00
parent 3e191a1c80
commit d37b2c9f8a
52 changed files with 412 additions and 404 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.76.0-beta.3"
VERSION = "1.76.0-beta.4"
DECOR_ASSETS_API_VERSION = 1
SUMMARY_PANEL_API_VERSION = 1
@@ -1,295 +1,295 @@
{
"schema": 1,
"fingerprint": "09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52",
"fingerprint": "d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290602,
"initialViewGzipBytes": 290613,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 292124,
"initialPanelGzipBytes": 292135,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2319,
"initialPanelOnlyGzipBytes": 2322,
"lazyFiles": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/de-Cv59WbbX.js",
"houseplan-assets/editor-B_aKOjOd.js",
"houseplan-assets/fr-f5HU1FOM.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js",
"houseplan-assets/hp-zigbee-topology-overlay-DIpDzN0W.js",
"houseplan-assets/iso-scene-render-CPgYpwNC.js",
"houseplan-assets/live-interaction-runtime-BkFxBVMA.js",
"houseplan-assets/pdf-export-Co2Yz8xx.js",
"houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js",
"houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/de-DilAyJOA.js",
"houseplan-assets/editor-BKThEc1z.js",
"houseplan-assets/fr-aA2fQC-7.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js",
"houseplan-assets/hp-zigbee-topology-overlay-BUQ-2Zgc.js",
"houseplan-assets/iso-scene-render-Bx2wr2yQ.js",
"houseplan-assets/live-interaction-runtime-CTDweCEy.js",
"houseplan-assets/pdf-export-B8jlSDXf.js",
"houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js",
"houseplan-assets/zigbee-topology-runtime-D9gdItpV.js"
],
"lazyGzipBytes": 418658,
"lazyGzipBytes": 418704,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/editor-B_aKOjOd.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/editor-BKThEc1z.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js"
],
"lazyEditorGzipBytes": 204916,
"lazyEditorGzipBytes": 204921,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js"
],
"lazyOnboardingGzipBytes": 13906,
"lazyOnboardingGzipBytes": 13913,
"lazyLocaleFiles": [
"houseplan-assets/de-Cv59WbbX.js",
"houseplan-assets/fr-f5HU1FOM.js"
"houseplan-assets/de-DilAyJOA.js",
"houseplan-assets/fr-aA2fQC-7.js"
],
"lazyLocaleGzipBytes": 54895,
"lazyLocaleGzipBytes": 54913,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-CPgYpwNC.js"
"houseplan-assets/iso-scene-render-Bx2wr2yQ.js"
],
"lazyIsometricGzipBytes": 13228,
"lazyIsometricGzipBytes": 13233,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js"
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js"
],
"lazyFurnitureArtGzipBytes": 10259,
"lazyFurnitureArtGzipBytes": 10256,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/pdf-export-Co2Yz8xx.js"
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/pdf-export-B8jlSDXf.js"
],
"lazyPdfGzipBytes": 120131,
"lazyPdfGzipBytes": 120129,
"files": [
{
"path": "houseplan-assets/backdrop-pick-gPEGe1qK.js",
"sha256": "a4d457e11f5d70d298387f688dd86b504612eaa90a226399f75deeedf825bc16",
"path": "houseplan-assets/backdrop-pick-CShYymbr.js",
"sha256": "36b0eacd107ca43cf9684771ef21b47be6b672f124c59623386f8acc9648995c",
"rawBytes": 19956,
"gzipBytes": 6877,
"gzipBytes": 6880,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-Cv59WbbX.js",
"sha256": "b4c92851382aa0cf0ed1aef196716e4b251dbc48bdc82abd06ca6e25517c956b",
"path": "houseplan-assets/de-DilAyJOA.js",
"sha256": "4ab8b3e2cf994cb467017b218fcbf094818c5cbe604415da74cb50c79cafe2d8",
"rawBytes": 91590,
"gzipBytes": 27731,
"gzipBytes": 27740,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-B_aKOjOd.js",
"sha256": "a6df62742036a11689c9278e29cc831b10829495d941b3436ac05a844ebc659b",
"path": "houseplan-assets/editor-BKThEc1z.js",
"sha256": "4dea7ff701ee3ee01556bd5a5e2ff9be712042da337ff0f2e4c079193ab76d32",
"rawBytes": 3831,
"gzipBytes": 1577,
"gzipBytes": 1581,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-f5HU1FOM.js",
"sha256": "d76dce08b7a46c90505228015672b760604f5f53ff61fffafe1893a0597e46a3",
"path": "houseplan-assets/fr-aA2fQC-7.js",
"sha256": "75cd955c87f641efad47672a10e2396628a8504ab6edf65ea20da286d4b02fc6",
"rawBytes": 93884,
"gzipBytes": 27164,
"gzipBytes": 27173,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"sha256": "29dd1098f6467fdf59c913cf98b60ef615b18607e31048614b7caa45d631b195",
"path": "houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"sha256": "27760c8856098ab3d72b51d5b0abd9fe44332b7612139ac8e33efc7b2eb6ef2b",
"rawBytes": 33655,
"gzipBytes": 10259,
"gzipBytes": 10256,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-Dc1nDalz.js",
"sha256": "efd4fe1185c5df6d6a473ae877bcfde512f47a1c364c2f7ce8bb907bb30fbbff",
"path": "houseplan-assets/houseplan-card-rUhUkuoa.js",
"sha256": "9be00a8452fa8db76632a67aa87b0abcba362d4b4dcd8fcb4ef8fe988368173a",
"rawBytes": 1032408,
"gzipBytes": 289805,
"gzipBytes": 289813,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-Cv59WbbX.js",
"houseplan-assets/editor-B_aKOjOd.js",
"houseplan-assets/fr-f5HU1FOM.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js",
"houseplan-assets/hp-zigbee-topology-overlay-DIpDzN0W.js",
"houseplan-assets/iso-scene-render-CPgYpwNC.js",
"houseplan-assets/live-interaction-runtime-BkFxBVMA.js",
"houseplan-assets/pdf-export-Co2Yz8xx.js",
"houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js"
"houseplan-assets/de-DilAyJOA.js",
"houseplan-assets/editor-BKThEc1z.js",
"houseplan-assets/fr-aA2fQC-7.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js",
"houseplan-assets/hp-zigbee-topology-overlay-BUQ-2Zgc.js",
"houseplan-assets/iso-scene-render-Bx2wr2yQ.js",
"houseplan-assets/live-interaction-runtime-CTDweCEy.js",
"houseplan-assets/pdf-export-B8jlSDXf.js",
"houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"sha256": "38a3ba534ded790e8c2d85ef1e62db6622e9b2938372fe51978ef509cf1a6782",
"path": "houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"sha256": "090a983bc68481fdb803f3dd04ea0175e6efb80403fe7c275ddb4e4b56f9ef8b",
"rawBytes": 669985,
"gzipBytes": 178781,
"gzipBytes": 178782,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js"
"houseplan-assets/zigbee-topology-runtime-D9gdItpV.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js",
"sha256": "719ede0971fd464b77fb36ff0f6de9bcaa046eaa83d1b8e7153b6331aeedd370",
"path": "houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js",
"sha256": "2b6623240246ad33747c14a31aa6c0d936edeb61c199d75a0c4b8fed0d2d4927",
"rawBytes": 28287,
"gzipBytes": 7029,
"gzipBytes": 7033,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-DIpDzN0W.js",
"sha256": "8f03467b478ee35d47244ab06fd53ce73e447bfd0ba456cd7795d097842f4c42",
"path": "houseplan-assets/hp-zigbee-topology-overlay-BUQ-2Zgc.js",
"sha256": "758eac603f6aca0cc39bafb4738576e28f6fc711343d051c1c76c5407bfee1ab",
"rawBytes": 10756,
"gzipBytes": 3678,
"gzipBytes": 3680,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js",
"houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js",
"houseplan-assets/zigbee-topology-runtime-D9gdItpV.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-CPgYpwNC.js",
"sha256": "810b9e8d456ef1e1c2ffafd9a368f76e116b000cb14a9e6e60763eed229a3527",
"path": "houseplan-assets/iso-scene-render-Bx2wr2yQ.js",
"sha256": "5c4fb9f9703cb6510733c4224363274a2f7bbe4c8c100e3c9780b197930c6d06",
"rawBytes": 39206,
"gzipBytes": 13228,
"gzipBytes": 13233,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-BkFxBVMA.js",
"sha256": "69ced43aa2bad1e33b826eb191f289ed47cded26c831d6c76562932c3eca1a6b",
"path": "houseplan-assets/live-interaction-runtime-CTDweCEy.js",
"sha256": "55f2d7989217e7c9a9de53afad4e075c52db291800d66974a6223480c3966e18",
"rawBytes": 8216,
"gzipBytes": 3200,
"gzipBytes": 3206,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-Co2Yz8xx.js",
"sha256": "4f5c8436f01c130098c3f6a3c1fe0ba93038112663017a4a044089b9a36886fa",
"path": "houseplan-assets/pdf-export-B8jlSDXf.js",
"sha256": "e455c426b3c1b27381444e18418fdc246a209ca58abaff2a545fe61111c405fb",
"rawBytes": 236244,
"gzipBytes": 109872,
"gzipBytes": 109873,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-3aux2NA6.js",
"sha256": "12bd2cb117766bbbf730d226145eb8de61caf290113c556bd3525bfa67a0831d",
"path": "houseplan-assets/summary-panel-editor-BHlSeMmH.js",
"sha256": "e608e137471480372a8965ce045dac1515f8e14f85d6b0989c8b652c812481d8",
"rawBytes": 14824,
"gzipBytes": 3395,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-CV2vlKGq.js",
"sha256": "1e0d0c6d9c8c1c0fec670ccd308cbb30e66b2cb4c736e78b6f09d4a85fe7827e",
"path": "houseplan-assets/summary-panel-metrics-ucqqLsV4.js",
"sha256": "ef257cef867f96e79d80e3b08a75cb696df825dee3334a3088873e529f64835c",
"rawBytes": 2610,
"gzipBytes": 1298,
"gzipBytes": 1302,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js",
"sha256": "941dbe16bad854f7b6e3f1edd9a13b50b0f0aa7c845bae5d8f3414bf6c44cc34",
"path": "houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js",
"sha256": "f7c085861975d6db6ac7357792c26af543422cb82c9ebfc8e16cc7ab9c923c01",
"rawBytes": 73366,
"gzipBytes": 20084,
"gzipBytes": 20086,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-3aux2NA6.js",
"houseplan-assets/summary-panel-metrics-CV2vlKGq.js"
"houseplan-assets/summary-panel-editor-BHlSeMmH.js",
"houseplan-assets/summary-panel-metrics-ucqqLsV4.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-CShPwd1w.js",
"sha256": "e46b3d6dc3dc0a53ab37cb860f0747fe138d6a2e837f52d63156b3f224800a25",
"path": "houseplan-assets/zigbee-topology-B5ni-F0n.js",
"sha256": "e084dbfd71d4927273a28812fdfeea953b8c43393b2b39b0a5452eb9d4343f04",
"rawBytes": 18961,
"gzipBytes": 7422,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js",
"sha256": "0764f96e95513374b2ba990746e448b48bd3a6c1c188af749c7a90bffb444382",
"path": "houseplan-assets/zigbee-topology-runtime-D9gdItpV.js",
"sha256": "3c7326f95db76e9a9a42f3e895ecd7bfad68ece511082aefe173bc6a3fb39dfd",
"rawBytes": 3941,
"gzipBytes": 1756,
"gzipBytes": 1759,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "443fc598ffba775459fb2672975c5fd5aeb2c9231ed8e2c0701db0204dbd4d0b",
"sha256": "cd12e73e4011cecdfcfe45eb28f91a4f881d0818375014ea5bb906f9f8a341b7",
"rawBytes": 1205,
"gzipBytes": 797,
"gzipBytes": 800,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "69eacad0a1c5d32f08f5b171c76b770da2e1534dd39310946521710b27af9ee6",
"sha256": "063c62d2fc216d3d840f729b098757d046bb0ca15529e317d2b4761f1ddfb21b",
"rawBytes": 6165,
"gzipBytes": 2319,
"gzipBytes": 2322,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
}
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{q as e,l as o,v as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,E as r,c}from"./houseplan-card-Dc1nDalz.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__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{q as e,l as o,v as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,E as r,c}from"./houseplan-card-rUhUkuoa.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,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{c as a,A as e}from"./houseplan-card-Dc1nDalz.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-CVKoQCwS.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{c as a,A as e}from"./houseplan-card-rUhUkuoa.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-kqYO-Aia.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
<input id="summary-local-show" data-summary-local-show type="checkbox"
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{ea as e,P as t,a5 as n,M as i,aq as r,N as o,bs as a,br as s,a4 as l,a3 as c,aA as u,eb as d,ec as f,bu as m,ed as g}from"./houseplan-card-Dc1nDalz.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),a=i.binding.slice(r+1),s="device"===o?e.registry.devices?.[a]:null,l="entity"===o?e.registry.entities?.[a]:null,c="device"===o?a:l?.device_id,u="device"===o?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===o&&n.liveEntities.has(a))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/r;d+=s(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){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:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{ea as e,P as t,a5 as n,M as i,aq as r,N as o,bs as s,br as a,a4 as c,a3 as l,aA as d,eb as u,ec as f,bu as m,ed as g}from"./houseplan-card-rUhUkuoa.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),s=i.binding.slice(r+1),a="device"===o?e.registry.devices?.[s]:null,c="entity"===o?e.registry.entities?.[s]:null,l="device"===o?s:c?.device_id,d="device"===o?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===o&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(c,l,d=_){try{let u=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/r;u+=a(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){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:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{n as t,b as n}from"./zigbee-topology-CShPwd1w.js";import{F as e}from"./houseplan-card-Dc1nDalz.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__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{n as t,b as n}from"./zigbee-topology-B5ni-F0n.js";import{F as e}from"./houseplan-card-rUhUkuoa.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__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";try{await import("./houseplan-assets/houseplan-card-Dc1nDalz.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__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";try{await import("./houseplan-assets/houseplan-card-rUhUkuoa.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.76.0-beta.3"
"version": "1.76.0-beta.4"
}
+131 -131
View File
@@ -1,295 +1,295 @@
{
"schema": 1,
"fingerprint": "09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52",
"fingerprint": "d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290602,
"initialViewGzipBytes": 290613,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 292124,
"initialPanelGzipBytes": 292135,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2319,
"initialPanelOnlyGzipBytes": 2322,
"lazyFiles": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/de-Cv59WbbX.js",
"houseplan-assets/editor-B_aKOjOd.js",
"houseplan-assets/fr-f5HU1FOM.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js",
"houseplan-assets/hp-zigbee-topology-overlay-DIpDzN0W.js",
"houseplan-assets/iso-scene-render-CPgYpwNC.js",
"houseplan-assets/live-interaction-runtime-BkFxBVMA.js",
"houseplan-assets/pdf-export-Co2Yz8xx.js",
"houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js",
"houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/de-DilAyJOA.js",
"houseplan-assets/editor-BKThEc1z.js",
"houseplan-assets/fr-aA2fQC-7.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js",
"houseplan-assets/hp-zigbee-topology-overlay-BUQ-2Zgc.js",
"houseplan-assets/iso-scene-render-Bx2wr2yQ.js",
"houseplan-assets/live-interaction-runtime-CTDweCEy.js",
"houseplan-assets/pdf-export-B8jlSDXf.js",
"houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js",
"houseplan-assets/zigbee-topology-runtime-D9gdItpV.js"
],
"lazyGzipBytes": 418658,
"lazyGzipBytes": 418704,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/editor-B_aKOjOd.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/editor-BKThEc1z.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js"
],
"lazyEditorGzipBytes": 204916,
"lazyEditorGzipBytes": 204921,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js"
],
"lazyOnboardingGzipBytes": 13906,
"lazyOnboardingGzipBytes": 13913,
"lazyLocaleFiles": [
"houseplan-assets/de-Cv59WbbX.js",
"houseplan-assets/fr-f5HU1FOM.js"
"houseplan-assets/de-DilAyJOA.js",
"houseplan-assets/fr-aA2fQC-7.js"
],
"lazyLocaleGzipBytes": 54895,
"lazyLocaleGzipBytes": 54913,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-CPgYpwNC.js"
"houseplan-assets/iso-scene-render-Bx2wr2yQ.js"
],
"lazyIsometricGzipBytes": 13228,
"lazyIsometricGzipBytes": 13233,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js"
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js"
],
"lazyFurnitureArtGzipBytes": 10259,
"lazyFurnitureArtGzipBytes": 10256,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/pdf-export-Co2Yz8xx.js"
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/pdf-export-B8jlSDXf.js"
],
"lazyPdfGzipBytes": 120131,
"lazyPdfGzipBytes": 120129,
"files": [
{
"path": "houseplan-assets/backdrop-pick-gPEGe1qK.js",
"sha256": "a4d457e11f5d70d298387f688dd86b504612eaa90a226399f75deeedf825bc16",
"path": "houseplan-assets/backdrop-pick-CShYymbr.js",
"sha256": "36b0eacd107ca43cf9684771ef21b47be6b672f124c59623386f8acc9648995c",
"rawBytes": 19956,
"gzipBytes": 6877,
"gzipBytes": 6880,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-Cv59WbbX.js",
"sha256": "b4c92851382aa0cf0ed1aef196716e4b251dbc48bdc82abd06ca6e25517c956b",
"path": "houseplan-assets/de-DilAyJOA.js",
"sha256": "4ab8b3e2cf994cb467017b218fcbf094818c5cbe604415da74cb50c79cafe2d8",
"rawBytes": 91590,
"gzipBytes": 27731,
"gzipBytes": 27740,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-B_aKOjOd.js",
"sha256": "a6df62742036a11689c9278e29cc831b10829495d941b3436ac05a844ebc659b",
"path": "houseplan-assets/editor-BKThEc1z.js",
"sha256": "4dea7ff701ee3ee01556bd5a5e2ff9be712042da337ff0f2e4c079193ab76d32",
"rawBytes": 3831,
"gzipBytes": 1577,
"gzipBytes": 1581,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-f5HU1FOM.js",
"sha256": "d76dce08b7a46c90505228015672b760604f5f53ff61fffafe1893a0597e46a3",
"path": "houseplan-assets/fr-aA2fQC-7.js",
"sha256": "75cd955c87f641efad47672a10e2396628a8504ab6edf65ea20da286d4b02fc6",
"rawBytes": 93884,
"gzipBytes": 27164,
"gzipBytes": 27173,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"sha256": "29dd1098f6467fdf59c913cf98b60ef615b18607e31048614b7caa45d631b195",
"path": "houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"sha256": "27760c8856098ab3d72b51d5b0abd9fe44332b7612139ac8e33efc7b2eb6ef2b",
"rawBytes": 33655,
"gzipBytes": 10259,
"gzipBytes": 10256,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-Dc1nDalz.js",
"sha256": "efd4fe1185c5df6d6a473ae877bcfde512f47a1c364c2f7ce8bb907bb30fbbff",
"path": "houseplan-assets/houseplan-card-rUhUkuoa.js",
"sha256": "9be00a8452fa8db76632a67aa87b0abcba362d4b4dcd8fcb4ef8fe988368173a",
"rawBytes": 1032408,
"gzipBytes": 289805,
"gzipBytes": 289813,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-Cv59WbbX.js",
"houseplan-assets/editor-B_aKOjOd.js",
"houseplan-assets/fr-f5HU1FOM.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js",
"houseplan-assets/hp-zigbee-topology-overlay-DIpDzN0W.js",
"houseplan-assets/iso-scene-render-CPgYpwNC.js",
"houseplan-assets/live-interaction-runtime-BkFxBVMA.js",
"houseplan-assets/pdf-export-Co2Yz8xx.js",
"houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js"
"houseplan-assets/de-DilAyJOA.js",
"houseplan-assets/editor-BKThEc1z.js",
"houseplan-assets/fr-aA2fQC-7.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js",
"houseplan-assets/hp-zigbee-topology-overlay-BUQ-2Zgc.js",
"houseplan-assets/iso-scene-render-Bx2wr2yQ.js",
"houseplan-assets/live-interaction-runtime-CTDweCEy.js",
"houseplan-assets/pdf-export-B8jlSDXf.js",
"houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-CzNlYRjc.js",
"sha256": "38a3ba534ded790e8c2d85ef1e62db6622e9b2938372fe51978ef509cf1a6782",
"path": "houseplan-assets/houseplan-editor-runtime-DDzl0dJ9.js",
"sha256": "090a983bc68481fdb803f3dd04ea0175e6efb80403fe7c275ddb4e4b56f9ef8b",
"rawBytes": 669985,
"gzipBytes": 178781,
"gzipBytes": 178782,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js"
"houseplan-assets/zigbee-topology-runtime-D9gdItpV.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-nh2C2FaM.js",
"sha256": "719ede0971fd464b77fb36ff0f6de9bcaa046eaa83d1b8e7153b6331aeedd370",
"path": "houseplan-assets/houseplan-onboarding-runtime-DCPwA-zI.js",
"sha256": "2b6623240246ad33747c14a31aa6c0d936edeb61c199d75a0c4b8fed0d2d4927",
"rawBytes": 28287,
"gzipBytes": 7029,
"gzipBytes": 7033,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-gPEGe1qK.js",
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/backdrop-pick-CShYymbr.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-DIpDzN0W.js",
"sha256": "8f03467b478ee35d47244ab06fd53ce73e447bfd0ba456cd7795d097842f4c42",
"path": "houseplan-assets/hp-zigbee-topology-overlay-BUQ-2Zgc.js",
"sha256": "758eac603f6aca0cc39bafb4738576e28f6fc711343d051c1c76c5407bfee1ab",
"rawBytes": 10756,
"gzipBytes": 3678,
"gzipBytes": 3680,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js",
"houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js",
"houseplan-assets/zigbee-topology-runtime-D9gdItpV.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-CPgYpwNC.js",
"sha256": "810b9e8d456ef1e1c2ffafd9a368f76e116b000cb14a9e6e60763eed229a3527",
"path": "houseplan-assets/iso-scene-render-Bx2wr2yQ.js",
"sha256": "5c4fb9f9703cb6510733c4224363274a2f7bbe4c8c100e3c9780b197930c6d06",
"rawBytes": 39206,
"gzipBytes": 13228,
"gzipBytes": 13233,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-BkFxBVMA.js",
"sha256": "69ced43aa2bad1e33b826eb191f289ed47cded26c831d6c76562932c3eca1a6b",
"path": "houseplan-assets/live-interaction-runtime-CTDweCEy.js",
"sha256": "55f2d7989217e7c9a9de53afad4e075c52db291800d66974a6223480c3966e18",
"rawBytes": 8216,
"gzipBytes": 3200,
"gzipBytes": 3206,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-Co2Yz8xx.js",
"sha256": "4f5c8436f01c130098c3f6a3c1fe0ba93038112663017a4a044089b9a36886fa",
"path": "houseplan-assets/pdf-export-B8jlSDXf.js",
"sha256": "e455c426b3c1b27381444e18418fdc246a209ca58abaff2a545fe61111c405fb",
"rawBytes": 236244,
"gzipBytes": 109872,
"gzipBytes": 109873,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-Bp606vE4.js",
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/furniture-plan-art.generated-C4WPkqT7.js",
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-3aux2NA6.js",
"sha256": "12bd2cb117766bbbf730d226145eb8de61caf290113c556bd3525bfa67a0831d",
"path": "houseplan-assets/summary-panel-editor-BHlSeMmH.js",
"sha256": "e608e137471480372a8965ce045dac1515f8e14f85d6b0989c8b652c812481d8",
"rawBytes": 14824,
"gzipBytes": 3395,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-CV2vlKGq.js",
"sha256": "1e0d0c6d9c8c1c0fec670ccd308cbb30e66b2cb4c736e78b6f09d4a85fe7827e",
"path": "houseplan-assets/summary-panel-metrics-ucqqLsV4.js",
"sha256": "ef257cef867f96e79d80e3b08a75cb696df825dee3334a3088873e529f64835c",
"rawBytes": 2610,
"gzipBytes": 1298,
"gzipBytes": 1302,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-CVKoQCwS.js",
"sha256": "941dbe16bad854f7b6e3f1edd9a13b50b0f0aa7c845bae5d8f3414bf6c44cc34",
"path": "houseplan-assets/summary-panel-runtime-loaded-kqYO-Aia.js",
"sha256": "f7c085861975d6db6ac7357792c26af543422cb82c9ebfc8e16cc7ab9c923c01",
"rawBytes": 73366,
"gzipBytes": 20084,
"gzipBytes": 20086,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-3aux2NA6.js",
"houseplan-assets/summary-panel-metrics-CV2vlKGq.js"
"houseplan-assets/summary-panel-editor-BHlSeMmH.js",
"houseplan-assets/summary-panel-metrics-ucqqLsV4.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-CShPwd1w.js",
"sha256": "e46b3d6dc3dc0a53ab37cb860f0747fe138d6a2e837f52d63156b3f224800a25",
"path": "houseplan-assets/zigbee-topology-B5ni-F0n.js",
"sha256": "e084dbfd71d4927273a28812fdfeea953b8c43393b2b39b0a5452eb9d4343f04",
"rawBytes": 18961,
"gzipBytes": 7422,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-Ck0cNC2p.js",
"sha256": "0764f96e95513374b2ba990746e448b48bd3a6c1c188af749c7a90bffb444382",
"path": "houseplan-assets/zigbee-topology-runtime-D9gdItpV.js",
"sha256": "3c7326f95db76e9a9a42f3e895ecd7bfad68ece511082aefe173bc6a3fb39dfd",
"rawBytes": 3941,
"gzipBytes": 1756,
"gzipBytes": 1759,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js",
"houseplan-assets/zigbee-topology-CShPwd1w.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js",
"houseplan-assets/zigbee-topology-B5ni-F0n.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "443fc598ffba775459fb2672975c5fd5aeb2c9231ed8e2c0701db0204dbd4d0b",
"sha256": "cd12e73e4011cecdfcfe45eb28f91a4f881d0818375014ea5bb906f9f8a341b7",
"rawBytes": 1205,
"gzipBytes": 797,
"gzipBytes": 800,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "69eacad0a1c5d32f08f5b171c76b770da2e1534dd39310946521710b27af9ee6",
"sha256": "063c62d2fc216d3d840f729b098757d046bb0ca15529e317d2b4761f1ddfb21b",
"rawBytes": 6165,
"gzipBytes": 2319,
"gzipBytes": 2322,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Dc1nDalz.js"
"houseplan-assets/houseplan-card-rUhUkuoa.js"
],
"dynamicImports": []
}
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__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{q as e,l as o,v as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,E as r,c}from"./houseplan-card-Dc1nDalz.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__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{q as e,l as o,v as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,E as r,c}from"./houseplan-card-rUhUkuoa.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
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__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{c as a,A as e}from"./houseplan-card-Dc1nDalz.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-CVKoQCwS.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{c as a,A as e}from"./houseplan-card-rUhUkuoa.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-kqYO-Aia.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
<input id="summary-local-show" data-summary-local-show type="checkbox"
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{ea as e,P as t,a5 as n,M as i,aq as r,N as o,bs as a,br as s,a4 as l,a3 as c,aA as u,eb as d,ec as f,bu as m,ed as g}from"./houseplan-card-Dc1nDalz.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),a=i.binding.slice(r+1),s="device"===o?e.registry.devices?.[a]:null,l="entity"===o?e.registry.entities?.[a]:null,c="device"===o?a:l?.device_id,u="device"===o?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===o&&n.liveEntities.has(a))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/r;d+=s(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){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:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{ea as e,P as t,a5 as n,M as i,aq as r,N as o,bs as s,br as a,a4 as c,a3 as l,aA as d,eb as u,ec as f,bu as m,ed as g}from"./houseplan-card-rUhUkuoa.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),s=i.binding.slice(r+1),a="device"===o?e.registry.devices?.[s]:null,c="entity"===o?e.registry.entities?.[s]:null,l="device"===o?s:c?.device_id,d="device"===o?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===o&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(c,l,d=_){try{let u=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/r;u+=a(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){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:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";import{n as t,b as n}from"./zigbee-topology-CShPwd1w.js";import{F as e}from"./houseplan-card-Dc1nDalz.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__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";import{n as t,b as n}from"./zigbee-topology-B5ni-F0n.js";import{F as e}from"./houseplan-card-rUhUkuoa.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__="09bdfa98edfc8feaa5f2e57eaf3915f817afefdf95ba0c1b2fe1f9ebbea93e52";try{await import("./houseplan-assets/houseplan-card-Dc1nDalz.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__="d87ead7b144b886cd2edb03ebc0f5735ef54b8dddebec53c91c52592e1c0995b";try{await import("./houseplan-assets/houseplan-card-rUhUkuoa.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.76.0-beta.4 — 2026-09-15
- General settings now let window sunlight start at either the inner window
corners (the existing default) or the outer window corners. The outer mode
carries the visible shaft only through the physical window tunnel before it
+2
View File
@@ -8,6 +8,8 @@
## Не выпущено
## v1.76.0-beta.4 — 2026-09-15
- В общих настройках теперь можно выбрать, от каких углов окна начинаются
солнечные лучи: от внутренних (прежнее поведение по умолчанию) или от
внешних. Во внешнем режиме видимая часть луча проходит к комнате только
+7 -3
View File
@@ -1,14 +1,18 @@
<!-- release: v1.76.0-beta.3 -->
<!-- release: v1.76.0-beta.4 -->
## Основное
- Масштабирование щипком в приложении Home Assistant больше не вызывает нажатия на устройства и не заставляет стены и пол мигать белым или прозрачным ([#578](https://github.com/Matysh/houseplan-card/issues/578), [#579](https://github.com/Matysh/houseplan-card/issues/579)).
- В общих настройках теперь можно выбрать, начинать солнечные лучи от внутренних или внешних углов окон ([#577](https://github.com/Matysh/houseplan-card/issues/577)).
- Мелкие исправления и улучшения.
## Highlights
- Pinch-zooming in the Home Assistant app no longer activates devices or makes walls and floors flash white or transparent ([#578](https://github.com/Matysh/houseplan-card/issues/578), [#579](https://github.com/Matysh/houseplan-card/issues/579)).
- General settings now let sunlight start at either the inner or outer window corners ([#577](https://github.com/Matysh/houseplan-card/issues/577)).
- Small fixes and improvements.
Сообщество / Community: [Telegram](https://t.me/ha_houseplan)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.3/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.3/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.4/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.4/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.76.0-beta.3** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Beta v1.76.0-beta.3 candidate** — prepared from the exact integrated `dev` tree; `main` remains on v1.75.0. It packages the reviewed Stage 4 refinement of the hidden isometric experiment (#570) without changing the default Flat experience or exposing the experiment in public release notes. |
| Version | **v1.76.0-beta.4** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Beta v1.76.0-beta.4 candidate** — prepared from the exact integrated `dev` tree; `main` remains on v1.75.0. It adds the reviewed window-corner origin selector for sunlight (#577) and fixes touch pinch activation and WebView compositor flashing (#578, #579). |
| 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; #570 adds the Stage 4 designer handoff. The same hidden `iso` view now uses a fixed 0°/20° camera and scale-aware wall height 84, low screen-facing device/room/lock overlays without tethers or ground dots, neutral full-height window frames with blue glass, and the existing bounded theme materials. 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 4 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 stable release is produced by `release.yml` (`workflow_dispatch` on `main` with the tag) — the only publisher of installable assets since #540: gates on the exact SHA (Validate, Full Performance, E2E on the candidate commit), one build, `houseplan.zip` archived from the committed tree, `SHA256SUMS`, draft → publish → read-back verification; a release published by hand in the GitHub form is turned back into a draft and walked through the same path, and a re-dispatch on a public tag is a repair that adds only missing assets. 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.76.0-beta.3",
"version": "1.76.0-beta.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.76.0-beta.3",
"version": "1.76.0-beta.4",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.76.0-beta.3",
"version": "1.76.0-beta.4",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -426,7 +426,7 @@ import type { MarkerRoomReferenceSnapshot } from './room-reference-transaction';
import { SummaryRuntimeSlot, summaryRuntimeLoader } from './summary-runtime-loader';
import { displayVersion } from './card-version';
const CARD_VERSION = '1.76.0-beta.3';
const CARD_VERSION = '1.76.0-beta.4';
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
@@ -389,7 +389,7 @@ import {
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
} from './room-reference-transaction';
const CARD_VERSION = '1.76.0-beta.3';
const CARD_VERSION = '1.76.0-beta.4';
// #474: the editor imports the furniture artwork statically and hands it to
// the page runtime the moment this chunk evaluates — before the loader's