mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
Prepare v1.76.0-beta.2
Проверка (CI) / Классификация изменённых файлов (push) Successful in 1m20s
Проверка (CI) / Предполёт: документация, провенанс, процесс (push) Failing after 1m54s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 25s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 25s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 1m28s
Проверка (CI) / Мутанты по диффу (4/6): затронутые свидетели краснеют (push) Failing after 2m19s
Проверка (CI) / Мутанты по диффу (2/6): затронутые свидетели краснеют (push) Failing after 3m22s
Проверка (CI) / Мутанты по диффу (1/6): затронутые свидетели краснеют (push) Failing after 3m45s
Проверка (CI) / Мутанты по диффу (5/6): затронутые свидетели краснеют (push) Failing after 1m36s
Проверка (CI) / Геометрия: TS/Python parity исполнена (push) Failing after 38s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 21s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 2m36s
Проверка (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) / Мутанты по диффу (6/6): затронутые свидетели краснеют (push) Failing after 2m40s
Проверка (CI) / Мутанты по диффу (3/6): затронутые свидетели краснеют (push) Failing after 14m19s
Проверка (CI) / Доказательство выполненных проверок (push) Failing after 15s
Проверка (CI) / Классификация изменённых файлов (push) Successful in 1m20s
Проверка (CI) / Предполёт: документация, провенанс, процесс (push) Failing after 1m54s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 25s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 25s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 1m28s
Проверка (CI) / Мутанты по диффу (4/6): затронутые свидетели краснеют (push) Failing after 2m19s
Проверка (CI) / Мутанты по диффу (2/6): затронутые свидетели краснеют (push) Failing after 3m22s
Проверка (CI) / Мутанты по диффу (1/6): затронутые свидетели краснеют (push) Failing after 3m45s
Проверка (CI) / Мутанты по диффу (5/6): затронутые свидетели краснеют (push) Failing after 1m36s
Проверка (CI) / Геометрия: TS/Python parity исполнена (push) Failing after 38s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 21s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 2m36s
Проверка (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) / Мутанты по диффу (6/6): затронутые свидетели краснеют (push) Failing after 2m40s
Проверка (CI) / Мутанты по диффу (3/6): затронутые свидетели краснеют (push) Failing after 14m19s
Проверка (CI) / Доказательство выполненных проверок (push) Failing after 15s
Package the validated beta candidate with the current S8 membership and synchronized release metadata. Release: v1.76.0-beta.2 Issue: #556 Issue: #558 Issue: #560 Issue: #563 Issue: #564 Issue: #565 Issue: #566 Issue: #567 Issue: #568 Issue: #569 User-Visible: yes
This commit is contained in:
@@ -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.1"
|
||||
VERSION = "1.76.0-beta.2"
|
||||
DECOR_ASSETS_API_VERSION = 1
|
||||
SUMMARY_PANEL_API_VERSION = 1
|
||||
|
||||
|
||||
@@ -1,311 +1,311 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5",
|
||||
"fingerprint": "74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 290269,
|
||||
"initialViewGzipBytes": 290264,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 291792,
|
||||
"initialPanelGzipBytes": 291787,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2326,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/de-Dt-zRmhX.js",
|
||||
"houseplan-assets/editor-D2p_-RnD.js",
|
||||
"houseplan-assets/fr-BRk2IEO8.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CI6k6rk-.js",
|
||||
"houseplan-assets/iso-scene-render-DYujIy04.js",
|
||||
"houseplan-assets/live-interaction-runtime-F2M4YAVj.js",
|
||||
"houseplan-assets/pdf-export-BuP_QUBU.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/de-CqAe7_tE.js",
|
||||
"houseplan-assets/editor-Bj456-QF.js",
|
||||
"houseplan-assets/fr-6DtT8TWD.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CX3rLqEO.js",
|
||||
"houseplan-assets/iso-scene-render-ByC7EDVa.js",
|
||||
"houseplan-assets/live-interaction-runtime-CO9GuTnQ.js",
|
||||
"houseplan-assets/pdf-export-DtC_EPb5.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-sByomcRQ.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"lazyGzipBytes": 418599,
|
||||
"lazyGzipBytes": 418580,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/editor-D2p_-RnD.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/editor-Bj456-QF.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205055,
|
||||
"lazyEditorGzipBytes": 205043,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 13919,
|
||||
"lazyOnboardingGzipBytes": 13916,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-Dt-zRmhX.js",
|
||||
"houseplan-assets/fr-BRk2IEO8.js"
|
||||
"houseplan-assets/de-CqAe7_tE.js",
|
||||
"houseplan-assets/fr-6DtT8TWD.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54845,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/iso-scene-render-DYujIy04.js"
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/iso-scene-render-ByC7EDVa.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13453,
|
||||
"lazyIsometricGzipBytes": 13455,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10255,
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/pdf-export-BuP_QUBU.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/pdf-export-DtC_EPb5.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120129,
|
||||
"lazyPdfGzipBytes": 120126,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"sha256": "2d203b196cf03fabfb9bb7aa220a616028833ee997615cbf5077d8ae7a40a5b4",
|
||||
"path": "houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"sha256": "78f118c030ea12bf7100b0bfbdd6fed33c5dc05bf7995ad22a39ec8f7e8f270b",
|
||||
"rawBytes": 19956,
|
||||
"gzipBytes": 6881,
|
||||
"gzipBytes": 6879,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-Dt-zRmhX.js",
|
||||
"sha256": "04dbeda01d01120de05cb7ceabe8597b2143aefcf61bfb17a204fbd3b449089a",
|
||||
"path": "houseplan-assets/de-CqAe7_tE.js",
|
||||
"sha256": "75472ecaf81e38bda8863c4e33a1eb0df92dbfda73e404d9bc1f3425ba227185",
|
||||
"rawBytes": 91437,
|
||||
"gzipBytes": 27709,
|
||||
"gzipBytes": 27708,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-D2p_-RnD.js",
|
||||
"sha256": "8b8751474b15b2001765bae0f5a0acc46833b0d80edaf8d3c4a8a3355239e4d2",
|
||||
"path": "houseplan-assets/editor-Bj456-QF.js",
|
||||
"sha256": "2f72cb7b627b545f2b064b4d7681f8100fef5d20923114fb98a96601281c6cf2",
|
||||
"rawBytes": 3832,
|
||||
"gzipBytes": 1584,
|
||||
"gzipBytes": 1583,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-BRk2IEO8.js",
|
||||
"sha256": "6f0625e4d3e8ab672710050ced9ae287f0a44af9e8a710f062a9619798ec1988",
|
||||
"path": "houseplan-assets/fr-6DtT8TWD.js",
|
||||
"sha256": "f54edff32a74fcd97767e5b3ae0bbfd04e13c38b08e1cb535067699172b6ca27",
|
||||
"rawBytes": 93701,
|
||||
"gzipBytes": 27136,
|
||||
"gzipBytes": 27137,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"sha256": "01c4624eda127bc762fce2aa12fa0989873648a504d198c9d34b76ae37bec44d",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"sha256": "12f42b30b0d2c72681bad2928c9d847d31cec487bdb490544e2f1dcaeaad875a",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10255,
|
||||
"gzipBytes": 10254,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-JshI3Lhp.js",
|
||||
"sha256": "34bd1f95ed78a91bc2176c6883eabecc0d89b727e1d3696107ffbeb867d446ac",
|
||||
"path": "houseplan-assets/guard-DBKIUfbp.js",
|
||||
"sha256": "42e87d66b74ad024880fc0aff319092b8539a19b27f6163363514c05a55921ff",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 369,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"sha256": "c236766293f16b46dcb42e90ced1f9e107028808587d5a19d07b84891de3f8d2",
|
||||
"path": "houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"sha256": "8c136c1fe9a35e06f0547fd196eac3d050eab295a8709e47ea1539c7da8cc774",
|
||||
"rawBytes": 1031164,
|
||||
"gzipBytes": 289466,
|
||||
"gzipBytes": 289461,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-Dt-zRmhX.js",
|
||||
"houseplan-assets/editor-D2p_-RnD.js",
|
||||
"houseplan-assets/fr-BRk2IEO8.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CI6k6rk-.js",
|
||||
"houseplan-assets/iso-scene-render-DYujIy04.js",
|
||||
"houseplan-assets/live-interaction-runtime-F2M4YAVj.js",
|
||||
"houseplan-assets/pdf-export-BuP_QUBU.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js"
|
||||
"houseplan-assets/de-CqAe7_tE.js",
|
||||
"houseplan-assets/editor-Bj456-QF.js",
|
||||
"houseplan-assets/fr-6DtT8TWD.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CX3rLqEO.js",
|
||||
"houseplan-assets/iso-scene-render-ByC7EDVa.js",
|
||||
"houseplan-assets/live-interaction-runtime-CO9GuTnQ.js",
|
||||
"houseplan-assets/pdf-export-DtC_EPb5.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"sha256": "d17d03703a030219b723d9c29e50c04515284c397f3c2a4e500dbf98144e149e",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"sha256": "1fe3d26ea0cca0ebc832ce613252e07dac376a695c0d301d1445443b3757ac53",
|
||||
"rawBytes": 668940,
|
||||
"gzipBytes": 178535,
|
||||
"gzipBytes": 178530,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-sByomcRQ.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js",
|
||||
"sha256": "b15071f2dada1c45f2750faf63e3dca632cb48c9f8b8420660eb802e5278cfdb",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js",
|
||||
"sha256": "1645f0de954897116fe118bd5401620787de2a534cc1ee63031b527d8b53d189",
|
||||
"rawBytes": 28287,
|
||||
"gzipBytes": 7038,
|
||||
"gzipBytes": 7037,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CI6k6rk-.js",
|
||||
"sha256": "6a088a1e5b0ee7446da4d90af50b0e5e4a01873e0dbfd0dcbd104483d2141c52",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CX3rLqEO.js",
|
||||
"sha256": "436d728f938f6c10c6b5e1b1811630b206c4f288ae095030587c6f89c0e34906",
|
||||
"rawBytes": 10756,
|
||||
"gzipBytes": 3684,
|
||||
"gzipBytes": 3679,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-sByomcRQ.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-DYujIy04.js",
|
||||
"sha256": "4b43e9012bd547f7b5766bc6e7f4707b9d58d553e4c8a017b298ae977d917fa6",
|
||||
"path": "houseplan-assets/iso-scene-render-ByC7EDVa.js",
|
||||
"sha256": "eef97bc8600452c8879051e86055efefae1a4577567db70f462776c100eea579",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13083,
|
||||
"gzipBytes": 13086,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-F2M4YAVj.js",
|
||||
"sha256": "0fa030ae07bb5fcb3d8b5a5c5058ed13fbe95917bea3899539a9ad40f2eb75f9",
|
||||
"path": "houseplan-assets/live-interaction-runtime-CO9GuTnQ.js",
|
||||
"sha256": "88f116dd07bce29f0803bfcaaf12db5d633c9eba4908bdcb889a5dabe1d4d838",
|
||||
"rawBytes": 8018,
|
||||
"gzipBytes": 3167,
|
||||
"gzipBytes": 3168,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-BuP_QUBU.js",
|
||||
"sha256": "dacfd6006cedeb095940b759e30f7813f54de6ef24100d2c388f64262c08bd5e",
|
||||
"path": "houseplan-assets/pdf-export-DtC_EPb5.js",
|
||||
"sha256": "9709712290440090599d72ee1f9c6259adc3cba09d09f5d96e519020c3663102",
|
||||
"rawBytes": 236244,
|
||||
"gzipBytes": 109874,
|
||||
"gzipBytes": 109872,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-HEZMbuqG.js",
|
||||
"sha256": "2dd3a65da05139342dc8d1b99bce18e4d9e306adf41d5a929770032a205cb7da",
|
||||
"path": "houseplan-assets/summary-panel-editor-CWqNlMOD.js",
|
||||
"sha256": "1364e8033b275cde43cc53a68b9aac6d4c2707d661b0b8dd1bb2a8be550dfab2",
|
||||
"rawBytes": 14824,
|
||||
"gzipBytes": 3401,
|
||||
"gzipBytes": 3398,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-DG14yqMW.js",
|
||||
"sha256": "457ba5e75153796317e043bae602582c628353cfc57f6ba81c7721eeab59993e",
|
||||
"path": "houseplan-assets/summary-panel-metrics-BO0KhesH.js",
|
||||
"sha256": "97b014aab427c7472d8f465891e866f8b1488155c45d2435dff00f60cbb3255d",
|
||||
"rawBytes": 2610,
|
||||
"gzipBytes": 1305,
|
||||
"gzipBytes": 1306,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js",
|
||||
"sha256": "d3e34121553c7f24ccfc423f2268d4532e2d864f59a6f227530f1371a85e8992",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js",
|
||||
"sha256": "fff8b723ebc1912effbd81d167cd4f8b98517ca9295a8819663d54d5d69acb51",
|
||||
"rawBytes": 73366,
|
||||
"gzipBytes": 20089,
|
||||
"gzipBytes": 20088,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-HEZMbuqG.js",
|
||||
"houseplan-assets/summary-panel-metrics-DG14yqMW.js"
|
||||
"houseplan-assets/summary-panel-editor-CWqNlMOD.js",
|
||||
"houseplan-assets/summary-panel-metrics-BO0KhesH.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-Cy3WZyQ_.js",
|
||||
"sha256": "9298d7c7907f7fcf3baa0eb6682e1e37bb46866c0b6b8d31b1108a00ad92bf5b",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7430,
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-sByomcRQ.js",
|
||||
"sha256": "13d44dea277a6bb984abbdfa1a9246369e4ef9886c0d28e38ef3ab98327e576d",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js",
|
||||
"sha256": "b0e9d308dc87cf596ce64189c3e88d510600bde67eb4b60c3d1cd4d7e5d456a2",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1764,
|
||||
"path": "houseplan-assets/zigbee-topology-torI07nL.js",
|
||||
"sha256": "7ac30adae966053bc84d05634b32069221b4f8cd58bfe5c6a3ab7da50335e1f6",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7428,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "8ca1d7e313a763b3fd24c0aa02ba0d9427cc0263a56d527d974cf9d6adcfb76b",
|
||||
"sha256": "bbcf3569a6edaf8475bebc56429c65d49802923dde9d1fba487068171f6eb9be",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 803,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "625c0fb3d5a2779710adf03ee199905d6439a4e5375535f5a278afb180f58c04",
|
||||
"sha256": "db358c8fd55babc928f9acb6abe341bc33cd7642e8e60b8ff7894f5c67255c2c",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2326,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
+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
+5
-5
@@ -1,14 +1,14 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-NzYP5Jm2.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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-DqlR1H6U.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);
|
||||
+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 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{dS as r,dT as t,dU as e}from"./houseplan-card-NzYP5Jm2.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{dS as r,dT as t,dU as e}from"./houseplan-card-DqlR1H6U.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
+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
+4
-4
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{l as t,b0 as s,A as e,t as a,b as o,cj as l,ck as i,cl as h,cm as c,aZ as n,cn as r,cs as p,co as d,cp as _,cq as u,cr as g,ct as m,cu as b,dp as $,dq as f,dr as v,aY as y,a_ as w,ds as D}from"./houseplan-card-NzYP5Jm2.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-B9Pg_H3G.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{l as t,b0 as s,A as e,t as a,b as o,cj as l,ck as i,cl as h,cm as c,aZ as n,cn as r,cs as p,co as d,cp as _,cq as u,cr as g,ct as m,cu as b,dp as $,dq as v,dr as f,aY as y,a_ as w,ds as D}from"./houseplan-card-DqlR1H6U.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-DCbvGxY2.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";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:n({},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:c(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:c(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":""}">
|
||||
@@ -85,13 +85,13 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f
|
||||
max=${c(F,this.host._imperial)}
|
||||
step="0.1"
|
||||
.value=${t.cellCmInput??c(t.cellCm,this.host._imperial)}
|
||||
@input=${s=>{const e=s.target.value,a=x(e),o=null==a?null:f(a,this.host._imperial);this.host._spaceDialog={...t,cellCmInput:e,cellCmTouched:!0,cellCm:null!=o&&o>0?Math.max(.1,Math.min(F,o)):t.cellCm}}} />
|
||||
@input=${s=>{const e=s.target.value,a=x(e),o=null==a?null:v(a,this.host._imperial);this.host._spaceDialog={...t,cellCmInput:e,cellCmTouched:!0,cellCm:null!=o&&o>0?Math.max(.1,Math.min(F,o)):t.cellCm}}} />
|
||||
<span class="opl">${this.host._t(this.host._imperial?"space.scale_unit_imperial":"space.scale_unit")}</span>
|
||||
</div>
|
||||
|
||||
<label class="dispsection">${this.host._t("space.display_section")}</label>
|
||||
<label class="srcrow">
|
||||
${this._boolInput(t.showBorders,s=>{this.host._spaceDialog=v(t,"showBorders",s)})}
|
||||
${this._boolInput(t.showBorders,s=>{this.host._spaceDialog=f(t,"showBorders",s)})}
|
||||
<span>${this.host._t("space.show_borders")}</span>
|
||||
</label>
|
||||
<div class="helpfieldlabel">
|
||||
@@ -107,7 +107,7 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f
|
||||
</option>
|
||||
</select>
|
||||
<label class="srcrow">
|
||||
${this._boolInput(t.showNames,s=>{this.host._spaceDialog=v(t,"showNames",s)})}
|
||||
${this._boolInput(t.showNames,s=>{this.host._spaceDialog=f(t,"showNames",s)})}
|
||||
<span>${this.host._t("space.show_names")}</span>
|
||||
</label>
|
||||
<label class="srcrow">
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{b as a,A as e}from"./houseplan-card-NzYP5Jm2.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-DcW95Urk.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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{b as a,A as e}from"./houseplan-card-DqlR1H6U.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-ospbRm0g.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__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as a,bn as s,a1 as c,a0 as l,ax as u,ea as d,eb as f,bq as m,ec as g}from"./houseplan-card-NzYP5Jm2.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 o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),a=i.binding.slice(o+1),s="device"===r?e.registry.devices?.[a]:null,c="entity"===r?e.registry.entities?.[a]:null,l="device"===r?a:c?.device_id,u="device"===r?s?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.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;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(a))&&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,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*b(c,l,u=_){try{let d=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=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=s(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(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=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};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as s,bn as a,a1 as c,a0 as l,ax as d,ea as u,eb as f,bq as m,ec as g}from"./houseplan-card-DqlR1H6U.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,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,d="device"===r?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"===r&&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,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}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,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;u+=a(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(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{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ 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
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{n as t,b as n}from"./zigbee-topology-Cy3WZyQ_.js";import{B as e}from"./houseplan-card-NzYP5Jm2.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{n as t,b as n}from"./zigbee-topology-torI07nL.js";import{B as e}from"./houseplan-card-DqlR1H6U.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";try{await import("./houseplan-assets/houseplan-card-NzYP5Jm2.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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";try{await import("./houseplan-assets/houseplan-card-DqlR1H6U.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
@@ -20,5 +20,5 @@
|
||||
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
|
||||
"requirements": [],
|
||||
"single_config_entry": true,
|
||||
"version": "1.76.0-beta.1"
|
||||
"version": "1.76.0-beta.2"
|
||||
}
|
||||
|
||||
Vendored
+140
-140
@@ -1,311 +1,311 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5",
|
||||
"fingerprint": "74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 290269,
|
||||
"initialViewGzipBytes": 290264,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 291792,
|
||||
"initialPanelGzipBytes": 291787,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2326,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/de-Dt-zRmhX.js",
|
||||
"houseplan-assets/editor-D2p_-RnD.js",
|
||||
"houseplan-assets/fr-BRk2IEO8.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CI6k6rk-.js",
|
||||
"houseplan-assets/iso-scene-render-DYujIy04.js",
|
||||
"houseplan-assets/live-interaction-runtime-F2M4YAVj.js",
|
||||
"houseplan-assets/pdf-export-BuP_QUBU.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/de-CqAe7_tE.js",
|
||||
"houseplan-assets/editor-Bj456-QF.js",
|
||||
"houseplan-assets/fr-6DtT8TWD.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CX3rLqEO.js",
|
||||
"houseplan-assets/iso-scene-render-ByC7EDVa.js",
|
||||
"houseplan-assets/live-interaction-runtime-CO9GuTnQ.js",
|
||||
"houseplan-assets/pdf-export-DtC_EPb5.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-sByomcRQ.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"lazyGzipBytes": 418599,
|
||||
"lazyGzipBytes": 418580,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/editor-D2p_-RnD.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/editor-Bj456-QF.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205055,
|
||||
"lazyEditorGzipBytes": 205043,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 13919,
|
||||
"lazyOnboardingGzipBytes": 13916,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-Dt-zRmhX.js",
|
||||
"houseplan-assets/fr-BRk2IEO8.js"
|
||||
"houseplan-assets/de-CqAe7_tE.js",
|
||||
"houseplan-assets/fr-6DtT8TWD.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54845,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/iso-scene-render-DYujIy04.js"
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/iso-scene-render-ByC7EDVa.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13453,
|
||||
"lazyIsometricGzipBytes": 13455,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10255,
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/pdf-export-BuP_QUBU.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/pdf-export-DtC_EPb5.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120129,
|
||||
"lazyPdfGzipBytes": 120126,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"sha256": "2d203b196cf03fabfb9bb7aa220a616028833ee997615cbf5077d8ae7a40a5b4",
|
||||
"path": "houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"sha256": "78f118c030ea12bf7100b0bfbdd6fed33c5dc05bf7995ad22a39ec8f7e8f270b",
|
||||
"rawBytes": 19956,
|
||||
"gzipBytes": 6881,
|
||||
"gzipBytes": 6879,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-Dt-zRmhX.js",
|
||||
"sha256": "04dbeda01d01120de05cb7ceabe8597b2143aefcf61bfb17a204fbd3b449089a",
|
||||
"path": "houseplan-assets/de-CqAe7_tE.js",
|
||||
"sha256": "75472ecaf81e38bda8863c4e33a1eb0df92dbfda73e404d9bc1f3425ba227185",
|
||||
"rawBytes": 91437,
|
||||
"gzipBytes": 27709,
|
||||
"gzipBytes": 27708,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-D2p_-RnD.js",
|
||||
"sha256": "8b8751474b15b2001765bae0f5a0acc46833b0d80edaf8d3c4a8a3355239e4d2",
|
||||
"path": "houseplan-assets/editor-Bj456-QF.js",
|
||||
"sha256": "2f72cb7b627b545f2b064b4d7681f8100fef5d20923114fb98a96601281c6cf2",
|
||||
"rawBytes": 3832,
|
||||
"gzipBytes": 1584,
|
||||
"gzipBytes": 1583,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-BRk2IEO8.js",
|
||||
"sha256": "6f0625e4d3e8ab672710050ced9ae287f0a44af9e8a710f062a9619798ec1988",
|
||||
"path": "houseplan-assets/fr-6DtT8TWD.js",
|
||||
"sha256": "f54edff32a74fcd97767e5b3ae0bbfd04e13c38b08e1cb535067699172b6ca27",
|
||||
"rawBytes": 93701,
|
||||
"gzipBytes": 27136,
|
||||
"gzipBytes": 27137,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"sha256": "01c4624eda127bc762fce2aa12fa0989873648a504d198c9d34b76ae37bec44d",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"sha256": "12f42b30b0d2c72681bad2928c9d847d31cec487bdb490544e2f1dcaeaad875a",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10255,
|
||||
"gzipBytes": 10254,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-JshI3Lhp.js",
|
||||
"sha256": "34bd1f95ed78a91bc2176c6883eabecc0d89b727e1d3696107ffbeb867d446ac",
|
||||
"path": "houseplan-assets/guard-DBKIUfbp.js",
|
||||
"sha256": "42e87d66b74ad024880fc0aff319092b8539a19b27f6163363514c05a55921ff",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 369,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"sha256": "c236766293f16b46dcb42e90ced1f9e107028808587d5a19d07b84891de3f8d2",
|
||||
"path": "houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"sha256": "8c136c1fe9a35e06f0547fd196eac3d050eab295a8709e47ea1539c7da8cc774",
|
||||
"rawBytes": 1031164,
|
||||
"gzipBytes": 289466,
|
||||
"gzipBytes": 289461,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-Dt-zRmhX.js",
|
||||
"houseplan-assets/editor-D2p_-RnD.js",
|
||||
"houseplan-assets/fr-BRk2IEO8.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CI6k6rk-.js",
|
||||
"houseplan-assets/iso-scene-render-DYujIy04.js",
|
||||
"houseplan-assets/live-interaction-runtime-F2M4YAVj.js",
|
||||
"houseplan-assets/pdf-export-BuP_QUBU.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js"
|
||||
"houseplan-assets/de-CqAe7_tE.js",
|
||||
"houseplan-assets/editor-Bj456-QF.js",
|
||||
"houseplan-assets/fr-6DtT8TWD.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CX3rLqEO.js",
|
||||
"houseplan-assets/iso-scene-render-ByC7EDVa.js",
|
||||
"houseplan-assets/live-interaction-runtime-CO9GuTnQ.js",
|
||||
"houseplan-assets/pdf-export-DtC_EPb5.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-rFPiRjPW.js",
|
||||
"sha256": "d17d03703a030219b723d9c29e50c04515284c397f3c2a4e500dbf98144e149e",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-BjAw4ds1.js",
|
||||
"sha256": "1fe3d26ea0cca0ebc832ce613252e07dac376a695c0d301d1445443b3757ac53",
|
||||
"rawBytes": 668940,
|
||||
"gzipBytes": 178535,
|
||||
"gzipBytes": 178530,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-sByomcRQ.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-D9DACIGp.js",
|
||||
"sha256": "b15071f2dada1c45f2750faf63e3dca632cb48c9f8b8420660eb802e5278cfdb",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BtzaN0OP.js",
|
||||
"sha256": "1645f0de954897116fe118bd5401620787de2a534cc1ee63031b527d8b53d189",
|
||||
"rawBytes": 28287,
|
||||
"gzipBytes": 7038,
|
||||
"gzipBytes": 7037,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B9Pg_H3G.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/backdrop-pick-DCbvGxY2.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CI6k6rk-.js",
|
||||
"sha256": "6a088a1e5b0ee7446da4d90af50b0e5e4a01873e0dbfd0dcbd104483d2141c52",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CX3rLqEO.js",
|
||||
"sha256": "436d728f938f6c10c6b5e1b1811630b206c4f288ae095030587c6f89c0e34906",
|
||||
"rawBytes": 10756,
|
||||
"gzipBytes": 3684,
|
||||
"gzipBytes": 3679,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-sByomcRQ.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-DYujIy04.js",
|
||||
"sha256": "4b43e9012bd547f7b5766bc6e7f4707b9d58d553e4c8a017b298ae977d917fa6",
|
||||
"path": "houseplan-assets/iso-scene-render-ByC7EDVa.js",
|
||||
"sha256": "eef97bc8600452c8879051e86055efefae1a4577567db70f462776c100eea579",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13083,
|
||||
"gzipBytes": 13086,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-JshI3Lhp.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/guard-DBKIUfbp.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-F2M4YAVj.js",
|
||||
"sha256": "0fa030ae07bb5fcb3d8b5a5c5058ed13fbe95917bea3899539a9ad40f2eb75f9",
|
||||
"path": "houseplan-assets/live-interaction-runtime-CO9GuTnQ.js",
|
||||
"sha256": "88f116dd07bce29f0803bfcaaf12db5d633c9eba4908bdcb889a5dabe1d4d838",
|
||||
"rawBytes": 8018,
|
||||
"gzipBytes": 3167,
|
||||
"gzipBytes": 3168,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-BuP_QUBU.js",
|
||||
"sha256": "dacfd6006cedeb095940b759e30f7813f54de6ef24100d2c388f64262c08bd5e",
|
||||
"path": "houseplan-assets/pdf-export-DtC_EPb5.js",
|
||||
"sha256": "9709712290440090599d72ee1f9c6259adc3cba09d09f5d96e519020c3663102",
|
||||
"rawBytes": 236244,
|
||||
"gzipBytes": 109874,
|
||||
"gzipBytes": 109872,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DJ48UIFN.js",
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CrvWoAvu.js",
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-HEZMbuqG.js",
|
||||
"sha256": "2dd3a65da05139342dc8d1b99bce18e4d9e306adf41d5a929770032a205cb7da",
|
||||
"path": "houseplan-assets/summary-panel-editor-CWqNlMOD.js",
|
||||
"sha256": "1364e8033b275cde43cc53a68b9aac6d4c2707d661b0b8dd1bb2a8be550dfab2",
|
||||
"rawBytes": 14824,
|
||||
"gzipBytes": 3401,
|
||||
"gzipBytes": 3398,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-DG14yqMW.js",
|
||||
"sha256": "457ba5e75153796317e043bae602582c628353cfc57f6ba81c7721eeab59993e",
|
||||
"path": "houseplan-assets/summary-panel-metrics-BO0KhesH.js",
|
||||
"sha256": "97b014aab427c7472d8f465891e866f8b1488155c45d2435dff00f60cbb3255d",
|
||||
"rawBytes": 2610,
|
||||
"gzipBytes": 1305,
|
||||
"gzipBytes": 1306,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-DcW95Urk.js",
|
||||
"sha256": "d3e34121553c7f24ccfc423f2268d4532e2d864f59a6f227530f1371a85e8992",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-ospbRm0g.js",
|
||||
"sha256": "fff8b723ebc1912effbd81d167cd4f8b98517ca9295a8819663d54d5d69acb51",
|
||||
"rawBytes": 73366,
|
||||
"gzipBytes": 20089,
|
||||
"gzipBytes": 20088,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-HEZMbuqG.js",
|
||||
"houseplan-assets/summary-panel-metrics-DG14yqMW.js"
|
||||
"houseplan-assets/summary-panel-editor-CWqNlMOD.js",
|
||||
"houseplan-assets/summary-panel-metrics-BO0KhesH.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-Cy3WZyQ_.js",
|
||||
"sha256": "9298d7c7907f7fcf3baa0eb6682e1e37bb46866c0b6b8d31b1108a00ad92bf5b",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7430,
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-sByomcRQ.js",
|
||||
"sha256": "13d44dea277a6bb984abbdfa1a9246369e4ef9886c0d28e38ef3ab98327e576d",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js",
|
||||
"houseplan-assets/zigbee-topology-torI07nL.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-C9Ha_xER.js",
|
||||
"sha256": "b0e9d308dc87cf596ce64189c3e88d510600bde67eb4b60c3d1cd4d7e5d456a2",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1764,
|
||||
"path": "houseplan-assets/zigbee-topology-torI07nL.js",
|
||||
"sha256": "7ac30adae966053bc84d05634b32069221b4f8cd58bfe5c6a3ab7da50335e1f6",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7428,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js",
|
||||
"houseplan-assets/zigbee-topology-Cy3WZyQ_.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "8ca1d7e313a763b3fd24c0aa02ba0d9427cc0263a56d527d974cf9d6adcfb76b",
|
||||
"sha256": "bbcf3569a6edaf8475bebc56429c65d49802923dde9d1fba487068171f6eb9be",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 803,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "625c0fb3d5a2779710adf03ee199905d6439a4e5375535f5a278afb180f58c04",
|
||||
"sha256": "db358c8fd55babc928f9acb6abe341bc33cd7642e8e60b8ff7894f5c67255c2c",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2326,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-NzYP5Jm2.js"
|
||||
"houseplan-assets/houseplan-card-DqlR1H6U.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
+5
-5
@@ -1,14 +1,14 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-NzYP5Jm2.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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-DqlR1H6U.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);
|
||||
+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 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{dS as r,dT as t,dU as e}from"./houseplan-card-NzYP5Jm2.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{dS as r,dT as t,dU as e}from"./houseplan-card-DqlR1H6U.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
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
+4
-4
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{l as t,b0 as s,A as e,t as a,b as o,cj as l,ck as i,cl as h,cm as c,aZ as n,cn as r,cs as p,co as d,cp as _,cq as u,cr as g,ct as m,cu as b,dp as $,dq as f,dr as v,aY as y,a_ as w,ds as D}from"./houseplan-card-NzYP5Jm2.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-B9Pg_H3G.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{l as t,b0 as s,A as e,t as a,b as o,cj as l,ck as i,cl as h,cm as c,aZ as n,cn as r,cs as p,co as d,cp as _,cq as u,cr as g,ct as m,cu as b,dp as $,dq as v,dr as f,aY as y,a_ as w,ds as D}from"./houseplan-card-DqlR1H6U.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-DCbvGxY2.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";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:n({},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:c(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:c(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":""}">
|
||||
@@ -85,13 +85,13 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f
|
||||
max=${c(F,this.host._imperial)}
|
||||
step="0.1"
|
||||
.value=${t.cellCmInput??c(t.cellCm,this.host._imperial)}
|
||||
@input=${s=>{const e=s.target.value,a=x(e),o=null==a?null:f(a,this.host._imperial);this.host._spaceDialog={...t,cellCmInput:e,cellCmTouched:!0,cellCm:null!=o&&o>0?Math.max(.1,Math.min(F,o)):t.cellCm}}} />
|
||||
@input=${s=>{const e=s.target.value,a=x(e),o=null==a?null:v(a,this.host._imperial);this.host._spaceDialog={...t,cellCmInput:e,cellCmTouched:!0,cellCm:null!=o&&o>0?Math.max(.1,Math.min(F,o)):t.cellCm}}} />
|
||||
<span class="opl">${this.host._t(this.host._imperial?"space.scale_unit_imperial":"space.scale_unit")}</span>
|
||||
</div>
|
||||
|
||||
<label class="dispsection">${this.host._t("space.display_section")}</label>
|
||||
<label class="srcrow">
|
||||
${this._boolInput(t.showBorders,s=>{this.host._spaceDialog=v(t,"showBorders",s)})}
|
||||
${this._boolInput(t.showBorders,s=>{this.host._spaceDialog=f(t,"showBorders",s)})}
|
||||
<span>${this.host._t("space.show_borders")}</span>
|
||||
</label>
|
||||
<div class="helpfieldlabel">
|
||||
@@ -107,7 +107,7 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f
|
||||
</option>
|
||||
</select>
|
||||
<label class="srcrow">
|
||||
${this._boolInput(t.showNames,s=>{this.host._spaceDialog=v(t,"showNames",s)})}
|
||||
${this._boolInput(t.showNames,s=>{this.host._spaceDialog=f(t,"showNames",s)})}
|
||||
<span>${this.host._t("space.show_names")}</span>
|
||||
</label>
|
||||
<label class="srcrow">
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+8
-8
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__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{b as a,A as e}from"./houseplan-card-NzYP5Jm2.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-DcW95Urk.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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{b as a,A as e}from"./houseplan-card-DqlR1H6U.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-ospbRm0g.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__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as a,bn as s,a1 as c,a0 as l,ax as u,ea as d,eb as f,bq as m,ec as g}from"./houseplan-card-NzYP5Jm2.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 o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),a=i.binding.slice(o+1),s="device"===r?e.registry.devices?.[a]:null,c="entity"===r?e.registry.entities?.[a]:null,l="device"===r?a:c?.device_id,u="device"===r?s?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.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;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(a))&&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,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*b(c,l,u=_){try{let d=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=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=s(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(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=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};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as s,bn as a,a1 as c,a0 as l,ax as d,ea as u,eb as f,bq as m,ec as g}from"./houseplan-card-DqlR1H6U.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,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,d="device"===r?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"===r&&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,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}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,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;u+=a(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(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{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ 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
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";import{n as t,b as n}from"./zigbee-topology-Cy3WZyQ_.js";import{B as e}from"./houseplan-card-NzYP5Jm2.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";import{n as t,b as n}from"./zigbee-topology-torI07nL.js";import{B as e}from"./houseplan-card-DqlR1H6U.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="872076741677c95a78bbd45aa6a6eefb714f591bdaa16fff0cc5f3bf977e63b5";try{await import("./houseplan-assets/houseplan-card-NzYP5Jm2.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__="74cbeb9792716ab64cfbcf339d3044c6e8ae33533bdef7216a6d7d513ae04091";try{await import("./houseplan-assets/houseplan-card-DqlR1H6U.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
@@ -2,6 +2,8 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## v1.76.0-beta.2 — 2026-09-14
|
||||
|
||||
- Space navigation now exposes the current space to assistive technology, an
|
||||
alarm is no longer repeated in a device's accessible name, and keyboard
|
||||
focus opens the same device tooltip as mouse hover. Room-label colours and
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
## Не выпущено
|
||||
|
||||
## v1.76.0-beta.2 — 2026-09-14
|
||||
|
||||
- Навигация по пространствам теперь сообщает вспомогательным технологиям
|
||||
текущее пространство, тревога больше не повторяется в доступном имени
|
||||
устройства, а клавиатурный фокус открывает ту же подсказку устройства, что и
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<!-- release: v1.76.0-beta.1 -->
|
||||
<!-- release: v1.76.0-beta.2 -->
|
||||
|
||||
## Основное
|
||||
|
||||
- План больше не откатывается к старой версии из-за запоздавшей загрузки подложки и не показывает пустую полосу у входящего края при перетаскивании и масштабировании ([#543](https://github.com/Matysh/houseplan-card/issues/543), [#544](https://github.com/Matysh/houseplan-card/issues/544)).
|
||||
- Настройки видимости и размера сводной панели больше не переходят между карточками House Plan после полной перезагрузки Masonry ([#561](https://github.com/Matysh/houseplan-card/issues/561)).
|
||||
- Масштабирование щипком больше не запускает действие устройства, а в плотной группе нажатие и наведение достаются именно видимому значку под указателем ([#563](https://github.com/Matysh/houseplan-card/issues/563), [#564](https://github.com/Matysh/houseplan-card/issues/564)).
|
||||
- Навигация по пространствам и устройствам стала понятнее для вспомогательных технологий; клавиатурный фокус теперь показывает и сохраняет подсказку устройства ([#565](https://github.com/Matysh/houseplan-card/issues/565)).
|
||||
- Мелкие исправления и улучшения.
|
||||
|
||||
## Highlights
|
||||
|
||||
- The plan no longer rolls back to an older version because a background image loaded late, and dragging or pinching no longer reveals a blank strip along the incoming edge ([#543](https://github.com/Matysh/houseplan-card/issues/543), [#544](https://github.com/Matysh/houseplan-card/issues/544)).
|
||||
- Summary-panel visibility and size preferences no longer move between House Plan cards after a full Masonry reload ([#561](https://github.com/Matysh/houseplan-card/issues/561)).
|
||||
- Pinch-zooming no longer triggers a device action, and in a dense group the painted marker under the pointer now receives hover and activation ([#563](https://github.com/Matysh/houseplan-card/issues/563), [#564](https://github.com/Matysh/houseplan-card/issues/564)).
|
||||
- Space and device navigation is clearer to assistive technology; keyboard focus now opens and preserves the device tooltip ([#565](https://github.com/Matysh/houseplan-card/issues/565)).
|
||||
- Small fixes and improvements.
|
||||
|
||||
Сообщество / Community: [Telegram](https://t.me/ha_houseplan)
|
||||
|
||||
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.1/docs/CHANGELOG.ru.md)
|
||||
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.1/docs/CHANGELOG.md)
|
||||
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.2/docs/CHANGELOG.ru.md)
|
||||
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.2/docs/CHANGELOG.md)
|
||||
|
||||
+3
-3
@@ -17,12 +17,12 @@ change must pass through a published beta/RC before stable. Stable release
|
||||
commits are promotion-only (versions, generated bundles and release/changelog
|
||||
metadata). Only an explicit owner-approved emergency hotfix may skip this gate.
|
||||
|
||||
## Snapshot (2026-09-13)
|
||||
## Snapshot (2026-09-14)
|
||||
|
||||
| Item | State |
|
||||
|---|---|
|
||||
| Version | **v1.76.0-beta.1** 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.1 candidate** — the first beta after stable v1.75.0 is prepared from `dev`; `main` remains on v1.75.0. User-visible fixes keep the newest accepted plan and its instant-start cache together during overlapping reloads (#543), keep the already rendered scene covering the card throughout pan and pinch gestures (#544), restore the complete radar source inventory in preview and permission checks (#545), avoid double-counting a staged attachment against the disk reserve (#554), and give Masonry cards stable summary-panel preference identities across reloads (#561). Internal work in the candidate unifies exact-SHA CI proof and its inputs (#541, #542, #548), hardens mutation and nightly execution (#549, #550), splits mutation declarations/planning/evidence/execution while caching guard inputs per invocation (#558), makes review waits, stages, reconciliation and process documentation deterministic (#546, #551, #553, #555, #562), binds beta bookkeeping to immutable candidate membership (#547), and pins reproducible local Windows/WSL toolchains (#557). |
|
||||
| Version | **v1.76.0-beta.2** 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.2 candidate** — prepared from the exact integrated `dev` tree; `main` remains on v1.75.0. User-visible fixes suppress delayed device activation after pinch (#563), arbitrate overlapping marker hit areas in favour of the painted marker under the pointer (#564), and expose current-space and device-tooltip state consistently to keyboard and assistive-technology users without changing room-label colours or touch/pen behaviour (#565). Internal work adds a field geometry/household regression corpus (#560), separates mutation registry, selection, evidence and execution (#558), hardens CI trust boundaries (#556), preserves semantically identical radar calibration sources (#567), aligns stale-layout invariant attribution with product ownership (#566), attributes mutation setup failures to the introducing tree (#568), and restores nine dead mutation witnesses (#569). |
|
||||
| Hidden Alpha Stage | #89 Stage 1 ships in v1.63.0-beta.1, #122 Stage 2 in v1.64.0 and #160 Stage 3 in v1.73.0-beta.1. The same hidden `iso` view uses the fixed 4° camera, raised/tethered device-room-lock overlays, deeper openings and bounded theme materials; #471 removes the overlay plates from paint while retaining their safety geometry. Since #448 the experiment is enabled only through the single indefinite browser-local `hp_alpha` gate; it is not expiring and has no per-stage key. Flat remains default; editors, `houseplan-space-card`, floor effects, stored coordinates and HA actions remain unchanged. Stage 3 stays internal and is absent from public changelog/user documentation. |
|
||||
| Workflow | Superseded 2026-08-12: the pre-1.62 rule of "local edits without tests or commits" is **dead** — since release 1.62 every product change follows `PROCESS.md` (issue in `S5-ready`+, branch `issue/<NN>-slug`, trailers on every commit, review pipeline; `AGENTS.md` is the summary). Release mechanics below remain current. A requested pre-release gets a production build plus the smallest targeted unit/smoke set covering the changed surfaces, one tested `dev` commit/tag and a GitHub Release with `prerelease=true`; `main` stays untouched. The complete local frontend/backend/smoke gate runs only before a stable release, after which `main` is fast-forwarded to the exact tested `dev` SHA and the 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) |
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"fixture": "synthetic-only",
|
||||
"chromium": "151.0.7922.34",
|
||||
"oxipng": "oxipng 10.2.0",
|
||||
"sourceFingerprint": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceFingerprint": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"captureScriptSha256": "9e4b0ae533407fe003a129078aec020f2c83d67cdb6fc6da696ce3d829beaeb5",
|
||||
"command": "npm run build && node demo/docs/capture.mjs",
|
||||
"scenarios": {
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "76c35a87810e3dc6890bda7b43da133f57d8860031204a62cda7115c15950090"
|
||||
},
|
||||
"view-touch": {
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "795585acb09488236ebb8028a7fcbd918404c5fe01560bb9b4559de13d441625"
|
||||
},
|
||||
"space-create": {
|
||||
@@ -37,7 +37,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "9f0970de09772674c3156b9fc5b2d49de0ceb22be11ecf8b136047d37d100a84"
|
||||
},
|
||||
"room-contour-close": {
|
||||
@@ -48,7 +48,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "0c354a79f9c3660788b6c5e889a27b6bd78b1f209dc0eef6bb43e2c1344028c4"
|
||||
},
|
||||
"plan-context-tray": {
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "64169c543291bc4df806dcf8ff484b42c8ea55eb343323d945344e0e28f2ce97"
|
||||
},
|
||||
"device-editor": {
|
||||
@@ -70,7 +70,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "3c8703175605fcf0387d654cd30783ecfd33e21743e70b45190a5ae1a8d355c2"
|
||||
},
|
||||
"device-display-preview": {
|
||||
@@ -81,7 +81,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "5d6193202102f5e6d85567f1111fa105895b933979fbf369c6ba0b1029deb823"
|
||||
},
|
||||
"background-editor": {
|
||||
@@ -92,7 +92,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "375900a29aa62632883ede6727b7dbb8b48cabe9d7d0e16425f9779c837f3dd9"
|
||||
},
|
||||
"room-card": {
|
||||
@@ -103,7 +103,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "3d85424676c823ddca3fa7dab3cce089b6030e48c05d16d2d48d922c66c0cbd2"
|
||||
},
|
||||
"device-info": {
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"theme": "dark",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "ac962820f8e1c5cb5b042d39b18dc95905fa840cb2d4749060d991be4f6977c2"
|
||||
},
|
||||
"pdf-export": {
|
||||
@@ -125,7 +125,7 @@
|
||||
},
|
||||
"theme": "light",
|
||||
"language": "en",
|
||||
"sourceSha256": "8d44fd9572a70b1ca422f856670b72f3c5df53434d3d47c7a68d486dcf0c1646",
|
||||
"sourceSha256": "8c57115fe1662729b76a45699cf74f6b7a8d29c1e0e10a23f4de5f5e8476dae6",
|
||||
"imageSha256": "4537692fd57a3ed95528eddd748eee5cb6e456ffab7cc49169853d62459252cd"
|
||||
}
|
||||
},
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "houseplan-card",
|
||||
"version": "1.76.0-beta.1",
|
||||
"version": "1.76.0-beta.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "houseplan-card",
|
||||
"version": "1.76.0-beta.1",
|
||||
"version": "1.76.0-beta.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"lit": "^3.1.3",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "houseplan-card",
|
||||
"version": "1.76.0-beta.1",
|
||||
"version": "1.76.0-beta.2",
|
||||
"description": "Interactive house plan Lovelace card for Home Assistant",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
||||
@@ -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.1';
|
||||
const CARD_VERSION = '1.76.0-beta.2';
|
||||
const ENTRY_BUILD_FINGERPRINT = '__HOUSEPLAN_SOURCE_FINGERPRINT__';
|
||||
const EDITOR_RETRY_ASSET = '__HOUSEPLAN_EDITOR_RETRY_ASSET__';
|
||||
const ISO_RETRY_ASSET = '__HOUSEPLAN_ISO_RETRY_ASSET__';
|
||||
|
||||
@@ -388,7 +388,7 @@ import {
|
||||
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
|
||||
} from './room-reference-transaction';
|
||||
|
||||
const CARD_VERSION = '1.76.0-beta.1';
|
||||
const CARD_VERSION = '1.76.0-beta.2';
|
||||
|
||||
// #474: the editor imports the furniture artwork statically and hands it to
|
||||
// the page runtime the moment this chunk evaluates — before the loader's
|
||||
|
||||
Reference in New Issue
Block a user