mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
Prepare v1.77.0-beta.2
Проверка (CI) / Классификация изменённых файлов (push) Successful in 34s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 25s
Проверка (CI) / Предполёт: документация, провенанс, процесс (push) Failing after 1m11s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 1m14s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 1m39s
Проверка (CI) / Мутанты по диффу (2/6): затронутые свидетели краснеют (push) Failing after 5m38s
Проверка (CI) / Мутанты по диффу (4/6): затронутые свидетели краснеют (push) Failing after 31s
Проверка (CI) / Мутанты по диффу (6/6): затронутые свидетели краснеют (push) Failing after 1s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 1s
Проверка (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) / Геометрия: TS/Python parity исполнена (push) Failing after 1s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 2s
Проверка (CI) / Мутанты по диффу (5/6): затронутые свидетели краснеют (push) Failing after 59s
Проверка (CI) / Мутанты по диффу (1/6): затронутые свидетели краснеют (push) Failing after 6m55s
Проверка (CI) / Мутанты по диффу (3/6): затронутые свидетели краснеют (push) Failing after 7m17s
Проверка (CI) / Доказательство выполненных проверок (push) Failing after 31s
Проверка (CI) / Классификация изменённых файлов (push) Successful in 34s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 25s
Проверка (CI) / Предполёт: документация, провенанс, процесс (push) Failing after 1m11s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 1m14s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 1m39s
Проверка (CI) / Мутанты по диффу (2/6): затронутые свидетели краснеют (push) Failing after 5m38s
Проверка (CI) / Мутанты по диффу (4/6): затронутые свидетели краснеют (push) Failing after 31s
Проверка (CI) / Мутанты по диффу (6/6): затронутые свидетели краснеют (push) Failing after 1s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 1s
Проверка (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) / Геометрия: TS/Python parity исполнена (push) Failing after 1s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 2s
Проверка (CI) / Мутанты по диффу (5/6): затронутые свидетели краснеют (push) Failing after 59s
Проверка (CI) / Мутанты по диффу (1/6): затронутые свидетели краснеют (push) Failing after 6m55s
Проверка (CI) / Мутанты по диффу (3/6): затронутые свидетели краснеют (push) Failing after 7m17s
Проверка (CI) / Доказательство выполненных проверок (push) Failing after 31s
Package the reviewed settings-dialog redesign, furniture pack and value-plus-static-icon mode. Hidden 2.5D refinement and process/tooling fixes ride along internally. Release: v1.77.0-beta.2 Issue: #576 Issue: #585 Issue: #588 Issue: #589 Issue: #592 Issue: #593 Issue: #594 Issue: #595 Issue: #596 Issue: #597 Issue: #598 User-Visible: yes
This commit is contained in:
Vendored
+130
-130
@@ -1,87 +1,87 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48",
|
||||
"fingerprint": "3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 291526,
|
||||
"initialViewGzipBytes": 291529,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 293049,
|
||||
"initialPanelGzipBytes": 293052,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2327,
|
||||
"initialPanelOnlyGzipBytes": 2326,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-C46YwZX0.js",
|
||||
"houseplan-assets/de-FYA7sbHX.js",
|
||||
"houseplan-assets/editor-BSPiJhYd.js",
|
||||
"houseplan-assets/form-kit.styles-DGBtCcDL.js",
|
||||
"houseplan-assets/fr-Dn1xzbZF.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime--lvE3iC7.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-DZjIrZz7.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Cp9LNjCa.js",
|
||||
"houseplan-assets/iso-scene-render-D_ThpKot.js",
|
||||
"houseplan-assets/live-interaction-runtime-DxXCZ7Hc.js",
|
||||
"houseplan-assets/pdf-export-Dezj5lWD.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-Dtrdu0OS.js",
|
||||
"houseplan-assets/zigbee-topology-CEO3KGma.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-cL8oAeDl.js"
|
||||
"houseplan-assets/backdrop-pick-DoI7yjX7.js",
|
||||
"houseplan-assets/de-wLkxTRq0.js",
|
||||
"houseplan-assets/editor-C8bALXQf.js",
|
||||
"houseplan-assets/form-kit.styles-BpyurJKJ.js",
|
||||
"houseplan-assets/fr-CA7PIaql.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-D2md8-cr.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BNHkTOfc.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DBlrNIoy.js",
|
||||
"houseplan-assets/iso-scene-render-BI4uAlBp.js",
|
||||
"houseplan-assets/live-interaction-runtime-SkGhVBof.js",
|
||||
"houseplan-assets/pdf-export-B9zDb_0x.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DYK5EaLe.js",
|
||||
"houseplan-assets/zigbee-topology-CT-3MG-W.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BODqns9j.js"
|
||||
],
|
||||
"lazyGzipBytes": 441960,
|
||||
"lazyGzipBytes": 441954,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-C46YwZX0.js",
|
||||
"houseplan-assets/editor-BSPiJhYd.js",
|
||||
"houseplan-assets/form-kit.styles-DGBtCcDL.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime--lvE3iC7.js",
|
||||
"houseplan-assets/zigbee-topology-CEO3KGma.js"
|
||||
"houseplan-assets/backdrop-pick-DoI7yjX7.js",
|
||||
"houseplan-assets/editor-C8bALXQf.js",
|
||||
"houseplan-assets/form-kit.styles-BpyurJKJ.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-D2md8-cr.js",
|
||||
"houseplan-assets/zigbee-topology-CT-3MG-W.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 222206,
|
||||
"lazyEditorGzipBytes": 222199,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-C46YwZX0.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-DZjIrZz7.js"
|
||||
"houseplan-assets/backdrop-pick-DoI7yjX7.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BNHkTOfc.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 13922,
|
||||
"lazyOnboardingGzipBytes": 13918,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-FYA7sbHX.js",
|
||||
"houseplan-assets/fr-Dn1xzbZF.js"
|
||||
"houseplan-assets/de-wLkxTRq0.js",
|
||||
"houseplan-assets/fr-CA7PIaql.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 56362,
|
||||
"lazyLocaleGzipBytes": 56363,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/iso-scene-render-D_ThpKot.js"
|
||||
"houseplan-assets/iso-scene-render-BI4uAlBp.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 17646,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 16942,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"houseplan-assets/pdf-export-Dezj5lWD.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"houseplan-assets/pdf-export-B9zDb_0x.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 126816,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-C46YwZX0.js",
|
||||
"sha256": "fae022694e4e3cef9ca5e17a97fcd5620871849a4bb3370d728bbd7f05b7ec8b",
|
||||
"path": "houseplan-assets/backdrop-pick-DoI7yjX7.js",
|
||||
"sha256": "62c404bc9565e6cd2fc49d2964ce885b2708bb5cf4e5559e694084dfb7c4dbd4",
|
||||
"rawBytes": 19959,
|
||||
"gzipBytes": 6884,
|
||||
"gzipBytes": 6881,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-FYA7sbHX.js",
|
||||
"sha256": "25c4c57c4f99371a1e6af0bc07d034dc1cd9b1c4ce6ed88138425a09443929ae",
|
||||
"path": "houseplan-assets/de-wLkxTRq0.js",
|
||||
"sha256": "c251b8a9490c342574b014d262bc43550afdadfb8b6ca5cd9baa41ea5955e473",
|
||||
"rawBytes": 93989,
|
||||
"gzipBytes": 28446,
|
||||
"isEntry": false,
|
||||
@@ -89,19 +89,19 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-BSPiJhYd.js",
|
||||
"sha256": "05c303988feef5ebb727dfa7ec32e0b7123d0eabcf6a5c6ff091ad44a8f8677c",
|
||||
"path": "houseplan-assets/editor-C8bALXQf.js",
|
||||
"sha256": "8951be375843f6d9ec76f5a16a48d3b3fca3a9a9f991941ed5785ef561c44f48",
|
||||
"rawBytes": 3833,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1585,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/form-kit.styles-DGBtCcDL.js",
|
||||
"sha256": "81eab590072b945fdc4328c81ca3136babe951d02468671bc2e229169e07b419",
|
||||
"path": "houseplan-assets/form-kit.styles-BpyurJKJ.js",
|
||||
"sha256": "ff62ec6e8e0d3f6032475d9c33a8d6af25407b5b213b992d62a74cbcfa5c372a",
|
||||
"rawBytes": 3615,
|
||||
"gzipBytes": 1234,
|
||||
"isEntry": false,
|
||||
@@ -109,17 +109,17 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-Dn1xzbZF.js",
|
||||
"sha256": "e09e6f09331edea2ce024aea2810fa8cf6bcb555e9d3a00ad7141c1d8833d466",
|
||||
"path": "houseplan-assets/fr-CA7PIaql.js",
|
||||
"sha256": "42a3d22c8fcf917574ee780e28e572efef00b73d18f0dabb825bcb7bc74282f7",
|
||||
"rawBytes": 96460,
|
||||
"gzipBytes": 27916,
|
||||
"gzipBytes": 27917,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"sha256": "af3ea53a1b0bf45445792572761ed5300d462c048010edbfcf13511d5b16f41d",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"sha256": "32f1e23fb9841afaaabbada8de19b01763f2efeda19706f7295e294ec22ef415",
|
||||
"rawBytes": 52033,
|
||||
"gzipBytes": 16942,
|
||||
"isEntry": false,
|
||||
@@ -127,183 +127,183 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"sha256": "d665db04f2734ac6b1f6ecaa8bcd28a05b30f6ca8f69d35a08d15e19be5f9c09",
|
||||
"path": "houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"sha256": "f997a5b6d418897dddcf67067c33081b2e198cf19e3f778240f3e86c15060a19",
|
||||
"rawBytes": 1035518,
|
||||
"gzipBytes": 290722,
|
||||
"gzipBytes": 290726,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-FYA7sbHX.js",
|
||||
"houseplan-assets/editor-BSPiJhYd.js",
|
||||
"houseplan-assets/fr-Dn1xzbZF.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime--lvE3iC7.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-DZjIrZz7.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Cp9LNjCa.js",
|
||||
"houseplan-assets/iso-scene-render-D_ThpKot.js",
|
||||
"houseplan-assets/live-interaction-runtime-DxXCZ7Hc.js",
|
||||
"houseplan-assets/pdf-export-Dezj5lWD.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-Dtrdu0OS.js"
|
||||
"houseplan-assets/de-wLkxTRq0.js",
|
||||
"houseplan-assets/editor-C8bALXQf.js",
|
||||
"houseplan-assets/fr-CA7PIaql.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-D2md8-cr.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BNHkTOfc.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DBlrNIoy.js",
|
||||
"houseplan-assets/iso-scene-render-BI4uAlBp.js",
|
||||
"houseplan-assets/live-interaction-runtime-SkGhVBof.js",
|
||||
"houseplan-assets/pdf-export-B9zDb_0x.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DYK5EaLe.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime--lvE3iC7.js",
|
||||
"sha256": "c3aca4eab21e975a313761d535e9d64ff4fe88f6252586921a8a9145a0962b62",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-D2md8-cr.js",
|
||||
"sha256": "1b57da1a58b48787e22693d1b7f634033d497d02e41ef0f3df8f0cd6309e9b44",
|
||||
"rawBytes": 689688,
|
||||
"gzipBytes": 188130,
|
||||
"gzipBytes": 188131,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-C46YwZX0.js",
|
||||
"houseplan-assets/form-kit.styles-DGBtCcDL.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"houseplan-assets/zigbee-topology-CEO3KGma.js"
|
||||
"houseplan-assets/backdrop-pick-DoI7yjX7.js",
|
||||
"houseplan-assets/form-kit.styles-BpyurJKJ.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"houseplan-assets/zigbee-topology-CT-3MG-W.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-cL8oAeDl.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BODqns9j.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-DZjIrZz7.js",
|
||||
"sha256": "e9d5f2f9f0ba0bed6f2ca448209ad4f5bff36aa7c6e7a7bc0d63fd8c5e0c6e18",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BNHkTOfc.js",
|
||||
"sha256": "312ea386a10eec5c166b11e649f4e3ba6cd5f2dbee20e1a4aa1249a908ebaac0",
|
||||
"rawBytes": 28289,
|
||||
"gzipBytes": 7038,
|
||||
"gzipBytes": 7037,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-C46YwZX0.js",
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/backdrop-pick-DoI7yjX7.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-Cp9LNjCa.js",
|
||||
"sha256": "a5f31024097ff2f9b912c9d950ab14226ccd40deee732efe05f3cc5600a12b5b",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DBlrNIoy.js",
|
||||
"sha256": "497a171f94e1f9c4ba3b0f9cbba85964f7855f2f9054d77b216f2d470e83797c",
|
||||
"rawBytes": 10759,
|
||||
"gzipBytes": 3687,
|
||||
"gzipBytes": 3686,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"houseplan-assets/zigbee-topology-CEO3KGma.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-cL8oAeDl.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"houseplan-assets/zigbee-topology-CT-3MG-W.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BODqns9j.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-D_ThpKot.js",
|
||||
"sha256": "8361501ed2e8ea4f2dcae3d70fb596bb2e5b7f2ad9bb49e7240f49913321ed90",
|
||||
"path": "houseplan-assets/iso-scene-render-BI4uAlBp.js",
|
||||
"sha256": "08f417675757907d57816ba42c4fe61e0d15ad718fa96e0860abe1793d2f8dbb",
|
||||
"rawBytes": 51983,
|
||||
"gzipBytes": 17646,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-DxXCZ7Hc.js",
|
||||
"sha256": "aebd542bd8f93ff467012743bf80e17178caf00c02eface4ccc38ada0591d12a",
|
||||
"path": "houseplan-assets/live-interaction-runtime-SkGhVBof.js",
|
||||
"sha256": "66abe7390b746ca77e8b8e95cd1d4c2350387c75065cedf50e0c1c4531107d93",
|
||||
"rawBytes": 8216,
|
||||
"gzipBytes": 3207,
|
||||
"gzipBytes": 3209,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-Dezj5lWD.js",
|
||||
"sha256": "993f1e8900790d59ff737c5dad7f5a4e7139927e75f66ad083ac4c9f952615af",
|
||||
"path": "houseplan-assets/pdf-export-B9zDb_0x.js",
|
||||
"sha256": "01d2578e42c220cc68e1e83bcc73911e5ab50dda51803f71b61a4c224e949905",
|
||||
"rawBytes": 236247,
|
||||
"gzipBytes": 109874,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-C-PriypB.js",
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DsJWJE61.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-BOp91be4.js",
|
||||
"sha256": "e173833bf6b3508c0313ad9f67bb2a4b2791793d2f966b536546090a50d7e4e6",
|
||||
"path": "houseplan-assets/summary-panel-editor-BPB06SlK.js",
|
||||
"sha256": "f29242716a9bdd370a61e44b218a49cfd8fae757b7b0e451519fbc2ec6f9010e",
|
||||
"rawBytes": 14862,
|
||||
"gzipBytes": 3423,
|
||||
"gzipBytes": 3426,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-DGBtCcDL.js",
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-Dtrdu0OS.js"
|
||||
"houseplan-assets/form-kit.styles-BpyurJKJ.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DYK5EaLe.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-BgJh59Im.js",
|
||||
"sha256": "96236fc71661eeff3c24c9f24e2d18a22e9138b46216e7be18d0aa8551ab27aa",
|
||||
"path": "houseplan-assets/summary-panel-metrics-B83OT7Fa.js",
|
||||
"sha256": "2d60940ab5b5b8e415779c56af19b2e12c392be20fae4993ba7dbeea7aa4b224",
|
||||
"rawBytes": 2611,
|
||||
"gzipBytes": 1309,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-Dtrdu0OS.js",
|
||||
"sha256": "edfa49aab85f376c45e09e767eb861f88165941c57b7e9566046ac6a612c5324",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-DYK5EaLe.js",
|
||||
"sha256": "ca467a6c4015775e2d89dd1d1213939d5512a564319a4571d68175fb392eaa7e",
|
||||
"rawBytes": 72733,
|
||||
"gzipBytes": 20175,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-DGBtCcDL.js",
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/form-kit.styles-BpyurJKJ.js",
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-BOp91be4.js",
|
||||
"houseplan-assets/summary-panel-metrics-BgJh59Im.js"
|
||||
"houseplan-assets/summary-panel-editor-BPB06SlK.js",
|
||||
"houseplan-assets/summary-panel-metrics-B83OT7Fa.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-CEO3KGma.js",
|
||||
"sha256": "c3b81a17501e833b111f9fcd8742979fa9e869823edd1f9a156901bc7339b7ff",
|
||||
"path": "houseplan-assets/zigbee-topology-CT-3MG-W.js",
|
||||
"sha256": "c32ca5d4a1c01274e201bd20f9253f4fc43568c1d2fe8e9af69c6d1b3f8e0f07",
|
||||
"rawBytes": 18962,
|
||||
"gzipBytes": 7430,
|
||||
"gzipBytes": 7426,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-cL8oAeDl.js",
|
||||
"sha256": "928a7b5026530c4b508a716584caa52db9763c645f203a2bd4c72a5d1fd88ec4",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BODqns9j.js",
|
||||
"sha256": "2900491477c37854cd96b59bc2bb464d258b012c9b9c941445f80429afe5255f",
|
||||
"rawBytes": 3942,
|
||||
"gzipBytes": 1765,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js",
|
||||
"houseplan-assets/zigbee-topology-CEO3KGma.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js",
|
||||
"houseplan-assets/zigbee-topology-CT-3MG-W.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "7702563a32e63ec842d5114a6041db57411be4f556f3a21b973901732140bb3c",
|
||||
"sha256": "b34512df26300f2883541bcf9cf70dd1dc9faba02348bbbf765424599370620a",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 804,
|
||||
"gzipBytes": 803,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "dfed7afb7f4362bc827d05f764e42c347fae5a1af0683da67e7aa92078a02aea",
|
||||
"sha256": "a28954836532479bae91b6fc3ba8e10b027ff914734f599f7da0f65a3bd3170f",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2327,
|
||||
"gzipBytes": 2326,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DFNMMAfi.js"
|
||||
"houseplan-assets/houseplan-card-CKashuzz.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";import{aI as e,l as o,aL as t,e7 as s,A as a,e8 as i,e9 as l,ea as n,E as r,c}from"./houseplan-card-DFNMMAfi.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__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";import{aI as e,l as o,aL as t,e7 as s,A as a,e8 as i,e9 as l,ea as n,E as r,c}from"./houseplan-card-CKashuzz.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}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";const n={form:".summary-editor",prefix:"summary",cards:[".summary-general",".summary-blocks-card"],footer:".summary-editor-footer",tokens:{surface:"--summary-editor-surface",line:"--summary-editor-line",accent:"--summary-editor-accent"}},e={form:".hpf-form",prefix:"hpf",cards:[".hpf-card"],footer:".hpf-footer",tokens:{surface:"--hpf-surface",line:"--hpf-line",accent:"--hpf-accent"}};function r({cards:n,tokens:e}){return` ${n.join(",\n ")} {\n min-width: 0;\n padding: 14px;\n border: 1px solid var(${e.line});\n border-radius: 11px;\n background: var(${e.surface});\n }`}function i({form:n,footer:e,tokens:r}){return` ${n} input:focus-visible,\n ${n} select:focus-visible,\n ${n} button:focus-visible,\n ${e} button:focus-visible {\n outline: 2px solid var(${r.accent});\n outline-offset: 2px;\n }`}function t({form:n}){return` ${n} button:disabled,\n ${n} input:disabled,\n ${n} select:disabled { opacity: .4; cursor: default; }`}function o({form:n,prefix:e}){return` ${n} .${e}-switch {\n display: flex;\n min-width: 0;\n min-height: 54px;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n margin: 0;\n color: var(--primary-text-color);\n cursor: pointer;\n }`}function a({prefix:n}){return` .${n}-switch-caption { display: grid; min-width: 0; gap: 3px; }\n .${n}-switch-caption strong { font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }\n .${n}-switch-caption small { font-size: .8125rem; color: var(--secondary-text-color); overflow-wrap: anywhere; }`}function s(n,{withSwitch:e=!0}={}){return`${function(n,e){const s=e?`\n${o(n)}\n${a(n)}`:"";return`${r(n)}\n${i(n)}\n${t(n)}${s}`}(n,e)}\n${function(n){const{form:e,prefix:r,tokens:i}=n;return` ${e} { display: grid; gap: 12px; }\n .${r}-head {\n display: flex;\n min-width: 0;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n margin: 0 0 10px;\n }\n .${r}-head h3 { margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 600; }\n .${r}-row {\n display: flex;\n min-width: 0;\n min-height: 44px;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n }\n .${r}-row > .${r}-label { min-width: 0; overflow-wrap: anywhere; }\n .${r}-seg {\n display: flex;\n min-width: 0;\n border: 1px solid var(${i.line});\n border-radius: 9px;\n overflow: hidden;\n }\n .${r}-seg label {\n display: flex;\n min-width: 0;\n min-height: 44px;\n flex: 1 1 0;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 0 12px;\n cursor: pointer;\n text-align: center;\n }\n .${r}-seg label + label { border-left: 1px solid var(${i.line}); }\n .${r}-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }\n .${r}-seg label:has(input:checked) {\n background: var(${i.accent});\n color: var(--text-primary-color, #fff);\n }\n .${r}-seg label:has(input:focus-visible) {\n outline: 2px solid var(${i.accent});\n outline-offset: -2px;\n }\n .${r}-color { display: flex; min-width: 0; align-items: center; gap: 12px; }\n .${r}-color hp-color-opacity { flex: 0 0 auto; }`}(n)}\n`}const c=" hp-dialog .hpf-form {\n --hpf-surface: var(--card-background-color, #fff);\n --hpf-line: var(--hp-line, var(--divider-color, #dce5e7));\n --hpf-accent: var(--hp-accent, var(--primary-color));\n }\n";export{e as C,n as S,r as a,i as b,c,t as d,o as e,s as f,a as g};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";const n={form:".summary-editor",prefix:"summary",cards:[".summary-general",".summary-blocks-card"],footer:".summary-editor-footer",tokens:{surface:"--summary-editor-surface",line:"--summary-editor-line",accent:"--summary-editor-accent"}},e={form:".hpf-form",prefix:"hpf",cards:[".hpf-card"],footer:".hpf-footer",tokens:{surface:"--hpf-surface",line:"--hpf-line",accent:"--hpf-accent"}};function r({cards:n,tokens:e}){return` ${n.join(",\n ")} {\n min-width: 0;\n padding: 14px;\n border: 1px solid var(${e.line});\n border-radius: 11px;\n background: var(${e.surface});\n }`}function i({form:n,footer:e,tokens:r}){return` ${n} input:focus-visible,\n ${n} select:focus-visible,\n ${n} button:focus-visible,\n ${e} button:focus-visible {\n outline: 2px solid var(${r.accent});\n outline-offset: 2px;\n }`}function t({form:n}){return` ${n} button:disabled,\n ${n} input:disabled,\n ${n} select:disabled { opacity: .4; cursor: default; }`}function o({form:n,prefix:e}){return` ${n} .${e}-switch {\n display: flex;\n min-width: 0;\n min-height: 54px;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n margin: 0;\n color: var(--primary-text-color);\n cursor: pointer;\n }`}function a({prefix:n}){return` .${n}-switch-caption { display: grid; min-width: 0; gap: 3px; }\n .${n}-switch-caption strong { font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }\n .${n}-switch-caption small { font-size: .8125rem; color: var(--secondary-text-color); overflow-wrap: anywhere; }`}function s(n,{withSwitch:e=!0}={}){return`${function(n,e){const s=e?`\n${o(n)}\n${a(n)}`:"";return`${r(n)}\n${i(n)}\n${t(n)}${s}`}(n,e)}\n${function(n){const{form:e,prefix:r,tokens:i}=n;return` ${e} { display: grid; gap: 12px; }\n .${r}-head {\n display: flex;\n min-width: 0;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n margin: 0 0 10px;\n }\n .${r}-head h3 { margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 600; }\n .${r}-row {\n display: flex;\n min-width: 0;\n min-height: 44px;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n }\n .${r}-row > .${r}-label { min-width: 0; overflow-wrap: anywhere; }\n .${r}-seg {\n display: flex;\n min-width: 0;\n border: 1px solid var(${i.line});\n border-radius: 9px;\n overflow: hidden;\n }\n .${r}-seg label {\n display: flex;\n min-width: 0;\n min-height: 44px;\n flex: 1 1 0;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 0 12px;\n cursor: pointer;\n text-align: center;\n }\n .${r}-seg label + label { border-left: 1px solid var(${i.line}); }\n .${r}-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }\n .${r}-seg label:has(input:checked) {\n background: var(${i.accent});\n color: var(--text-primary-color, #fff);\n }\n .${r}-seg label:has(input:focus-visible) {\n outline: 2px solid var(${i.accent});\n outline-offset: -2px;\n }\n .${r}-color { display: flex; min-width: 0; align-items: center; gap: 12px; }\n .${r}-color hp-color-opacity { flex: 0 0 auto; }`}(n)}\n`}const c=" hp-dialog .hpf-form {\n --hpf-surface: var(--card-background-color, #fff);\n --hpf-line: var(--hp-line, var(--divider-color, #dce5e7));\n --hpf-accent: var(--hp-accent, var(--primary-color));\n }\n";export{e as C,n as S,r as a,i as b,c,t as d,o as e,s as f,a as g};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+5
-5
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";import{l as t,bw as s,A as e,aL as a,c as o,g as l,cK as i,ar as h,am as n,au as c,cL as r,cQ as p,cM as d,cN as _,cO as u,cP as g,cR as m,cS as b,al as $,ao as v,ap as f,as as y,at as w,aq as D}from"./houseplan-card-DFNMMAfi.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-C46YwZX0.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?o`<hp-help data-help-key=${l}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";import{l as t,bw as s,A as e,aL as a,c as o,g as l,cK as i,ar as h,am as n,au as c,cL as r,cQ as p,cM as d,cN as _,cO as u,cP as g,cR as m,cS as b,al as $,ao as v,ap as f,as as y,at as w,aq as D}from"./houseplan-card-CKashuzz.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-DoI7yjX7.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?o`<hp-help data-help-key=${l}
|
||||
.text=${a(h,l)} .ariaLabel=${a(h,i)}></hp-help>`:e}_openSpaceDialog(t,s){if(!this.host._serverStorage||!this.host._serverCfg)return void this.host._showToast(this.host._t("toast.integration_missing"));if("edit"===t){const e=this.host._serverCfg.spaces.find(t=>t.id===s);if(!e)return;const a=l(e),o=e.settings?.custom_fill&&"object"==typeof e.settings.custom_fill?i(e.settings.custom_fill):null,p="none"===a.fill?{...o||h,a:0}:o;return void(this.host._spaceDialog={mode:t,spaceId:s,title:e.title,planUrl:e.plan_url||null,planFile:null,source:e.plan_url?"file":"draw",showBorders:a.showBorders,showNames:a.showNames,zeroWallStyle:r(e),displayTouched:!0,hideDecor:a.hideDecor,hideOpenings:a.hideOpenings,roomColor:a.color,roomOpacity:a.opacity,fillMode:"none"===a.fill?"custom":a.fill,customFill:p,glowEnabled:a.glow,bgColor:a.bgColor,bgMode:"static"===e.settings?.bg_mode||"daynight"===e.settings?.bg_mode?e.settings.bg_mode:null,northDeg:c({},e.settings),sunRays:"boolean"==typeof e.settings?.sun_rays?e.settings.sun_rays:null,tempMin:a.tempMin,tempMax:a.tempMax,showLqi:a.showLqi??this.host._config?.show_signal??!0,cardFontScale:a.cardFontScale,labelTemp:a.labelTemp,labelHum:a.labelHum,labelLqi:a.labelLqi,labelLight:a.labelLight,cellCm:Number(e.cell_cm)>0?Number(e.cell_cm):5,cellCmInput:n(Number(e.cell_cm)>0?Number(e.cell_cm):5,this.host._imperial),cellCmTouched:!1,busy:!1})}const e=p(this.host._imperial);this.host._spaceDialog={mode:t,title:"",planUrl:null,planFile:null,...m(),hideDecor:!1,hideOpenings:!1,zeroWallStyle:"dashed",roomColor:g,roomOpacity:u,fillMode:"custom",customFill:{...h,a:0},glowEnabled:!0,bgColor:null,bgMode:"daynight",northDeg:null,sunRays:null,tempMin:_,tempMax:d,showLqi:this.host._config?.show_signal??!0,cardFontScale:1,labelTemp:!1,labelHum:!1,labelLqi:!1,labelLight:!1,cellCm:e,cellCmInput:n(e,this.host._imperial),cellCmTouched:!1,busy:!1}}async _pickPlanFile(t){const s=t.target,e=s.files?.[0];if(!e||!this.host._spaceDialog)return;s.value="";const a=await k(e);if("reject"===a.kind)return void this.host._showToast(this.host._t("toast.plan_formats"));if("guard"===a.kind)return void(this.host._backdropGuard=a.state);const o=await S(e,a.ext,e.name);this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:o})}_renderBackdropGuard(){return C(this.host,t=>{this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:t})},()=>{this.host._backdropGuard=null},this.host.hass)??e}_useServerPlan(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,planUrl:t,planFile:null,pickSaved:!1,savedAspect:void 0},this.host._aspectJob=this._readPlanAspect(t))}async _readPlanAspect(t){for(let s=0;s<40;s++){const s=this.host._display(t);if(s){const e=await new Promise(t=>{const e=new Image;e.onload=()=>t(e.naturalWidth&&e.naturalHeight?e.naturalWidth/e.naturalHeight:0),e.onerror=()=>t(0),e.src=s}),a=this.host._spaceDialog;return a&&a.planUrl===t&&Number.isFinite(e)&&e>0?(this.host._spaceDialog={...a,savedAspect:e},e):0}if(await new Promise(t=>setTimeout(t,150)),this.host._spaceDialog?.planUrl!==t)return 0}return 0}async _deleteServerPlan(t){const s=this.host._spaceDialog,e=s?.saved?.find(s=>s.name===t);if(!s||!e||e.used_by.length||e.url===s.planUrl)return;const a=await this.host._confirmDanger({key:"delete-plan",kind:"destructive",title:this.host._t("confirm.delete_plan_title"),message:this.host._t("confirm.delete_plan_body"),objectName:t,confirmLabel:this.host._t("btn.delete"),cancelLabel:this.host._t("btn.cancel")}),o=this.host._spaceDialog,l=o?.saved?.find(s=>s.name===t);if(a&&o&&l&&l.url===e.url&&l.modified===e.modified&&!l.used_by.length&&l.url!==o.planUrl)try{await this.host.hass.callWS({type:"houseplan/plans/delete",name:t});const s=this.host._spaceDialog;s?.saved&&(this.host._spaceDialog={...s,saved:s.saved.filter(s=>s.name!==t)})}catch(t){this.host._showToast(this.host._t("toast.plan_delete_failed",{err:this.host._errText(t)}))}}_renderServerPlans(t){if(t.savedBusy)return o`<div class="savedplans muted">${this.host._t("space.loading")}</div>`;const s=t.saved||[];if(!s.length)return o`<div class="savedplans muted">${this.host._t("space.no_saved")}</div>`;return o`<div class="savedplans">
|
||||
${s.map(s=>{return o`
|
||||
<div class="savedplan ${s.url===t.planUrl?"cur":""}">
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";import{c as a,A as e}from"./houseplan-card-DFNMMAfi.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-Dtrdu0OS.js";import"./form-kit.styles-DGBtCcDL.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__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";import{c as a,A as e}from"./houseplan-card-CKashuzz.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-DYK5EaLe.js";import"./form-kit.styles-BpyurJKJ.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
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";import{ed as e,J as t,b4 as n,H as i,aa as o,a8 as r,bU as s,bT as a,b3 as l,b2 as c,b5 as d,ee as u,ef as f,bW as m,eg as g}from"./houseplan-card-DFNMMAfi.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 o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,l="entity"===r?e.registry.entities?.[s]:null,c="device"===r?s:l?.device_id,d="device"===r?a?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.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;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(s))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function b(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*_(l,c,d=b){try{let u=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=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(l,m.physicalBodies)),yield}const b=m.cellCm/o;u+=a(v)*b*b/1e4}return u}catch{return null}}function h(e,t,n=b){const i=_(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.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{_ as cleanFloorAreaSteps,v as representedHaDeviceIds,b as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";import{ed as e,J as t,b4 as n,H as i,aa as o,a8 as r,bU as s,bT as a,b3 as l,b2 as c,b5 as d,ee as u,ef as f,bW as m,eg as g}from"./houseplan-card-CKashuzz.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 o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,l="entity"===r?e.registry.entities?.[s]:null,c="device"===r?s:l?.device_id,d="device"===r?a?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.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;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(s))&&t.add(c)}return t}function b(e,t){return e?.length?t?.length?g(e,t):e:t}function y(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*_(l,c,d=y){try{let u=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=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=b(v,s(l,m.physicalBodies)),yield}const y=m.cellCm/o;u+=a(v)*y*y/1e4}return u}catch{return null}}function h(e,t,n=y){const i=_(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.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{_ as cleanFloorAreaSteps,v as representedHaDeviceIds,y as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";import{n as t,b as n}from"./zigbee-topology-CEO3KGma.js";import{aR as e}from"./houseplan-card-DFNMMAfi.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};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";import{n as t,b as n}from"./zigbee-topology-CT-3MG-W.js";import{aR as e}from"./houseplan-card-CKashuzz.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};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="6b9f52d3665b9d657d658b30eb1ebf0f891a4dbd0d52594a7b038e3f0d954d48";try{await import("./houseplan-assets/houseplan-card-DFNMMAfi.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__="3ab9d99b7b0bb2a8a913345adf926d0479a4524af1e1bf6ab83b55921179e458";try{await import("./houseplan-assets/houseplan-card-CKashuzz.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)}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user