Prepare v1.77.0-beta.5

Package reviewed dialog polish (#603, #605), corrected furniture artwork (#606), and the mutation-gate infrastructure update (#604). Sync version authorities, generated bundles and bilingual release metadata.

Release: v1.77.0-beta.5
Issue: #603
Issue: #604
Issue: #605
Issue: #606
User-Visible: yes
This commit is contained in:
Claude
2026-09-21 16:35:22 +03:00
parent 8d857b22f4
commit 4c26b16b03
52 changed files with 561 additions and 555 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ SCHEDULED_GRACE_S = 30 * 24 * 3600
FILES_DIR = "houseplan/files"
ASSETS_DIR = "houseplan/assets"
CONF_ADMIN_ONLY = "admin_only"
VERSION = "1.77.0-beta.4"
VERSION = "1.77.0-beta.5"
DECOR_ASSETS_API_VERSION = 1
SUMMARY_PANEL_API_VERSION = 1
@@ -1,312 +1,312 @@
{
"schema": 1,
"fingerprint": "f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e",
"fingerprint": "f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290104,
"initialViewGzipBytes": 290093,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 291627,
"initialPanelGzipBytes": 291614,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2326,
"initialPanelOnlyGzipBytes": 2322,
"lazyFiles": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/de-Zy5Z4iUC.js",
"houseplan-assets/editor-ED5XjT-m.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/fr-B6zCcOua.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js",
"houseplan-assets/hp-zigbee-topology-overlay-CHJ_xeyG.js",
"houseplan-assets/iso-scene-render-CbLsvp_c.js",
"houseplan-assets/live-interaction-runtime-_5dDJTKx.js",
"houseplan-assets/pdf-export-BxBJaihL.js",
"houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js",
"houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/de-C8B7T49G.js",
"houseplan-assets/editor-BUN-RFAH.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/fr-PXVNl3Uu.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js",
"houseplan-assets/hp-zigbee-topology-overlay-Cf7CfDap.js",
"houseplan-assets/iso-scene-render-CbFj_0Dp.js",
"houseplan-assets/live-interaction-runtime-Zm_H08W_.js",
"houseplan-assets/pdf-export-DIWj3ITi.js",
"houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js",
"houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js"
],
"lazyGzipBytes": 459956,
"lazyGzipBytes": 459907,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/editor-ED5XjT-m.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/editor-BUN-RFAH.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js"
],
"lazyEditorGzipBytes": 243388,
"lazyEditorGzipBytes": 243370,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js"
],
"lazyOnboardingGzipBytes": 33821,
"lazyOnboardingGzipBytes": 33813,
"lazyLocaleFiles": [
"houseplan-assets/de-Zy5Z4iUC.js",
"houseplan-assets/fr-B6zCcOua.js"
"houseplan-assets/de-C8B7T49G.js",
"houseplan-assets/fr-PXVNl3Uu.js"
],
"lazyLocaleGzipBytes": 55373,
"lazyLocaleGzipBytes": 55358,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-CbLsvp_c.js"
"houseplan-assets/iso-scene-render-CbFj_0Dp.js"
],
"lazyIsometricGzipBytes": 17645,
"lazyIsometricGzipBytes": 17642,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js"
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js"
],
"lazyFurnitureArtGzipBytes": 16940,
"lazyFurnitureArtGzipBytes": 16943,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/pdf-export-BxBJaihL.js"
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/pdf-export-DIWj3ITi.js"
],
"lazyPdfGzipBytes": 126827,
"lazyPdfGzipBytes": 126831,
"files": [
{
"path": "houseplan-assets/backdrop-pick-BMyLTbSe.js",
"sha256": "7157fbbc21c32c9160685b601db430d42099bae9c03f45797bef6ace72969653",
"path": "houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"sha256": "bd5c30c2b521efad092dfc825fcf52cd8cb4480936a0a76e933a45ba7545d309",
"rawBytes": 74076,
"gzipBytes": 23934,
"gzipBytes": 23929,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-Zy5Z4iUC.js",
"sha256": "d65e60b851d5a2387e407b52dda5ebcb3cc22d8e87ef9bdfe6e3b95db51e08c0",
"path": "houseplan-assets/de-C8B7T49G.js",
"sha256": "54dfaff247c64b2d30d25c40851378f48f85454d51c7e40d87b4af3f4b80ab92",
"rawBytes": 92496,
"gzipBytes": 27930,
"gzipBytes": 27921,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-ED5XjT-m.js",
"sha256": "47705d6904eb9d070ee065acd6cc452c4c64e72fa10c5df7977f4cb9da54ca81",
"path": "houseplan-assets/editor-BUN-RFAH.js",
"sha256": "79b993552e62447d7283e0f5545b4e18b4e9fbd2a24b1c269935dec97b87b719",
"rawBytes": 3833,
"gzipBytes": 1585,
"gzipBytes": 1581,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/form-kit.styles-C3MkGxmn.js",
"sha256": "347abd0add0d845ba466f474e9a770c6ef87ff6fc4b76b3c57d89a7b02501ca4",
"path": "houseplan-assets/form-kit.styles-B_wstbUM.js",
"sha256": "2b1e9b7bf2bcd424ff324322675d5281531ad25ecd7404f9f02b715d3287521f",
"rawBytes": 25600,
"gzipBytes": 5057,
"gzipBytes": 5056,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-B6zCcOua.js",
"sha256": "b075cd48223d1a8b35d9968b2f850aacbe7270fa1b12595a04f5fd49a03a51c1",
"path": "houseplan-assets/fr-PXVNl3Uu.js",
"sha256": "04cf2578260bf47c0b3c5329c23f08860bdd5951a45964ae2e0308ff1b696330",
"rawBytes": 94813,
"gzipBytes": 27443,
"gzipBytes": 27437,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"sha256": "c7c739fa7d20e17a7451d797705ba7635eaf75445689a0dcbe65c53588bce238",
"path": "houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"sha256": "a478512cc61f30b2aafe0c674111f39fd5b050b8449e5185de12c4c0bcd70503",
"rawBytes": 52035,
"gzipBytes": 16940,
"gzipBytes": 16943,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-CA9gMCEd.js",
"sha256": "74771775f3eb7a5c4c86d1b84bd5b4764cce7dd20ec3fd455590da212f212ea4",
"path": "houseplan-assets/houseplan-card-BeanMXov.js",
"sha256": "c63710c224ddc0e75348a2b7a08c146286bec95cc3e6c918c1755306adb2cd7a",
"rawBytes": 1028799,
"gzipBytes": 289301,
"gzipBytes": 289292,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-Zy5Z4iUC.js",
"houseplan-assets/editor-ED5XjT-m.js",
"houseplan-assets/fr-B6zCcOua.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js",
"houseplan-assets/hp-zigbee-topology-overlay-CHJ_xeyG.js",
"houseplan-assets/iso-scene-render-CbLsvp_c.js",
"houseplan-assets/live-interaction-runtime-_5dDJTKx.js",
"houseplan-assets/pdf-export-BxBJaihL.js",
"houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js"
"houseplan-assets/de-C8B7T49G.js",
"houseplan-assets/editor-BUN-RFAH.js",
"houseplan-assets/fr-PXVNl3Uu.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js",
"houseplan-assets/hp-zigbee-topology-overlay-Cf7CfDap.js",
"houseplan-assets/iso-scene-render-CbFj_0Dp.js",
"houseplan-assets/live-interaction-runtime-Zm_H08W_.js",
"houseplan-assets/pdf-export-DIWj3ITi.js",
"houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"sha256": "c003d59035a4a2a1441609e070a2cb156f93af4716be3587009ae5f9fbaf53cd",
"path": "houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"sha256": "3c982dafecc8873e31cb1fb389f629690bd911b966917d7fe2f0cc6c823560ab",
"rawBytes": 677712,
"gzipBytes": 188442,
"gzipBytes": 188438,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js"
"houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js",
"sha256": "cee29d2b64d3c82119ecb5b2ac58fdae8fb6d3e8e39a88b6202ab995a5373526",
"path": "houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js",
"sha256": "0ce74cd0bdf4be421fc6b9426c87af6de13b5c7c015aeed088ea54bbe155c976",
"rawBytes": 15667,
"gzipBytes": 4830,
"gzipBytes": 4828,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-CHJ_xeyG.js",
"sha256": "3f879cb53931d6a31321ecdeaf77d8eb0e1ec1475abd72500b52dd6dc7f7bf50",
"path": "houseplan-assets/hp-zigbee-topology-overlay-Cf7CfDap.js",
"sha256": "33d9fa50c5e402b391927983c65b975d658570ee72143988e480b4a32a66ae96",
"rawBytes": 10759,
"gzipBytes": 3685,
"gzipBytes": 3684,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js",
"houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js"
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js",
"houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-CbLsvp_c.js",
"sha256": "40144d88a3971f8f76ccaeb45ed2b486e1474816a8e80c1fe32c47e558bc1cf0",
"path": "houseplan-assets/iso-scene-render-CbFj_0Dp.js",
"sha256": "45443570502f426de9da8e06810f7db97e35470375e4ce17fbbc840db02398d4",
"rawBytes": 51983,
"gzipBytes": 17645,
"gzipBytes": 17642,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-_5dDJTKx.js",
"sha256": "43f219a8b47bb6e3134f6f95a302f5548485cf77f24da50161e8d75b5d664f63",
"path": "houseplan-assets/live-interaction-runtime-Zm_H08W_.js",
"sha256": "46c89d531d433536b3f508a480758001c12f5dce2b767f88f9ebf6ae32955e54",
"rawBytes": 8216,
"gzipBytes": 3209,
"gzipBytes": 3205,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-BxBJaihL.js",
"sha256": "49f188e873ec5f15121a50d40ee0062366f6ed48857f6d76d9b667d990c4e678",
"path": "houseplan-assets/pdf-export-DIWj3ITi.js",
"sha256": "8b185f1dfa4b7e70e7a8ab1fe547ef926f09ff3fb492233e652af5128bbd2165",
"rawBytes": 236264,
"gzipBytes": 109887,
"gzipBytes": 109888,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-DLh8FpGr.js",
"sha256": "983d9bf4099b47bccfba7d07f33394cce10374d5cc7c3b993423dd9b94e6ae15",
"rawBytes": 14867,
"gzipBytes": 3427,
"path": "houseplan-assets/summary-panel-editor-CdmJQ4ZP.js",
"sha256": "b82df7c441df958fd4e799f770521e5bd602308b82c95cb6324fd7c93d68bf57",
"rawBytes": 14862,
"gzipBytes": 3418,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js"
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-QtM5h1Pa.js",
"sha256": "4eb89d2f16721c627481f1b15782c429f4627f42538e3a4efda96c4585fcc10f",
"path": "houseplan-assets/summary-panel-metrics-CQXeTtCl.js",
"sha256": "8c96db3e31a71f629b7573120870c48e7ad03205b501ec4365029f6752064e30",
"rawBytes": 2611,
"gzipBytes": 1310,
"gzipBytes": 1304,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js",
"sha256": "ea2df6ddf28bf27ac03b6fd1759db7193fd75d1ff4c70e441bc110c123b6e776",
"path": "houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js",
"sha256": "2f75b67c9a6615d11ab2838ef78428d273a06fbd0011e3018b530a9f60078a6e",
"rawBytes": 72733,
"gzipBytes": 20174,
"gzipBytes": 20172,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-DLh8FpGr.js",
"houseplan-assets/summary-panel-metrics-QtM5h1Pa.js"
"houseplan-assets/summary-panel-editor-CdmJQ4ZP.js",
"houseplan-assets/summary-panel-metrics-CQXeTtCl.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js",
"sha256": "a92c6e1bad2391f33057cd591278f03de35fb26dc84af96fbc0bdb85759035d4",
"rawBytes": 3942,
"gzipBytes": 1765,
"path": "houseplan-assets/zigbee-topology-CC5zdgR2.js",
"sha256": "fe8b761dbbf286400fd76357dfad5ac4efb42b0f426d5045fbc28903eeb43c36",
"rawBytes": 18962,
"gzipBytes": 7423,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-YH4SegMd.js",
"sha256": "c783c1f851ff6743156adb82e7206f0ddf0fbab713e94986537a47fecbf3b099",
"rawBytes": 18962,
"gzipBytes": 7430,
"path": "houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js",
"sha256": "0cc6de4caae6077311c0606f27276cf53c21759439fea69d10d78afa549306b9",
"rawBytes": 3942,
"gzipBytes": 1760,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "8d38c40ff2c43b389ad2e8d2a8c7e803bd0708f0497f371c19a4b6221612b33a",
"sha256": "6360cc0964d4eb0e46865760edbf926d4aae2f206eaa24ef5075e12ed16e1ba0",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 801,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "2373b49c504eb385e54b0123b369bc75959b7346c56a897d6d4a8db6779122c0",
"sha256": "d2ebfb69eab8cf2ac929ea58d5a1d78ee3627ae3d25b7b4a2a7ead3bec52f8b1",
"rawBytes": 6165,
"gzipBytes": 2326,
"gzipBytes": 2322,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
}
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{az as e,l as o,aC as t,e8 as s,A as a,e9 as i,ea as l,eb as n,E as r,c}from"./houseplan-card-CA9gMCEd.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{az as e,l as o,aC as t,e8 as s,A as a,e9 as i,ea as l,eb as n,E as r,c}from"./houseplan-card-BeanMXov.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
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
.computeLabel=${e=>h[e.name]||e.name}
.computeLabel=${e=>f[e.name]||e.name}
@value-changed=${this._valueChanged}
></ha-form>`;return c`
${d(f.slice(0,3))}
${d(h.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(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);
${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);
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{c as a,A as s}from"./houseplan-card-CA9gMCEd.js";import{s as e,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-DCbr6mNJ.js";import"./form-kit.styles-C3MkGxmn.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&&!e(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(s=>s.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__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{c as a,A as e}from"./houseplan-card-BeanMXov.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-Biy-bpfH.js";import"./form-kit.styles-B_wstbUM.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"
@@ -10,31 +10,31 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
dismiss-on-scrim aria-busy=${String(d.busy)}
@hp-close=${k}>
<div class="body summary-editor" @click=${()=>m.closeSource()}>
${d.localOnly?a`<p class="summary-local-hint">${b(d.localOnlyHint)}</p>`:s}
${d.localOnly?a`<p class="summary-local-hint">${b(d.localOnlyHint)}</p>`:e}
<section class="summary-general" aria-labelledby="summary-general-title">
<h3 id="summary-general-title">${b("summary.general_settings")}</h3>
<div class="summary-general-grid">
${d.localOnly?s:a`<div class="summary-field">
${d.localOnly?e:a`<div class="summary-field">
<label for="summary-panel-title">${b("summary.panel_title")}</label>
<input id="summary-panel-title" type="text" .value=${d.draft.title}
?disabled=${d.busy}
data-summary-error=${String(d.attempted&&"title"===y?.path)}
aria-invalid=${"error"===v("title")?.kind?"true":"false"}
@input=${a=>m.mutate(s=>{s.title=a.target.value})} />
${v("title")?a`<div class="summary-problem error">${h(v("title"))}</div>`:s}
@input=${a=>m.mutate(e=>{e.title=a.target.value})} />
${v("title")?a`<div class="summary-problem error">${h(v("title"))}</div>`:e}
</div>`}
${g}
${d.localOnly?s:a`<label class="summary-switch" for="summary-mobile-show">
${d.localOnly?e:a`<label class="summary-switch" for="summary-mobile-show">
<span class="summary-switch-caption"><strong>${b("summary.show_mobile")}</strong>
<small id="summary-mobile-show-hint">${b("summary.show_mobile_hint")}</small></span>
<input id="summary-mobile-show" data-summary-mobile-show type="checkbox"
.checked=${d.draft.show_on_mobile} ?disabled=${!d.localShow||d.busy}
aria-label=${b("summary.show_mobile")} aria-describedby="summary-mobile-show-hint"
@change=${a=>m.mutate(s=>{s.show_on_mobile=a.target.checked})} /></label>`}
@change=${a=>m.mutate(e=>{e.show_on_mobile=a.target.checked})} /></label>`}
</div>
${m.storageUnavailable?a`<div class="summary-problem warning">${b("summary.storage_unavailable")}</div>`:s}
${m.storageUnavailable?a`<div class="summary-problem warning">${b("summary.storage_unavailable")}</div>`:e}
</section>
${d.localOnly?s:a`
${d.localOnly?e:a`
<section class="summary-blocks-card" aria-labelledby="summary-blocks-title">
<header class="summary-blocks-heading">
<div><h3 id="summary-blocks-title">${b("summary.blocks")}</h3>
@@ -42,7 +42,7 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
<span class="summary-block-count">${b("summary.block_count").replace("{count}",String(d.draft.blocks.length)).replace("{limit}","10")}</span>
</header>
<div class="summary-editor-blocks">
${d.draft.blocks.map((e,t)=>{const u=`blocks.${t}`,n=v(`${u}.scope`);return a`<article class="summary-editor-block"
${d.draft.blocks.map((s,t)=>{const u=`blocks.${t}`,n=v(`${u}.scope`);return a`<article class="summary-editor-block"
@dragover=${a=>a.preventDefault()}
@drop=${a=>m.drop(a,`block:${t}`)}>
<div class="summary-block-head">
@@ -57,40 +57,40 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
?disabled=${t===d.draft.blocks.length-1||d.busy}
@click=${()=>m.mutate(a=>{a.blocks=r(a.blocks,t,t+1)})}>${l("down")}</button>
</div>
<input class="summary-block-title" type="text" .value=${e.title}
<input class="summary-block-title" type="text" .value=${s.title}
placeholder=${b("summary.block_title")} aria-label=${b("summary.block_title")}
?disabled=${d.busy}
data-summary-error=${String(d.attempted&&y?.path===`${u}.title`)}
aria-invalid=${"error"===v(`${u}.title`)?.kind?"true":"false"}
@input=${a=>m.mutate(s=>{s.blocks[t].title=a.target.value})} />
@input=${a=>m.mutate(e=>{e.blocks[t].title=a.target.value})} />
<button class="summary-icon-button summary-visibility" type="button"
?disabled=${d.busy} aria-pressed=${String(e.visible)}
title=${b(e.visible?"summary.hide_block":"summary.show_block")}
aria-label=${b(e.visible?"summary.hide_block":"summary.show_block")}
@click=${()=>m.mutate(a=>{a.blocks[t].visible=!a.blocks[t].visible})}>${l(e.visible?"eye":"eyeOff")}</button>
${v(`${u}.title`)?a`<div class="summary-problem error summary-block-title-error">${h(v(`${u}.title`))}</div>`:s}
?disabled=${d.busy} aria-pressed=${String(s.visible)}
title=${b(s.visible?"summary.hide_block":"summary.show_block")}
aria-label=${b(s.visible?"summary.hide_block":"summary.show_block")}
@click=${()=>m.mutate(a=>{a.blocks[t].visible=!a.blocks[t].visible})}>${l(s.visible?"eye":"eyeOff")}</button>
${v(`${u}.title`)?a`<div class="summary-problem error summary-block-title-error">${h(v(`${u}.title`))}</div>`:e}
<div class="summary-scope">
<select .value=${e.scope.type} ?disabled=${d.busy}
<select .value=${s.scope.type} ?disabled=${d.busy}
aria-label=${b("summary.scope")}
@change=${a=>m.mutate(s=>{s.blocks[t].scope="space"===a.target.value?{type:"space",space_id:c._space}:{type:"all"}})}>
<option value="all" ?selected=${"all"===e.scope.type}>${b("summary.scope_all")}</option>
<option value="space" ?selected=${"space"===e.scope.type}>${b("summary.scope_space")}</option>
@change=${a=>m.mutate(e=>{e.blocks[t].scope="space"===a.target.value?{type:"space",space_id:c._space}:{type:"all"}})}>
<option value="all" ?selected=${"all"===s.scope.type}>${b("summary.scope_all")}</option>
<option value="space" ?selected=${"space"===s.scope.type}>${b("summary.scope_space")}</option>
</select>
${"space"===e.scope.type?a`<select .value=${e.scope.space_id}
${"space"===s.scope.type?a`<select .value=${s.scope.space_id}
?disabled=${d.busy} aria-label=${b("summary.scope_space")}
data-summary-error=${String(d.attempted&&y?.path===`${u}.scope`)}
aria-invalid=${"error"===n?.kind?"true":"false"}
@change=${a=>m.mutate(s=>{const e=s.blocks[t].scope;"space"===e.type&&(e.space_id=a.target.value)})}>
${c._model.some(a=>a.id===e.scope.space_id)?s:a`<option value=${e.scope.space_id} selected>${e.scope.space_id}</option>`}
${c._model.map(s=>a`<option value=${s.id}
?selected=${s.id===e.scope.space_id}>${s.title}</option>`)}
</select>`:s}
@change=${a=>m.mutate(e=>{const s=e.blocks[t].scope;"space"===s.type&&(s.space_id=a.target.value)})}>
${c._model.some(a=>a.id===s.scope.space_id)?e:a`<option value=${s.scope.space_id} selected>${s.scope.space_id}</option>`}
${c._model.map(e=>a`<option value=${e.id}
?selected=${e.id===s.scope.space_id}>${e.title}</option>`)}
</select>`:e}
</div>
${n?a`<div class="summary-problem summary-scope-problem ${n.kind}">${h(n)}</div>`:s}
${n?a`<div class="summary-problem summary-scope-problem ${n.kind}">${h(n)}</div>`:e}
</div>
<div class="summary-block-body">
<div class="summary-editor-values">
${e.values.map((i,c)=>{const n=`${u}.values.${c}`,$=v(`${n}.source`),p=m.sourceToken(i.source),k=d.activeSource?.blockId===e.id&&d.activeSource.valueId===i.id,g="system"===i.source.type?b(`summary.system.${i.source.key}`):i.source.entity_id?m.entityIndex.labels.get(i.source.entity_id)||i.source.entity_id:b("summary.select_source"),_="system"===i.source.type?b("summary.system_source"):i.source.entity_id,f=k?o(m.entityIndex,d.entityFilter):null,w="entity"===i.source.type&&!!i.source.entity_id&&!m.entityIndex.labels.has(i.source.entity_id),S=`${e.id}\n${i.id}`;return a`<div class="summary-editor-value"
${s.values.map((i,c)=>{const n=`${u}.values.${c}`,$=v(`${n}.source`),p=m.sourceToken(i.source),k=d.activeSource?.blockId===s.id&&d.activeSource.valueId===i.id,g="system"===i.source.type?b(`summary.system.${i.source.key}`):i.source.entity_id?m.entityIndex.labels.get(i.source.entity_id)||i.source.entity_id:b("summary.select_source"),_="system"===i.source.type?b("summary.system_source"):i.source.entity_id,f=k?o(m.entityIndex,d.entityFilter):null,w="entity"===i.source.type&&!!i.source.entity_id&&!m.entityIndex.labels.has(i.source.entity_id),S=`${s.id}\n${i.id}`;return a`<div class="summary-editor-value"
@dragover=${a=>{a.preventDefault(),a.stopPropagation()}}
@drop=${a=>m.drop(a,`value:${t}:${c}`)}>
<span class="summary-drag" draggable=${String(!d.busy)} title=${b("summary.drag")}
@@ -101,7 +101,7 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
@click=${()=>m.mutate(a=>{a.blocks[t].values=r(a.blocks[t].values,c,c-1)})}>${l("up")}</button>
<button class="summary-icon-button" type="button" title=${b("summary.down")}
aria-label=${b("summary.down")}
?disabled=${c===e.values.length-1||d.busy}
?disabled=${c===s.values.length-1||d.busy}
@click=${()=>m.mutate(a=>{a.blocks[t].values=r(a.blocks[t].values,c,c+1)})}>${l("down")}</button>
</div>
<div class="summary-value-label">
@@ -109,8 +109,8 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
placeholder=${b("summary.value_name")} aria-label=${b("summary.value_name")}
data-summary-error=${String(d.attempted&&y?.path===`${n}.label`)}
aria-invalid=${"error"===v(`${n}.label`)?.kind?"true":"false"}
@input=${a=>m.mutate(s=>{s.blocks[t].values[c].label=a.target.value})} />
${v(`${n}.label`)?a`<div class="summary-problem error">${h(v(`${n}.label`))}</div>`:s}
@input=${a=>m.mutate(e=>{e.blocks[t].values[c].label=a.target.value})} />
${v(`${n}.label`)?a`<div class="summary-problem error">${h(v(`${n}.label`))}</div>`:e}
</div>
<div class="summary-source-field">
<button class="summary-source" type="button"
@@ -119,9 +119,9 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
data-summary-error=${String(d.attempted&&y?.path===`${n}.source`)}
aria-invalid=${"error"===$?.kind?"true":"false"}
aria-haspopup="listbox" aria-expanded=${k?"true":"false"}
@click=${a=>{a.stopPropagation(),k?m.closeSource():m.openSource(e.id,i.id)}}>
@click=${a=>{a.stopPropagation(),k?m.closeSource():m.openSource(s.id,i.id)}}>
<span class="summary-source-caption"><strong>${g}</strong>
${_?a`<small>${_}</small>`:s}</span>
${_?a`<small>${_}</small>`:e}</span>
${l("chevron")}
</button>
${k&&f?a`<div class="summary-source-picker"
@@ -135,39 +135,39 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
<div class="summary-source-results" role="listbox"
aria-label=${b("summary.select_source")}>
<div class="summary-source-group">${b("summary.system_group")}</div>
${["device_count","total_area","datetime"].map(s=>a`
${["device_count","total_area","datetime"].map(e=>a`
<button type="button" role="option"
?disabled=${d.busy}
aria-selected=${p===`system:${s}`?"true":"false"}
@click=${()=>m.setSource(e.id,i.id,`system:${s}`)}>
${b(`summary.system.${s}`)}
aria-selected=${p===`system:${e}`?"true":"false"}
@click=${()=>m.setSource(s.id,i.id,`system:${e}`)}>
${b(`summary.system.${e}`)}
</button>`)}
${w?a`<div class="summary-source-group">${b("summary.current_source")}</div>
<button type="button" role="option" class="broken" aria-selected="true"
?disabled=${d.busy}
@click=${()=>m.setSource(e.id,i.id,p)}>
@click=${()=>m.setSource(s.id,i.id,p)}>
${g}
</button>`:s}
</button>`:e}
<div class="summary-source-group">${b("summary.entities_group")}</div>
${f.entries.map(s=>a`<button type="button" role="option"
${f.entries.map(e=>a`<button type="button" role="option"
?disabled=${d.busy}
aria-selected=${p===`entity:${s.id}`?"true":"false"}
@click=${()=>m.setSource(e.id,i.id,`entity:${s.id}`)}>
<span>${s.label}</span><small>${s.id}</small>
aria-selected=${p===`entity:${e.id}`?"true":"false"}
@click=${()=>m.setSource(s.id,i.id,`entity:${e.id}`)}>
<span>${e.label}</span><small>${e.id}</small>
</button>`)}
${f.total?s:a`<div class="summary-empty">${b("summary.no_search_results")}</div>`}
${f.truncated?a`<div class="summary-refine">${b("summary.refine_search")}</div>`:s}
${f.total?e:a`<div class="summary-empty">${b("summary.no_search_results")}</div>`}
${f.truncated?a`<div class="summary-refine">${b("summary.refine_search")}</div>`:e}
</div>
</div>`:s}
${$?a`<div class="summary-problem ${$.kind}">${h($)}</div>`:s}
</div>`:e}
${$?a`<div class="summary-problem ${$.kind}">${h($)}</div>`:e}
</div>
<button class="summary-icon-button summary-value-remove" type="button"
title=${b("btn.delete")} aria-label=${b("btn.delete")} ?disabled=${d.busy}
@click=${()=>m.mutate(a=>{a.blocks[t].values.splice(c,1)})}>${l("close")}</button>
</div>`})}
<button class="summary-add summary-add-value" type="button"
?disabled=${e.values.length>=20||d.busy}
title=${e.values.length>=20?b("summary.limit_values"):""}
?disabled=${s.values.length>=20||d.busy}
title=${s.values.length>=20?b("summary.limit_values"):""}
@click=${()=>m.mutate(a=>{a.blocks[t].values.push(i())})}>
${l("plus")}${b("summary.add_value")}
</button>
@@ -186,11 +186,11 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
${l("plus")}${b("summary.add_block")}
</button>
</section>
${d.error?a`<div class="summary-problem error" role="alert">${d.error}</div>`:s}
${d.error?a`<div class="summary-problem error" role="alert">${d.error}</div>`:e}
${d.conflict?a`<button class="btn ghost summary-reload" type="button"
?disabled=${d.busy} @click=${()=>m.reload()}>
<ha-icon icon="mdi:reload"></ha-icon>${b("summary.reload_current")}
</button>`:s}
</button>`:e}
`}
</div>
<div class="row summary-editor-footer" slot="footer">
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{ee as e,J as t,aX as n,H as i,aa as o,a8 as r,bP as s,bO as a,aW as c,aV as l,aY as d,ef as u,eg as f,bR as m,eh as g}from"./houseplan-card-CA9gMCEd.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*h(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 p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(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{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{ee as e,J as t,aX as n,H as i,aa as o,a8 as r,bP as s,bO as a,aW as c,aV as l,aY as d,ef as u,eg as f,bR as m,eh as g}from"./houseplan-card-BeanMXov.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*h(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 p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(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{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{n as t,b as n}from"./zigbee-topology-YH4SegMd.js";import{aI as e}from"./houseplan-card-CA9gMCEd.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{n as t,b as n}from"./zigbee-topology-CC5zdgR2.js";import{aI as e}from"./houseplan-card-BeanMXov.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";try{await import("./houseplan-assets/houseplan-card-CA9gMCEd.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__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";try{await import("./houseplan-assets/houseplan-card-BeanMXov.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -20,5 +20,5 @@
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
"requirements": [],
"single_config_entry": true,
"version": "1.77.0-beta.4"
"version": "1.77.0-beta.5"
}
+147 -147
View File
@@ -1,312 +1,312 @@
{
"schema": 1,
"fingerprint": "f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e",
"fingerprint": "f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290104,
"initialViewGzipBytes": 290093,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 291627,
"initialPanelGzipBytes": 291614,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2326,
"initialPanelOnlyGzipBytes": 2322,
"lazyFiles": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/de-Zy5Z4iUC.js",
"houseplan-assets/editor-ED5XjT-m.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/fr-B6zCcOua.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js",
"houseplan-assets/hp-zigbee-topology-overlay-CHJ_xeyG.js",
"houseplan-assets/iso-scene-render-CbLsvp_c.js",
"houseplan-assets/live-interaction-runtime-_5dDJTKx.js",
"houseplan-assets/pdf-export-BxBJaihL.js",
"houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js",
"houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/de-C8B7T49G.js",
"houseplan-assets/editor-BUN-RFAH.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/fr-PXVNl3Uu.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js",
"houseplan-assets/hp-zigbee-topology-overlay-Cf7CfDap.js",
"houseplan-assets/iso-scene-render-CbFj_0Dp.js",
"houseplan-assets/live-interaction-runtime-Zm_H08W_.js",
"houseplan-assets/pdf-export-DIWj3ITi.js",
"houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js",
"houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js"
],
"lazyGzipBytes": 459956,
"lazyGzipBytes": 459907,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/editor-ED5XjT-m.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/editor-BUN-RFAH.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js"
],
"lazyEditorGzipBytes": 243388,
"lazyEditorGzipBytes": 243370,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js"
],
"lazyOnboardingGzipBytes": 33821,
"lazyOnboardingGzipBytes": 33813,
"lazyLocaleFiles": [
"houseplan-assets/de-Zy5Z4iUC.js",
"houseplan-assets/fr-B6zCcOua.js"
"houseplan-assets/de-C8B7T49G.js",
"houseplan-assets/fr-PXVNl3Uu.js"
],
"lazyLocaleGzipBytes": 55373,
"lazyLocaleGzipBytes": 55358,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-CbLsvp_c.js"
"houseplan-assets/iso-scene-render-CbFj_0Dp.js"
],
"lazyIsometricGzipBytes": 17645,
"lazyIsometricGzipBytes": 17642,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js"
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js"
],
"lazyFurnitureArtGzipBytes": 16940,
"lazyFurnitureArtGzipBytes": 16943,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/pdf-export-BxBJaihL.js"
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/pdf-export-DIWj3ITi.js"
],
"lazyPdfGzipBytes": 126827,
"lazyPdfGzipBytes": 126831,
"files": [
{
"path": "houseplan-assets/backdrop-pick-BMyLTbSe.js",
"sha256": "7157fbbc21c32c9160685b601db430d42099bae9c03f45797bef6ace72969653",
"path": "houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"sha256": "bd5c30c2b521efad092dfc825fcf52cd8cb4480936a0a76e933a45ba7545d309",
"rawBytes": 74076,
"gzipBytes": 23934,
"gzipBytes": 23929,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-Zy5Z4iUC.js",
"sha256": "d65e60b851d5a2387e407b52dda5ebcb3cc22d8e87ef9bdfe6e3b95db51e08c0",
"path": "houseplan-assets/de-C8B7T49G.js",
"sha256": "54dfaff247c64b2d30d25c40851378f48f85454d51c7e40d87b4af3f4b80ab92",
"rawBytes": 92496,
"gzipBytes": 27930,
"gzipBytes": 27921,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-ED5XjT-m.js",
"sha256": "47705d6904eb9d070ee065acd6cc452c4c64e72fa10c5df7977f4cb9da54ca81",
"path": "houseplan-assets/editor-BUN-RFAH.js",
"sha256": "79b993552e62447d7283e0f5545b4e18b4e9fbd2a24b1c269935dec97b87b719",
"rawBytes": 3833,
"gzipBytes": 1585,
"gzipBytes": 1581,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/form-kit.styles-C3MkGxmn.js",
"sha256": "347abd0add0d845ba466f474e9a770c6ef87ff6fc4b76b3c57d89a7b02501ca4",
"path": "houseplan-assets/form-kit.styles-B_wstbUM.js",
"sha256": "2b1e9b7bf2bcd424ff324322675d5281531ad25ecd7404f9f02b715d3287521f",
"rawBytes": 25600,
"gzipBytes": 5057,
"gzipBytes": 5056,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-B6zCcOua.js",
"sha256": "b075cd48223d1a8b35d9968b2f850aacbe7270fa1b12595a04f5fd49a03a51c1",
"path": "houseplan-assets/fr-PXVNl3Uu.js",
"sha256": "04cf2578260bf47c0b3c5329c23f08860bdd5951a45964ae2e0308ff1b696330",
"rawBytes": 94813,
"gzipBytes": 27443,
"gzipBytes": 27437,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"sha256": "c7c739fa7d20e17a7451d797705ba7635eaf75445689a0dcbe65c53588bce238",
"path": "houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"sha256": "a478512cc61f30b2aafe0c674111f39fd5b050b8449e5185de12c4c0bcd70503",
"rawBytes": 52035,
"gzipBytes": 16940,
"gzipBytes": 16943,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-CA9gMCEd.js",
"sha256": "74771775f3eb7a5c4c86d1b84bd5b4764cce7dd20ec3fd455590da212f212ea4",
"path": "houseplan-assets/houseplan-card-BeanMXov.js",
"sha256": "c63710c224ddc0e75348a2b7a08c146286bec95cc3e6c918c1755306adb2cd7a",
"rawBytes": 1028799,
"gzipBytes": 289301,
"gzipBytes": 289292,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-Zy5Z4iUC.js",
"houseplan-assets/editor-ED5XjT-m.js",
"houseplan-assets/fr-B6zCcOua.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js",
"houseplan-assets/hp-zigbee-topology-overlay-CHJ_xeyG.js",
"houseplan-assets/iso-scene-render-CbLsvp_c.js",
"houseplan-assets/live-interaction-runtime-_5dDJTKx.js",
"houseplan-assets/pdf-export-BxBJaihL.js",
"houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js"
"houseplan-assets/de-C8B7T49G.js",
"houseplan-assets/editor-BUN-RFAH.js",
"houseplan-assets/fr-PXVNl3Uu.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js",
"houseplan-assets/hp-zigbee-topology-overlay-Cf7CfDap.js",
"houseplan-assets/iso-scene-render-CbFj_0Dp.js",
"houseplan-assets/live-interaction-runtime-Zm_H08W_.js",
"houseplan-assets/pdf-export-DIWj3ITi.js",
"houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-C0upxKgJ.js",
"sha256": "c003d59035a4a2a1441609e070a2cb156f93af4716be3587009ae5f9fbaf53cd",
"path": "houseplan-assets/houseplan-editor-runtime-CT9cqrs7.js",
"sha256": "3c982dafecc8873e31cb1fb389f629690bd911b966917d7fe2f0cc6c823560ab",
"rawBytes": 677712,
"gzipBytes": 188442,
"gzipBytes": 188438,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js"
"houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-DNekQUzx.js",
"sha256": "cee29d2b64d3c82119ecb5b2ac58fdae8fb6d3e8e39a88b6202ab995a5373526",
"path": "houseplan-assets/houseplan-onboarding-runtime-3I5MiX0d.js",
"sha256": "0ce74cd0bdf4be421fc6b9426c87af6de13b5c7c015aeed088ea54bbe155c976",
"rawBytes": 15667,
"gzipBytes": 4830,
"gzipBytes": 4828,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-BMyLTbSe.js",
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/backdrop-pick-BX4FJMxJ.js",
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-CHJ_xeyG.js",
"sha256": "3f879cb53931d6a31321ecdeaf77d8eb0e1ec1475abd72500b52dd6dc7f7bf50",
"path": "houseplan-assets/hp-zigbee-topology-overlay-Cf7CfDap.js",
"sha256": "33d9fa50c5e402b391927983c65b975d658570ee72143988e480b4a32a66ae96",
"rawBytes": 10759,
"gzipBytes": 3685,
"gzipBytes": 3684,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js",
"houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js"
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js",
"houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-CbLsvp_c.js",
"sha256": "40144d88a3971f8f76ccaeb45ed2b486e1474816a8e80c1fe32c47e558bc1cf0",
"path": "houseplan-assets/iso-scene-render-CbFj_0Dp.js",
"sha256": "45443570502f426de9da8e06810f7db97e35470375e4ce17fbbc840db02398d4",
"rawBytes": 51983,
"gzipBytes": 17645,
"gzipBytes": 17642,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-_5dDJTKx.js",
"sha256": "43f219a8b47bb6e3134f6f95a302f5548485cf77f24da50161e8d75b5d664f63",
"path": "houseplan-assets/live-interaction-runtime-Zm_H08W_.js",
"sha256": "46c89d531d433536b3f508a480758001c12f5dce2b767f88f9ebf6ae32955e54",
"rawBytes": 8216,
"gzipBytes": 3209,
"gzipBytes": 3205,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-BxBJaihL.js",
"sha256": "49f188e873ec5f15121a50d40ee0062366f6ed48857f6d76d9b667d990c4e678",
"path": "houseplan-assets/pdf-export-DIWj3ITi.js",
"sha256": "8b185f1dfa4b7e70e7a8ab1fe547ef926f09ff3fb492233e652af5128bbd2165",
"rawBytes": 236264,
"gzipBytes": 109887,
"gzipBytes": 109888,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-C5DGbdR3.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/furniture-plan-art.generated-CTyOm-PB.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-DLh8FpGr.js",
"sha256": "983d9bf4099b47bccfba7d07f33394cce10374d5cc7c3b993423dd9b94e6ae15",
"rawBytes": 14867,
"gzipBytes": 3427,
"path": "houseplan-assets/summary-panel-editor-CdmJQ4ZP.js",
"sha256": "b82df7c441df958fd4e799f770521e5bd602308b82c95cb6324fd7c93d68bf57",
"rawBytes": 14862,
"gzipBytes": 3418,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js"
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-QtM5h1Pa.js",
"sha256": "4eb89d2f16721c627481f1b15782c429f4627f42538e3a4efda96c4585fcc10f",
"path": "houseplan-assets/summary-panel-metrics-CQXeTtCl.js",
"sha256": "8c96db3e31a71f629b7573120870c48e7ad03205b501ec4365029f6752064e30",
"rawBytes": 2611,
"gzipBytes": 1310,
"gzipBytes": 1304,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-DCbr6mNJ.js",
"sha256": "ea2df6ddf28bf27ac03b6fd1759db7193fd75d1ff4c70e441bc110c123b6e776",
"path": "houseplan-assets/summary-panel-runtime-loaded-Biy-bpfH.js",
"sha256": "2f75b67c9a6615d11ab2838ef78428d273a06fbd0011e3018b530a9f60078a6e",
"rawBytes": 72733,
"gzipBytes": 20174,
"gzipBytes": 20172,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-C3MkGxmn.js",
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/form-kit.styles-B_wstbUM.js",
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-DLh8FpGr.js",
"houseplan-assets/summary-panel-metrics-QtM5h1Pa.js"
"houseplan-assets/summary-panel-editor-CdmJQ4ZP.js",
"houseplan-assets/summary-panel-metrics-CQXeTtCl.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-runtime-Crp6_i2B.js",
"sha256": "a92c6e1bad2391f33057cd591278f03de35fb26dc84af96fbc0bdb85759035d4",
"rawBytes": 3942,
"gzipBytes": 1765,
"path": "houseplan-assets/zigbee-topology-CC5zdgR2.js",
"sha256": "fe8b761dbbf286400fd76357dfad5ac4efb42b0f426d5045fbc28903eeb43c36",
"rawBytes": 18962,
"gzipBytes": 7423,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js",
"houseplan-assets/zigbee-topology-YH4SegMd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-YH4SegMd.js",
"sha256": "c783c1f851ff6743156adb82e7206f0ddf0fbab713e94986537a47fecbf3b099",
"rawBytes": 18962,
"gzipBytes": 7430,
"path": "houseplan-assets/zigbee-topology-runtime-D1YiRFZ4.js",
"sha256": "0cc6de4caae6077311c0606f27276cf53c21759439fea69d10d78afa549306b9",
"rawBytes": 3942,
"gzipBytes": 1760,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js",
"houseplan-assets/zigbee-topology-CC5zdgR2.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "8d38c40ff2c43b389ad2e8d2a8c7e803bd0708f0497f371c19a4b6221612b33a",
"sha256": "6360cc0964d4eb0e46865760edbf926d4aae2f206eaa24ef5075e12ed16e1ba0",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 801,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "2373b49c504eb385e54b0123b369bc75959b7346c56a897d6d4a8db6779122c0",
"sha256": "d2ebfb69eab8cf2ac929ea58d5a1d78ee3627ae3d25b7b4a2a7ead3bec52f8b1",
"rawBytes": 6165,
"gzipBytes": 2326,
"gzipBytes": 2322,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CA9gMCEd.js"
"houseplan-assets/houseplan-card-BeanMXov.js"
],
"dynamicImports": []
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{az as e,l as o,aC as t,e8 as s,A as a,e9 as i,ea as l,eb as n,E as r,c}from"./houseplan-card-CA9gMCEd.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{az as e,l as o,aC as t,e8 as s,A as a,e9 as i,ea as l,eb as n,E as r,c}from"./houseplan-card-BeanMXov.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
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
.computeLabel=${e=>h[e.name]||e.name}
.computeLabel=${e=>f[e.name]||e.name}
@value-changed=${this._valueChanged}
></ha-form>`;return c`
${d(f.slice(0,3))}
${d(h.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(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);
${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);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{c as a,A as s}from"./houseplan-card-CA9gMCEd.js";import{s as e,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-DCbr6mNJ.js";import"./form-kit.styles-C3MkGxmn.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&&!e(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(s=>s.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__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{c as a,A as e}from"./houseplan-card-BeanMXov.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-Biy-bpfH.js";import"./form-kit.styles-B_wstbUM.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"
@@ -10,31 +10,31 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
dismiss-on-scrim aria-busy=${String(d.busy)}
@hp-close=${k}>
<div class="body summary-editor" @click=${()=>m.closeSource()}>
${d.localOnly?a`<p class="summary-local-hint">${b(d.localOnlyHint)}</p>`:s}
${d.localOnly?a`<p class="summary-local-hint">${b(d.localOnlyHint)}</p>`:e}
<section class="summary-general" aria-labelledby="summary-general-title">
<h3 id="summary-general-title">${b("summary.general_settings")}</h3>
<div class="summary-general-grid">
${d.localOnly?s:a`<div class="summary-field">
${d.localOnly?e:a`<div class="summary-field">
<label for="summary-panel-title">${b("summary.panel_title")}</label>
<input id="summary-panel-title" type="text" .value=${d.draft.title}
?disabled=${d.busy}
data-summary-error=${String(d.attempted&&"title"===y?.path)}
aria-invalid=${"error"===v("title")?.kind?"true":"false"}
@input=${a=>m.mutate(s=>{s.title=a.target.value})} />
${v("title")?a`<div class="summary-problem error">${h(v("title"))}</div>`:s}
@input=${a=>m.mutate(e=>{e.title=a.target.value})} />
${v("title")?a`<div class="summary-problem error">${h(v("title"))}</div>`:e}
</div>`}
${g}
${d.localOnly?s:a`<label class="summary-switch" for="summary-mobile-show">
${d.localOnly?e:a`<label class="summary-switch" for="summary-mobile-show">
<span class="summary-switch-caption"><strong>${b("summary.show_mobile")}</strong>
<small id="summary-mobile-show-hint">${b("summary.show_mobile_hint")}</small></span>
<input id="summary-mobile-show" data-summary-mobile-show type="checkbox"
.checked=${d.draft.show_on_mobile} ?disabled=${!d.localShow||d.busy}
aria-label=${b("summary.show_mobile")} aria-describedby="summary-mobile-show-hint"
@change=${a=>m.mutate(s=>{s.show_on_mobile=a.target.checked})} /></label>`}
@change=${a=>m.mutate(e=>{e.show_on_mobile=a.target.checked})} /></label>`}
</div>
${m.storageUnavailable?a`<div class="summary-problem warning">${b("summary.storage_unavailable")}</div>`:s}
${m.storageUnavailable?a`<div class="summary-problem warning">${b("summary.storage_unavailable")}</div>`:e}
</section>
${d.localOnly?s:a`
${d.localOnly?e:a`
<section class="summary-blocks-card" aria-labelledby="summary-blocks-title">
<header class="summary-blocks-heading">
<div><h3 id="summary-blocks-title">${b("summary.blocks")}</h3>
@@ -42,7 +42,7 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
<span class="summary-block-count">${b("summary.block_count").replace("{count}",String(d.draft.blocks.length)).replace("{limit}","10")}</span>
</header>
<div class="summary-editor-blocks">
${d.draft.blocks.map((e,t)=>{const u=`blocks.${t}`,n=v(`${u}.scope`);return a`<article class="summary-editor-block"
${d.draft.blocks.map((s,t)=>{const u=`blocks.${t}`,n=v(`${u}.scope`);return a`<article class="summary-editor-block"
@dragover=${a=>a.preventDefault()}
@drop=${a=>m.drop(a,`block:${t}`)}>
<div class="summary-block-head">
@@ -57,40 +57,40 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
?disabled=${t===d.draft.blocks.length-1||d.busy}
@click=${()=>m.mutate(a=>{a.blocks=r(a.blocks,t,t+1)})}>${l("down")}</button>
</div>
<input class="summary-block-title" type="text" .value=${e.title}
<input class="summary-block-title" type="text" .value=${s.title}
placeholder=${b("summary.block_title")} aria-label=${b("summary.block_title")}
?disabled=${d.busy}
data-summary-error=${String(d.attempted&&y?.path===`${u}.title`)}
aria-invalid=${"error"===v(`${u}.title`)?.kind?"true":"false"}
@input=${a=>m.mutate(s=>{s.blocks[t].title=a.target.value})} />
@input=${a=>m.mutate(e=>{e.blocks[t].title=a.target.value})} />
<button class="summary-icon-button summary-visibility" type="button"
?disabled=${d.busy} aria-pressed=${String(e.visible)}
title=${b(e.visible?"summary.hide_block":"summary.show_block")}
aria-label=${b(e.visible?"summary.hide_block":"summary.show_block")}
@click=${()=>m.mutate(a=>{a.blocks[t].visible=!a.blocks[t].visible})}>${l(e.visible?"eye":"eyeOff")}</button>
${v(`${u}.title`)?a`<div class="summary-problem error summary-block-title-error">${h(v(`${u}.title`))}</div>`:s}
?disabled=${d.busy} aria-pressed=${String(s.visible)}
title=${b(s.visible?"summary.hide_block":"summary.show_block")}
aria-label=${b(s.visible?"summary.hide_block":"summary.show_block")}
@click=${()=>m.mutate(a=>{a.blocks[t].visible=!a.blocks[t].visible})}>${l(s.visible?"eye":"eyeOff")}</button>
${v(`${u}.title`)?a`<div class="summary-problem error summary-block-title-error">${h(v(`${u}.title`))}</div>`:e}
<div class="summary-scope">
<select .value=${e.scope.type} ?disabled=${d.busy}
<select .value=${s.scope.type} ?disabled=${d.busy}
aria-label=${b("summary.scope")}
@change=${a=>m.mutate(s=>{s.blocks[t].scope="space"===a.target.value?{type:"space",space_id:c._space}:{type:"all"}})}>
<option value="all" ?selected=${"all"===e.scope.type}>${b("summary.scope_all")}</option>
<option value="space" ?selected=${"space"===e.scope.type}>${b("summary.scope_space")}</option>
@change=${a=>m.mutate(e=>{e.blocks[t].scope="space"===a.target.value?{type:"space",space_id:c._space}:{type:"all"}})}>
<option value="all" ?selected=${"all"===s.scope.type}>${b("summary.scope_all")}</option>
<option value="space" ?selected=${"space"===s.scope.type}>${b("summary.scope_space")}</option>
</select>
${"space"===e.scope.type?a`<select .value=${e.scope.space_id}
${"space"===s.scope.type?a`<select .value=${s.scope.space_id}
?disabled=${d.busy} aria-label=${b("summary.scope_space")}
data-summary-error=${String(d.attempted&&y?.path===`${u}.scope`)}
aria-invalid=${"error"===n?.kind?"true":"false"}
@change=${a=>m.mutate(s=>{const e=s.blocks[t].scope;"space"===e.type&&(e.space_id=a.target.value)})}>
${c._model.some(a=>a.id===e.scope.space_id)?s:a`<option value=${e.scope.space_id} selected>${e.scope.space_id}</option>`}
${c._model.map(s=>a`<option value=${s.id}
?selected=${s.id===e.scope.space_id}>${s.title}</option>`)}
</select>`:s}
@change=${a=>m.mutate(e=>{const s=e.blocks[t].scope;"space"===s.type&&(s.space_id=a.target.value)})}>
${c._model.some(a=>a.id===s.scope.space_id)?e:a`<option value=${s.scope.space_id} selected>${s.scope.space_id}</option>`}
${c._model.map(e=>a`<option value=${e.id}
?selected=${e.id===s.scope.space_id}>${e.title}</option>`)}
</select>`:e}
</div>
${n?a`<div class="summary-problem summary-scope-problem ${n.kind}">${h(n)}</div>`:s}
${n?a`<div class="summary-problem summary-scope-problem ${n.kind}">${h(n)}</div>`:e}
</div>
<div class="summary-block-body">
<div class="summary-editor-values">
${e.values.map((i,c)=>{const n=`${u}.values.${c}`,$=v(`${n}.source`),p=m.sourceToken(i.source),k=d.activeSource?.blockId===e.id&&d.activeSource.valueId===i.id,g="system"===i.source.type?b(`summary.system.${i.source.key}`):i.source.entity_id?m.entityIndex.labels.get(i.source.entity_id)||i.source.entity_id:b("summary.select_source"),_="system"===i.source.type?b("summary.system_source"):i.source.entity_id,f=k?o(m.entityIndex,d.entityFilter):null,w="entity"===i.source.type&&!!i.source.entity_id&&!m.entityIndex.labels.has(i.source.entity_id),S=`${e.id}\n${i.id}`;return a`<div class="summary-editor-value"
${s.values.map((i,c)=>{const n=`${u}.values.${c}`,$=v(`${n}.source`),p=m.sourceToken(i.source),k=d.activeSource?.blockId===s.id&&d.activeSource.valueId===i.id,g="system"===i.source.type?b(`summary.system.${i.source.key}`):i.source.entity_id?m.entityIndex.labels.get(i.source.entity_id)||i.source.entity_id:b("summary.select_source"),_="system"===i.source.type?b("summary.system_source"):i.source.entity_id,f=k?o(m.entityIndex,d.entityFilter):null,w="entity"===i.source.type&&!!i.source.entity_id&&!m.entityIndex.labels.has(i.source.entity_id),S=`${s.id}\n${i.id}`;return a`<div class="summary-editor-value"
@dragover=${a=>{a.preventDefault(),a.stopPropagation()}}
@drop=${a=>m.drop(a,`value:${t}:${c}`)}>
<span class="summary-drag" draggable=${String(!d.busy)} title=${b("summary.drag")}
@@ -101,7 +101,7 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
@click=${()=>m.mutate(a=>{a.blocks[t].values=r(a.blocks[t].values,c,c-1)})}>${l("up")}</button>
<button class="summary-icon-button" type="button" title=${b("summary.down")}
aria-label=${b("summary.down")}
?disabled=${c===e.values.length-1||d.busy}
?disabled=${c===s.values.length-1||d.busy}
@click=${()=>m.mutate(a=>{a.blocks[t].values=r(a.blocks[t].values,c,c+1)})}>${l("down")}</button>
</div>
<div class="summary-value-label">
@@ -109,8 +109,8 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
placeholder=${b("summary.value_name")} aria-label=${b("summary.value_name")}
data-summary-error=${String(d.attempted&&y?.path===`${n}.label`)}
aria-invalid=${"error"===v(`${n}.label`)?.kind?"true":"false"}
@input=${a=>m.mutate(s=>{s.blocks[t].values[c].label=a.target.value})} />
${v(`${n}.label`)?a`<div class="summary-problem error">${h(v(`${n}.label`))}</div>`:s}
@input=${a=>m.mutate(e=>{e.blocks[t].values[c].label=a.target.value})} />
${v(`${n}.label`)?a`<div class="summary-problem error">${h(v(`${n}.label`))}</div>`:e}
</div>
<div class="summary-source-field">
<button class="summary-source" type="button"
@@ -119,9 +119,9 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
data-summary-error=${String(d.attempted&&y?.path===`${n}.source`)}
aria-invalid=${"error"===$?.kind?"true":"false"}
aria-haspopup="listbox" aria-expanded=${k?"true":"false"}
@click=${a=>{a.stopPropagation(),k?m.closeSource():m.openSource(e.id,i.id)}}>
@click=${a=>{a.stopPropagation(),k?m.closeSource():m.openSource(s.id,i.id)}}>
<span class="summary-source-caption"><strong>${g}</strong>
${_?a`<small>${_}</small>`:s}</span>
${_?a`<small>${_}</small>`:e}</span>
${l("chevron")}
</button>
${k&&f?a`<div class="summary-source-picker"
@@ -135,39 +135,39 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
<div class="summary-source-results" role="listbox"
aria-label=${b("summary.select_source")}>
<div class="summary-source-group">${b("summary.system_group")}</div>
${["device_count","total_area","datetime"].map(s=>a`
${["device_count","total_area","datetime"].map(e=>a`
<button type="button" role="option"
?disabled=${d.busy}
aria-selected=${p===`system:${s}`?"true":"false"}
@click=${()=>m.setSource(e.id,i.id,`system:${s}`)}>
${b(`summary.system.${s}`)}
aria-selected=${p===`system:${e}`?"true":"false"}
@click=${()=>m.setSource(s.id,i.id,`system:${e}`)}>
${b(`summary.system.${e}`)}
</button>`)}
${w?a`<div class="summary-source-group">${b("summary.current_source")}</div>
<button type="button" role="option" class="broken" aria-selected="true"
?disabled=${d.busy}
@click=${()=>m.setSource(e.id,i.id,p)}>
@click=${()=>m.setSource(s.id,i.id,p)}>
${g}
</button>`:s}
</button>`:e}
<div class="summary-source-group">${b("summary.entities_group")}</div>
${f.entries.map(s=>a`<button type="button" role="option"
${f.entries.map(e=>a`<button type="button" role="option"
?disabled=${d.busy}
aria-selected=${p===`entity:${s.id}`?"true":"false"}
@click=${()=>m.setSource(e.id,i.id,`entity:${s.id}`)}>
<span>${s.label}</span><small>${s.id}</small>
aria-selected=${p===`entity:${e.id}`?"true":"false"}
@click=${()=>m.setSource(s.id,i.id,`entity:${e.id}`)}>
<span>${e.label}</span><small>${e.id}</small>
</button>`)}
${f.total?s:a`<div class="summary-empty">${b("summary.no_search_results")}</div>`}
${f.truncated?a`<div class="summary-refine">${b("summary.refine_search")}</div>`:s}
${f.total?e:a`<div class="summary-empty">${b("summary.no_search_results")}</div>`}
${f.truncated?a`<div class="summary-refine">${b("summary.refine_search")}</div>`:e}
</div>
</div>`:s}
${$?a`<div class="summary-problem ${$.kind}">${h($)}</div>`:s}
</div>`:e}
${$?a`<div class="summary-problem ${$.kind}">${h($)}</div>`:e}
</div>
<button class="summary-icon-button summary-value-remove" type="button"
title=${b("btn.delete")} aria-label=${b("btn.delete")} ?disabled=${d.busy}
@click=${()=>m.mutate(a=>{a.blocks[t].values.splice(c,1)})}>${l("close")}</button>
</div>`})}
<button class="summary-add summary-add-value" type="button"
?disabled=${e.values.length>=20||d.busy}
title=${e.values.length>=20?b("summary.limit_values"):""}
?disabled=${s.values.length>=20||d.busy}
title=${s.values.length>=20?b("summary.limit_values"):""}
@click=${()=>m.mutate(a=>{a.blocks[t].values.push(i())})}>
${l("plus")}${b("summary.add_value")}
</button>
@@ -186,11 +186,11 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6
${l("plus")}${b("summary.add_block")}
</button>
</section>
${d.error?a`<div class="summary-problem error" role="alert">${d.error}</div>`:s}
${d.error?a`<div class="summary-problem error" role="alert">${d.error}</div>`:e}
${d.conflict?a`<button class="btn ghost summary-reload" type="button"
?disabled=${d.busy} @click=${()=>m.reload()}>
<ha-icon icon="mdi:reload"></ha-icon>${b("summary.reload_current")}
</button>`:s}
</button>`:e}
`}
</div>
<div class="row summary-editor-footer" slot="footer">
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{ee as e,J as t,aX as n,H as i,aa as o,a8 as r,bP as s,bO as a,aW as c,aV as l,aY as d,ef as u,eg as f,bR as m,eh as g}from"./houseplan-card-CA9gMCEd.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*h(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 p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(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{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{ee as e,J as t,aX as n,H as i,aa as o,a8 as r,bP as s,bO as a,aW as c,aV as l,aY as d,ef as u,eg as f,bR as m,eh as g}from"./houseplan-card-BeanMXov.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*h(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 p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(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{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";import{n as t,b as n}from"./zigbee-topology-YH4SegMd.js";import{aI as e}from"./houseplan-card-CA9gMCEd.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";import{n as t,b as n}from"./zigbee-topology-CC5zdgR2.js";import{aI as e}from"./houseplan-card-BeanMXov.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
+1 -1
View File
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="f590ad3efd8099df626c8fc68ba14b5259d6d0b6a9017752c855c9f416b42d5e";try{await import("./houseplan-assets/houseplan-card-CA9gMCEd.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__="f375b46ff4913dd2e476de3df2bc2e8ce6fd586b5c580aded9b2e6ce431e9cf1";try{await import("./houseplan-assets/houseplan-card-BeanMXov.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -2,6 +2,8 @@
## Unreleased
## v1.77.0-beta.5 — 2026-09-21
- Corrected the furniture library: Exercise equipment is available under Other,
Plant no longer shows the mislabeled machine, and Bookcase/Floor shelving use
the matching drawings. Existing Cactus placements remain visible without
+2
View File
@@ -8,6 +8,8 @@
## Не выпущено
## v1.77.0-beta.5 — 2026-09-21
- Исправлена библиотека мебели: в «Прочем» доступен тренажёр, в «Растении»
больше нет ошибочно подписанного тренажёра, а книжный шкаф и напольный
стеллаж получили соответствующие названиям рисунки. Уже размещённый
+7 -5
View File
@@ -1,16 +1,18 @@
<!-- release: v1.77.0-beta.4 -->
<!-- release: v1.77.0-beta.5 -->
## Основное
- Отполированы обновлённые диалоги настроек: выровнены тумблеры, строки слоёв и значения слайдеров, исправлены тесные поля и футеры, а настройки радара присутствия раскрываются прямо под своим тумблером без потери черновика ([#602](https://github.com/Matysh/houseplan-card/issues/602)).
- Исправлена библиотека мебели: тренажёр доступен в «Прочем», а книжный шкаф и напольный стеллаж получили подходящие рисунки; ранее размещённый «Кактус» остаётся видимым ([#606](https://github.com/Matysh/houseplan-card/issues/606)).
- Доработаны диалоги настроек: кнопки подтверждения и переключатели выровнены, убраны лишние подписи, а цветовые поля и действия больше не обрезаются ([#603](https://github.com/Matysh/houseplan-card/issues/603), [#605](https://github.com/Matysh/houseplan-card/issues/605)).
- Мелкие исправления и улучшения.
## Highlights
- Polished the redesigned settings dialogs: switches, layer rows and slider values are aligned, cramped fields and footers are fixed, and presence-radar settings expand directly below their switch without losing an unsaved draft ([#602](https://github.com/Matysh/houseplan-card/issues/602)).
- Corrected the furniture library: Exercise equipment is under Other, Bookcase and Floor shelving have matching artwork, and previously placed Cactus objects remain visible ([#606](https://github.com/Matysh/houseplan-card/issues/606)).
- Refined the settings dialogs: confirmation buttons and switches align, redundant labels are gone, and colour fields and actions no longer clip ([#603](https://github.com/Matysh/houseplan-card/issues/603), [#605](https://github.com/Matysh/houseplan-card/issues/605)).
- Small fixes and improvements.
Сообщество / Community: [Telegram](https://t.me/ha_houseplan)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.77.0-beta.4/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.77.0-beta.4/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.77.0-beta.5/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.77.0-beta.5/docs/CHANGELOG.md)
+3 -3
View File
@@ -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-20)
## Snapshot (2026-09-21)
| Item | State |
|---|---|
| Version | **v1.77.0-beta.4** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Beta v1.77.0-beta.4 candidate** — prepared from the exact integrated `dev` tree; `main` stays on v1.76.0. User-visible: the redesigned Space and Device dialogs receive a focused polish pass — aligned switches and rows, readable numeric fields, compact one-row desktop footers and inline presence-radar settings that preserve their unsaved draft (#602). Internal: beta/full Validate no longer repeats per-diff mutants already exercised on review and merge candidates; the nightly full mutation registry remains unchanged (#601). |
| Version | **v1.77.0-beta.5** 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.77.0-beta.5 candidate** — prepared from the exact integrated `dev` tree; `main` stays on v1.76.0. User-visible: corrected furniture catalog artwork and Exercise placement (#606), and further dialog polish for the discard prompt, switches, room settings, colour controls and device fields (#603, #605). Internal: nightly mutation-gate shards now run as six bounded jobs and reject incomplete shard evidence (#604). |
| Hidden Alpha Stage | #89 Stage 1 ships in v1.63.0-beta.1, #122 Stage 2 in v1.64.0 and #160 Stage 3 in v1.73.0-beta.1; #570 adds the Stage 4 designer handoff and #583 refines it on `dev`: only the building ambient shadow remains, door/gate volumes pivot on the selected host face without strokes, and devices/lock badges receive deterministic mutual collision correction while room labels remain passive below them. The same hidden `iso` view uses a fixed 0°/20° camera and scale-aware wall height 84, low screen-facing device/room/lock overlays without tethers or ground dots, neutral full-height window frames with blue glass, and bounded theme materials. Since #448 the experiment is enabled only through the single indefinite browser-local `hp_alpha` gate; it is not expiring and has no per-stage key. Flat remains default; editors, `houseplan-space-card`, floor effects, stored coordinates and HA actions remain unchanged. Stage 4 stays internal and is absent from public changelog/user documentation. |
| Workflow | Superseded 2026-08-12: the pre-1.62 rule of "local edits without tests or commits" is **dead** — since release 1.62 every product change follows `PROCESS.md` (issue in `S5-ready`+, branch `issue/<NN>-slug`, trailers on every commit, review pipeline; `AGENTS.md` is the summary). Release mechanics below remain current. A requested pre-release gets a production build plus the smallest targeted unit/smoke set covering the changed surfaces, one tested `dev` commit/tag and a GitHub Release with `prerelease=true`; `main` stays untouched. The complete local frontend/backend/smoke gate runs only before a stable release, after which `main` is fast-forwarded to the exact tested `dev` SHA and the stable release is produced by `release.yml` (`workflow_dispatch` on `main` with the tag) — the only publisher of installable assets since #540: gates on the exact SHA (Validate, Full Performance, E2E on the candidate commit), one build, `houseplan.zip` archived from the committed tree, `SHA256SUMS`, draft → publish → read-back verification; a release published by hand in the GitHub form is turned back into a draft and walked through the same path, and a re-dispatch on a public tag is a repair that adds only missing assets. Release bodies are short and bilingual (Russian first); every bullet links its GitHub issue (#NN) so the #328 rules stay machine-checkable. A STABLE body aggregates the changelog since the PREVIOUS STABLE release (never since the last beta): features/fixes described across the line's beta changelogs must appear, while bugs that were introduced and fixed strictly inside the beta line (never shipped in any stable) are excluded — draft with `npm run release:notes -- <tag>`, curate by hand, then `npm run release:notes -- <tag> --verify` must pass. `Мелкие исправления и улучшения` / `Small fixes and improvements` is allowed only when the range really contains user-visible work not itemised in the body; a single-issue hotfix ships without it (the verifier enforces this). Every body ends with separate links to the Russian and English changelogs. Open or partially delivered issues are never presented as shipped. Telegram announcements are sent only for stable releases; beta and RC publication is silent. `docs/RELEASE-NOTES.md` is the current canonical body instance; `npm run release:prerelease -- <tag> --issues=… --yes` is the primary local publication path and the manual `Publish prerelease` workflow is its GitHub-only equivalent once present on `main`. Nothing is copied to the home instance by hand |
| GitHub | https://github.com/Matysh/houseplan-card — [Issues](https://github.com/Matysh/houseplan-card/issues) are the canonical task records; their labels carry priority and workflow status (`PROCESS.md` §9). GitHub Projects is no longer used. `main` carries stable releases; pre-release tags may point directly at `dev`. Work lands on `dev` and is merged into `main` for a stable release, so `dev` is normally equal to or ahead of `main`, never behind. Push via SSH key `ha_jb` (remote git@github.com:…); API releases via the fine-grained PAT in `~/.git-credentials` (Contents R/W, issued 2026-07-23) |
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "houseplan-card",
"version": "1.77.0-beta.4",
"version": "1.77.0-beta.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.77.0-beta.4",
"version": "1.77.0-beta.5",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.77.0-beta.4",
"version": "1.77.0-beta.5",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -427,7 +427,7 @@ import type { MarkerRoomReferenceSnapshot } from './room-reference-transaction';
import { SummaryRuntimeSlot, summaryRuntimeLoader } from './summary-runtime-loader';
import { displayVersion } from './card-version';
const CARD_VERSION = '1.77.0-beta.4';
const CARD_VERSION = '1.77.0-beta.5';
const ENTRY_BUILD_FINGERPRINT = '__HOUSEPLAN_SOURCE_FINGERPRINT__';
const EDITOR_RETRY_ASSET = '__HOUSEPLAN_EDITOR_RETRY_ASSET__';
const ISO_RETRY_ASSET = '__HOUSEPLAN_ISO_RETRY_ASSET__';
+1 -1
View File
@@ -397,7 +397,7 @@ import {
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
} from './room-reference-transaction';
const CARD_VERSION = '1.77.0-beta.4';
const CARD_VERSION = '1.77.0-beta.5';
// #474: the editor imports the furniture artwork statically and hands it to
// the page runtime the moment this chunk evaluates — before the loader's