Prepare v1.78.0-beta.1

Кандидат объединяет исправления диалогов и сенсорного ввода, безопасный импорт и хранение, read-only сценарии и обновление палитры мебели. Синхронизированы версия, changelog, release notes и поставляемые bundle-копии.

Release: v1.78.0-beta.1
Issue: #607
Issue: #608
Issue: #609
Issue: #610
Issue: #611
Issue: #612
Issue: #613
Issue: #614
Issue: #619
Issue: #621
Issue: #624
Issue: #625
Issue: #635
Issue: #636
Issue: #637
Issue: #639
Issue: #640
Issue: #641
User-Visible: yes
This commit is contained in:
Claude
2026-09-23 21:50:04 +03:00
parent b0c4e7c32e
commit 32552224ea
52 changed files with 464 additions and 460 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"
VERSION = "1.78.0-beta.1"
DECOR_ASSETS_API_VERSION = 1
SUMMARY_PANEL_API_VERSION = 1
@@ -1,89 +1,89 @@
{
"schema": 1,
"fingerprint": "69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97",
"fingerprint": "dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 289452,
"initialViewGzipBytes": 289457,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 290976,
"initialPanelGzipBytes": 290980,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2327,
"lazyFiles": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/de-BS9wHWi6.js",
"houseplan-assets/editor-BMZm1YSF.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/fr-BXTCaZ6b.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js",
"houseplan-assets/hp-zigbee-topology-overlay-DeghrMYb.js",
"houseplan-assets/iso-scene-render-WErCGfb7.js",
"houseplan-assets/live-interaction-runtime-DqZvf8N9.js",
"houseplan-assets/pdf-export-CRHFi1dw.js",
"houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js",
"houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/de-DdzklZDC.js",
"houseplan-assets/editor-BjKwKkQK.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/fr-YavZ2C6t.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js",
"houseplan-assets/hp-zigbee-topology-overlay-BbhGv7aa.js",
"houseplan-assets/iso-scene-render-BdwH4Fpd.js",
"houseplan-assets/live-interaction-runtime-Bx9RBxmo.js",
"houseplan-assets/pdf-export-OwE7zhHL.js",
"houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js",
"houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js"
],
"lazyGzipBytes": 460939,
"lazyGzipBytes": 460940,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/editor-BMZm1YSF.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/editor-BjKwKkQK.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js"
],
"lazyEditorGzipBytes": 244421,
"lazyEditorGzipBytes": 244433,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js"
],
"lazyOnboardingGzipBytes": 34527,
"lazyOnboardingGzipBytes": 34526,
"lazyLocaleFiles": [
"houseplan-assets/de-BS9wHWi6.js",
"houseplan-assets/fr-BXTCaZ6b.js"
"houseplan-assets/de-DdzklZDC.js",
"houseplan-assets/fr-YavZ2C6t.js"
],
"lazyLocaleGzipBytes": 55262,
"lazyLocaleGzipBytes": 55260,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-WErCGfb7.js"
"houseplan-assets/iso-scene-render-BdwH4Fpd.js"
],
"lazyIsometricGzipBytes": 17645,
"lazyIsometricGzipBytes": 17641,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js"
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js"
],
"lazyFurnitureArtGzipBytes": 16937,
"lazyFurnitureArtGzipBytes": 16940,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/pdf-export-CRHFi1dw.js"
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/pdf-export-OwE7zhHL.js"
],
"lazyPdfGzipBytes": 126824,
"lazyPdfGzipBytes": 126827,
"files": [
{
"path": "houseplan-assets/backdrop-pick-DySspgf9.js",
"sha256": "fd9a1e2c1740a2b60c8104f28b4bb4c47b3c28142d665bfae84cb33e453db8a3",
"path": "houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"sha256": "6acf3bad16c7100867c5fa126ced199a583db2855484a3499a43c1e37abcde16",
"rawBytes": 76524,
"gzipBytes": 24574,
"gzipBytes": 24573,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-BS9wHWi6.js",
"sha256": "1f92be7e8df667e76658bb886bf4f202f7d9c3ae18d02efdec6d736ce7251ad9",
"path": "houseplan-assets/de-DdzklZDC.js",
"sha256": "f0a47f476e8dbe103d45b2224477370220e01508c0a6b217418ebb0213c2470f",
"rawBytes": 92247,
"gzipBytes": 27867,
"isEntry": false,
@@ -91,19 +91,19 @@
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-BMZm1YSF.js",
"sha256": "e1d7b66ad6a074ee18734017725b6a0e7073daa9679f73bf1092fec9c496742d",
"path": "houseplan-assets/editor-BjKwKkQK.js",
"sha256": "33ff26dede30b326baba08172f18a0bb66ec55ca4d3a5d8d65820293631d56eb",
"rawBytes": 3833,
"gzipBytes": 1584,
"gzipBytes": 1585,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/form-kit.styles-BgmGBrDY.js",
"sha256": "c42cd77459cea989cbfb7ff3d4d34ae41571cbc0d04fc79d31eb8f29cd01aa35",
"path": "houseplan-assets/form-kit.styles-CL0PrJiy.js",
"sha256": "0971d05469bb628a54cc386dc1eb08fb5da97b0cdfbfe20749bb82773be414c7",
"rawBytes": 25600,
"gzipBytes": 5056,
"isEntry": false,
@@ -111,202 +111,202 @@
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-BXTCaZ6b.js",
"sha256": "4be52d798269354b3dceb9f143b1589f1476a17a612a97a485d77c928a2a9ea5",
"path": "houseplan-assets/fr-YavZ2C6t.js",
"sha256": "6b5f8aae987b348c236d60399f83028b403450bb64bfda8d8707ba073a08602c",
"rawBytes": 94579,
"gzipBytes": 27395,
"gzipBytes": 27393,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"sha256": "746f7d9b34f3ab2391a119d4ff7949ae4c4a029767933c067760946e4b4f2dd3",
"path": "houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"sha256": "9778c68f355953d7abfe474dd40f7d9376aa3dbabb0735036dbbee57b1ac8495",
"rawBytes": 52035,
"gzipBytes": 16937,
"gzipBytes": 16940,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-74_n9MKq.js",
"sha256": "a83510bc7fc6f01f53e237f75705fcb614e0eaa15755137b649990eb4526a93e",
"rawBytes": 1022199,
"gzipBytes": 288649,
"path": "houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"sha256": "ff306a30871de854aad3b3c7910da5eb15948e086c27bf842cd7b65becacbbbe",
"rawBytes": 1022206,
"gzipBytes": 288653,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-BS9wHWi6.js",
"houseplan-assets/editor-BMZm1YSF.js",
"houseplan-assets/fr-BXTCaZ6b.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js",
"houseplan-assets/hp-zigbee-topology-overlay-DeghrMYb.js",
"houseplan-assets/iso-scene-render-WErCGfb7.js",
"houseplan-assets/live-interaction-runtime-DqZvf8N9.js",
"houseplan-assets/pdf-export-CRHFi1dw.js",
"houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js"
"houseplan-assets/de-DdzklZDC.js",
"houseplan-assets/editor-BjKwKkQK.js",
"houseplan-assets/fr-YavZ2C6t.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js",
"houseplan-assets/hp-zigbee-topology-overlay-BbhGv7aa.js",
"houseplan-assets/iso-scene-render-BdwH4Fpd.js",
"houseplan-assets/live-interaction-runtime-Bx9RBxmo.js",
"houseplan-assets/pdf-export-OwE7zhHL.js",
"houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"sha256": "6e23016bf9d6074118c32546177027da79e28ad8585fc908725e1af1798c3c74",
"rawBytes": 678211,
"gzipBytes": 188840,
"path": "houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"sha256": "df3eef9ff3dfc5ce97d6b87c87a18207763df931f681a06df4f07329cd6c4a25",
"rawBytes": 678218,
"gzipBytes": 188850,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js"
"houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js",
"sha256": "3974377e68797bc186c4472f3c3f3157bedea7b51dcfd55a2728870ffb408730",
"path": "houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js",
"sha256": "ff84c50ed19ace0bb8e74e3c45325a2b447c9b701f0c0409633f0fdefb9ce918",
"rawBytes": 15986,
"gzipBytes": 4897,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-DeghrMYb.js",
"sha256": "d54d3e5de2d468a686858650d0d53bd05244cd9a0b259dd887407fcc5acbdc60",
"path": "houseplan-assets/hp-zigbee-topology-overlay-BbhGv7aa.js",
"sha256": "9a30f7cbc062676c3247dd5c4e9adb5ac1c575ac39e6bb97cfe7b34679e28532",
"rawBytes": 10759,
"gzipBytes": 3688,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js",
"houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js",
"houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-WErCGfb7.js",
"sha256": "6772d50b89b5bd67a5474015f207ca2f38eca1a28e5ac60eef4fb69664fa5051",
"path": "houseplan-assets/iso-scene-render-BdwH4Fpd.js",
"sha256": "51c4c55290167ec63ad124d4e585883c19436a4e184c0772d8ef6fe8052b3bb7",
"rawBytes": 51983,
"gzipBytes": 17645,
"gzipBytes": 17641,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-DqZvf8N9.js",
"sha256": "73348aa79ee4844660967192325d8e92fc59bb22f58c16257ab6549cc27a866d",
"path": "houseplan-assets/live-interaction-runtime-Bx9RBxmo.js",
"sha256": "ba82aa493975ea5d4187c61704dba580a446a3901e2d8185298081d801832038",
"rawBytes": 8216,
"gzipBytes": 3209,
"gzipBytes": 3205,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-CRHFi1dw.js",
"sha256": "024231a2788e3ced48ee5ebaed5fde4acfef30c0ebcad5a36e8e6ba31b482a63",
"path": "houseplan-assets/pdf-export-OwE7zhHL.js",
"sha256": "eac3940edb1c089840a4ab98036480e30e89cfbaf640ebcfc644515650687269",
"rawBytes": 236264,
"gzipBytes": 109887,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-D2YQTymt.js",
"sha256": "4a908021bb1a50ec6260ac5a70fd498354c22c8abd3b354eba06133f74f50f86",
"path": "houseplan-assets/summary-panel-editor-CMmiMp-J.js",
"sha256": "af159e622c901f85e89f530d831af41119000e3afbecccb66b1dd49da0b05307",
"rawBytes": 14862,
"gzipBytes": 3427,
"gzipBytes": 3426,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js"
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-DSS3_nCF.js",
"sha256": "0ab33c934349bc4295eea08a0cd47a241fd2f38fb4762a9617358cb88bacf6b1",
"path": "houseplan-assets/summary-panel-metrics-BugkdR_l.js",
"sha256": "3fba5bcfa7a5cede40e48c221fae700b2a4d33b0e8dca714d5217fd8bcf12642",
"rawBytes": 2611,
"gzipBytes": 1308,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js",
"sha256": "e59722f015963f810ff64e8801d475eaec6ac5569198e5ddec46ffa80d34206a",
"path": "houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js",
"sha256": "0ae1920f24688f49281b1d5adf6c21f54d78e40129480016bbdc80c21661fed6",
"rawBytes": 72637,
"gzipBytes": 20166,
"gzipBytes": 20164,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-D2YQTymt.js",
"houseplan-assets/summary-panel-metrics-DSS3_nCF.js"
"houseplan-assets/summary-panel-editor-CMmiMp-J.js",
"houseplan-assets/summary-panel-metrics-BugkdR_l.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-BgCwJt55.js",
"sha256": "5e8532d48a653b627e51d6f862426a523759749ffa6d7c7421a6bb5953117dce",
"path": "houseplan-assets/zigbee-topology-DPrbZmN0.js",
"sha256": "a5630f588e923de65f98a805871c165cbb7b56a3c7873db7b14f727cd856f9f6",
"rawBytes": 18962,
"gzipBytes": 7430,
"gzipBytes": 7429,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js",
"sha256": "da347518ff7635fb30b3eb9928161a479116e7af6b454dfa9d4edae161091b78",
"path": "houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js",
"sha256": "cf5b41c849b41e08fa821415b4079fe9a2b6c2d901ade2f1821e1d70e989c850",
"rawBytes": 3942,
"gzipBytes": 1764,
"gzipBytes": 1765,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "a7480e327b096cdb1743a7186fa135e102c1144d2fd99ed1c47953529d15c207",
"sha256": "ad77ef6132b3cb9f7b55bb06a199445eaaf793b159ee3e052cc94e5c2ed83262",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 804,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "6c31e3fc5215353af80614b1dd84a0a6d7c464c0cca59ece499a63c1e35f48aa",
"sha256": "e17e165e87c7e8bf2ce64566dc568a5d174ed3aae766608fad10a14e2811ce24",
"rawBytes": 6165,
"gzipBytes": 2327,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
}
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{A as e,c as a,s as t,l as i,d as n,ap as s,h as r,j as o,g as l,dH as c,dI as p,dJ as d,cL as h,dK as u,cK as m,dL as g,cQ as _,cP as b,dM as f,bs as v,br as w,bt as y,av as k,aC as $,aD as x,dN as S}from"./houseplan-card-74_n9MKq.js";import{c as C,f as M,C as L}from"./form-kit.styles-BgmGBrDY.js";const z=C+M(L,{withSwitch:!1}),P=new WeakSet;let D=null;function T(e){const a=e.renderRoot;if(!a||P.has(a))return;const t=a.ownerDocument??globalThis.document,i=t?.defaultView?.CSSStyleSheet;if(i&&"adoptedStyleSheets"in a)return D||(D=new i,D.replaceSync(z)),a.adoptedStyleSheets=[...a.adoptedStyleSheets,D],void P.add(a);if(a.querySelector("style[data-hp-form-kit]"))return void P.add(a);const n=t.createElement("style");n.dataset.hpFormKit="true",n.textContent=z,a.appendChild(n),P.add(a)}function H({title:t,help:i,body:n,id:s}){return a`<section class="hpf-card" data-card=${s??e}>
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{A as e,c as a,s as t,l as i,d as n,ap as s,h as r,j as o,g as l,dH as c,dI as p,dJ as d,cL as h,dK as u,cK as m,dL as g,cQ as _,cP as b,dM as f,bs as v,br as w,bt as y,av as k,aC as $,aD as x,dN as S}from"./houseplan-card-CA5Qv_Yq.js";import{c as C,f as M,C as L}from"./form-kit.styles-CL0PrJiy.js";const z=C+M(L,{withSwitch:!1}),P=new WeakSet;let D=null;function T(e){const a=e.renderRoot;if(!a||P.has(a))return;const t=a.ownerDocument??globalThis.document,i=t?.defaultView?.CSSStyleSheet;if(i&&"adoptedStyleSheets"in a)return D||(D=new i,D.replaceSync(z)),a.adoptedStyleSheets=[...a.adoptedStyleSheets,D],void P.add(a);if(a.querySelector("style[data-hp-form-kit]"))return void P.add(a);const n=t.createElement("style");n.dataset.hpFormKit="true",n.textContent=z,a.appendChild(n),P.add(a)}function H({title:t,help:i,body:n,id:s}){return a`<section class="hpf-card" data-card=${s??e}>
${t?a`<div class="hpf-head"><h3>${t}</h3>${i??e}</div>`:e}
<div class="hpf-body">${n}</div>
</section>`}function E({title:t,help:i}){return a`<div class="hpf-sub"><h4>${t}</h4>${i??e}</div>`}function F({label:t,htmlFor:i,help:n,control:s,hint:r,error:o}){return a`<div class="hpf-field">
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-74_n9MKq.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__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-CA5Qv_Yq.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);
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{c as a,A as e}from"./houseplan-card-74_n9MKq.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-BQYtTnkQ.js";import"./form-kit.styles-BgmGBrDY.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{c as a,A as e}from"./houseplan-card-CA5Qv_Yq.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-TTGe3qaE.js";import"./form-kit.styles-CL0PrJiy.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
<input id="summary-local-show" data-summary-local-show type="checkbox"
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as a,bS as s,a_ as l,aZ as c,b0 as u,el as d,em as f,bV as m,en as g}from"./houseplan-card-74_n9MKq.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),a=i.binding.slice(o+1),s="device"===r?e.registry.devices?.[a]:null,l="entity"===r?e.registry.entities?.[a]:null,c="device"===r?a:l?.device_id,u="device"===r?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(a))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/o;d+=s(v)*_*_/1e4}return d}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=d(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__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as s,bS as a,a_ as l,aZ as c,b0 as d,el as u,em as f,bV as m,en as g}from"./houseplan-card-CA5Qv_Yq.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,l="entity"===r?e.registry.entities?.[s]:null,c="device"===r?s:l?.device_id,d="device"===r?a?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(s))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(l,c,d=_){try{let u=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(l,m.physicalBodies)),yield}const _=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__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{n as t,b as n}from"./zigbee-topology-BgCwJt55.js";import{aM as e}from"./houseplan-card-74_n9MKq.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{n as t,b as n}from"./zigbee-topology-DPrbZmN0.js";import{aM as e}from"./houseplan-card-CA5Qv_Yq.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__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";try{await import("./houseplan-assets/houseplan-card-74_n9MKq.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__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";try{await import("./houseplan-assets/houseplan-card-CA5Qv_Yq.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"
"version": "1.78.0-beta.1"
}
+138 -138
View File
@@ -1,89 +1,89 @@
{
"schema": 1,
"fingerprint": "69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97",
"fingerprint": "dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 289452,
"initialViewGzipBytes": 289457,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 290976,
"initialPanelGzipBytes": 290980,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2327,
"lazyFiles": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/de-BS9wHWi6.js",
"houseplan-assets/editor-BMZm1YSF.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/fr-BXTCaZ6b.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js",
"houseplan-assets/hp-zigbee-topology-overlay-DeghrMYb.js",
"houseplan-assets/iso-scene-render-WErCGfb7.js",
"houseplan-assets/live-interaction-runtime-DqZvf8N9.js",
"houseplan-assets/pdf-export-CRHFi1dw.js",
"houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js",
"houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/de-DdzklZDC.js",
"houseplan-assets/editor-BjKwKkQK.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/fr-YavZ2C6t.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js",
"houseplan-assets/hp-zigbee-topology-overlay-BbhGv7aa.js",
"houseplan-assets/iso-scene-render-BdwH4Fpd.js",
"houseplan-assets/live-interaction-runtime-Bx9RBxmo.js",
"houseplan-assets/pdf-export-OwE7zhHL.js",
"houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js",
"houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js"
],
"lazyGzipBytes": 460939,
"lazyGzipBytes": 460940,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/editor-BMZm1YSF.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/editor-BjKwKkQK.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js"
],
"lazyEditorGzipBytes": 244421,
"lazyEditorGzipBytes": 244433,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js"
],
"lazyOnboardingGzipBytes": 34527,
"lazyOnboardingGzipBytes": 34526,
"lazyLocaleFiles": [
"houseplan-assets/de-BS9wHWi6.js",
"houseplan-assets/fr-BXTCaZ6b.js"
"houseplan-assets/de-DdzklZDC.js",
"houseplan-assets/fr-YavZ2C6t.js"
],
"lazyLocaleGzipBytes": 55262,
"lazyLocaleGzipBytes": 55260,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-WErCGfb7.js"
"houseplan-assets/iso-scene-render-BdwH4Fpd.js"
],
"lazyIsometricGzipBytes": 17645,
"lazyIsometricGzipBytes": 17641,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js"
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js"
],
"lazyFurnitureArtGzipBytes": 16937,
"lazyFurnitureArtGzipBytes": 16940,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/pdf-export-CRHFi1dw.js"
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/pdf-export-OwE7zhHL.js"
],
"lazyPdfGzipBytes": 126824,
"lazyPdfGzipBytes": 126827,
"files": [
{
"path": "houseplan-assets/backdrop-pick-DySspgf9.js",
"sha256": "fd9a1e2c1740a2b60c8104f28b4bb4c47b3c28142d665bfae84cb33e453db8a3",
"path": "houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"sha256": "6acf3bad16c7100867c5fa126ced199a583db2855484a3499a43c1e37abcde16",
"rawBytes": 76524,
"gzipBytes": 24574,
"gzipBytes": 24573,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-BS9wHWi6.js",
"sha256": "1f92be7e8df667e76658bb886bf4f202f7d9c3ae18d02efdec6d736ce7251ad9",
"path": "houseplan-assets/de-DdzklZDC.js",
"sha256": "f0a47f476e8dbe103d45b2224477370220e01508c0a6b217418ebb0213c2470f",
"rawBytes": 92247,
"gzipBytes": 27867,
"isEntry": false,
@@ -91,19 +91,19 @@
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-BMZm1YSF.js",
"sha256": "e1d7b66ad6a074ee18734017725b6a0e7073daa9679f73bf1092fec9c496742d",
"path": "houseplan-assets/editor-BjKwKkQK.js",
"sha256": "33ff26dede30b326baba08172f18a0bb66ec55ca4d3a5d8d65820293631d56eb",
"rawBytes": 3833,
"gzipBytes": 1584,
"gzipBytes": 1585,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/form-kit.styles-BgmGBrDY.js",
"sha256": "c42cd77459cea989cbfb7ff3d4d34ae41571cbc0d04fc79d31eb8f29cd01aa35",
"path": "houseplan-assets/form-kit.styles-CL0PrJiy.js",
"sha256": "0971d05469bb628a54cc386dc1eb08fb5da97b0cdfbfe20749bb82773be414c7",
"rawBytes": 25600,
"gzipBytes": 5056,
"isEntry": false,
@@ -111,202 +111,202 @@
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-BXTCaZ6b.js",
"sha256": "4be52d798269354b3dceb9f143b1589f1476a17a612a97a485d77c928a2a9ea5",
"path": "houseplan-assets/fr-YavZ2C6t.js",
"sha256": "6b5f8aae987b348c236d60399f83028b403450bb64bfda8d8707ba073a08602c",
"rawBytes": 94579,
"gzipBytes": 27395,
"gzipBytes": 27393,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"sha256": "746f7d9b34f3ab2391a119d4ff7949ae4c4a029767933c067760946e4b4f2dd3",
"path": "houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"sha256": "9778c68f355953d7abfe474dd40f7d9376aa3dbabb0735036dbbee57b1ac8495",
"rawBytes": 52035,
"gzipBytes": 16937,
"gzipBytes": 16940,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-74_n9MKq.js",
"sha256": "a83510bc7fc6f01f53e237f75705fcb614e0eaa15755137b649990eb4526a93e",
"rawBytes": 1022199,
"gzipBytes": 288649,
"path": "houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"sha256": "ff306a30871de854aad3b3c7910da5eb15948e086c27bf842cd7b65becacbbbe",
"rawBytes": 1022206,
"gzipBytes": 288653,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-BS9wHWi6.js",
"houseplan-assets/editor-BMZm1YSF.js",
"houseplan-assets/fr-BXTCaZ6b.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js",
"houseplan-assets/hp-zigbee-topology-overlay-DeghrMYb.js",
"houseplan-assets/iso-scene-render-WErCGfb7.js",
"houseplan-assets/live-interaction-runtime-DqZvf8N9.js",
"houseplan-assets/pdf-export-CRHFi1dw.js",
"houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js"
"houseplan-assets/de-DdzklZDC.js",
"houseplan-assets/editor-BjKwKkQK.js",
"houseplan-assets/fr-YavZ2C6t.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js",
"houseplan-assets/hp-zigbee-topology-overlay-BbhGv7aa.js",
"houseplan-assets/iso-scene-render-BdwH4Fpd.js",
"houseplan-assets/live-interaction-runtime-Bx9RBxmo.js",
"houseplan-assets/pdf-export-OwE7zhHL.js",
"houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-CGmHUET4.js",
"sha256": "6e23016bf9d6074118c32546177027da79e28ad8585fc908725e1af1798c3c74",
"rawBytes": 678211,
"gzipBytes": 188840,
"path": "houseplan-assets/houseplan-editor-runtime-CChcj4iD.js",
"sha256": "df3eef9ff3dfc5ce97d6b87c87a18207763df931f681a06df4f07329cd6c4a25",
"rawBytes": 678218,
"gzipBytes": 188850,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js"
"houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-CbQxbxm9.js",
"sha256": "3974377e68797bc186c4472f3c3f3157bedea7b51dcfd55a2728870ffb408730",
"path": "houseplan-assets/houseplan-onboarding-runtime-CckGRHgd.js",
"sha256": "ff84c50ed19ace0bb8e74e3c45325a2b447c9b701f0c0409633f0fdefb9ce918",
"rawBytes": 15986,
"gzipBytes": 4897,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-DySspgf9.js",
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/backdrop-pick-C7x2A-Ic.js",
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-DeghrMYb.js",
"sha256": "d54d3e5de2d468a686858650d0d53bd05244cd9a0b259dd887407fcc5acbdc60",
"path": "houseplan-assets/hp-zigbee-topology-overlay-BbhGv7aa.js",
"sha256": "9a30f7cbc062676c3247dd5c4e9adb5ac1c575ac39e6bb97cfe7b34679e28532",
"rawBytes": 10759,
"gzipBytes": 3688,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js",
"houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js",
"houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-WErCGfb7.js",
"sha256": "6772d50b89b5bd67a5474015f207ca2f38eca1a28e5ac60eef4fb69664fa5051",
"path": "houseplan-assets/iso-scene-render-BdwH4Fpd.js",
"sha256": "51c4c55290167ec63ad124d4e585883c19436a4e184c0772d8ef6fe8052b3bb7",
"rawBytes": 51983,
"gzipBytes": 17645,
"gzipBytes": 17641,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-DqZvf8N9.js",
"sha256": "73348aa79ee4844660967192325d8e92fc59bb22f58c16257ab6549cc27a866d",
"path": "houseplan-assets/live-interaction-runtime-Bx9RBxmo.js",
"sha256": "ba82aa493975ea5d4187c61704dba580a446a3901e2d8185298081d801832038",
"rawBytes": 8216,
"gzipBytes": 3209,
"gzipBytes": 3205,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-CRHFi1dw.js",
"sha256": "024231a2788e3ced48ee5ebaed5fde4acfef30c0ebcad5a36e8e6ba31b482a63",
"path": "houseplan-assets/pdf-export-OwE7zhHL.js",
"sha256": "eac3940edb1c089840a4ab98036480e30e89cfbaf640ebcfc644515650687269",
"rawBytes": 236264,
"gzipBytes": 109887,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-DobaZhEB.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/furniture-plan-art.generated-BtGImX3G.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-D2YQTymt.js",
"sha256": "4a908021bb1a50ec6260ac5a70fd498354c22c8abd3b354eba06133f74f50f86",
"path": "houseplan-assets/summary-panel-editor-CMmiMp-J.js",
"sha256": "af159e622c901f85e89f530d831af41119000e3afbecccb66b1dd49da0b05307",
"rawBytes": 14862,
"gzipBytes": 3427,
"gzipBytes": 3426,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js"
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-DSS3_nCF.js",
"sha256": "0ab33c934349bc4295eea08a0cd47a241fd2f38fb4762a9617358cb88bacf6b1",
"path": "houseplan-assets/summary-panel-metrics-BugkdR_l.js",
"sha256": "3fba5bcfa7a5cede40e48c221fae700b2a4d33b0e8dca714d5217fd8bcf12642",
"rawBytes": 2611,
"gzipBytes": 1308,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-BQYtTnkQ.js",
"sha256": "e59722f015963f810ff64e8801d475eaec6ac5569198e5ddec46ffa80d34206a",
"path": "houseplan-assets/summary-panel-runtime-loaded-TTGe3qaE.js",
"sha256": "0ae1920f24688f49281b1d5adf6c21f54d78e40129480016bbdc80c21661fed6",
"rawBytes": 72637,
"gzipBytes": 20166,
"gzipBytes": 20164,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-BgmGBrDY.js",
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/form-kit.styles-CL0PrJiy.js",
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-D2YQTymt.js",
"houseplan-assets/summary-panel-metrics-DSS3_nCF.js"
"houseplan-assets/summary-panel-editor-CMmiMp-J.js",
"houseplan-assets/summary-panel-metrics-BugkdR_l.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-BgCwJt55.js",
"sha256": "5e8532d48a653b627e51d6f862426a523759749ffa6d7c7421a6bb5953117dce",
"path": "houseplan-assets/zigbee-topology-DPrbZmN0.js",
"sha256": "a5630f588e923de65f98a805871c165cbb7b56a3c7873db7b14f727cd856f9f6",
"rawBytes": 18962,
"gzipBytes": 7430,
"gzipBytes": 7429,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-BMoqqgmU.js",
"sha256": "da347518ff7635fb30b3eb9928161a479116e7af6b454dfa9d4edae161091b78",
"path": "houseplan-assets/zigbee-topology-runtime-C8NG9DN7.js",
"sha256": "cf5b41c849b41e08fa821415b4079fe9a2b6c2d901ade2f1821e1d70e989c850",
"rawBytes": 3942,
"gzipBytes": 1764,
"gzipBytes": 1765,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js",
"houseplan-assets/zigbee-topology-BgCwJt55.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js",
"houseplan-assets/zigbee-topology-DPrbZmN0.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "a7480e327b096cdb1743a7186fa135e102c1144d2fd99ed1c47953529d15c207",
"sha256": "ad77ef6132b3cb9f7b55bb06a199445eaaf793b159ee3e052cc94e5c2ed83262",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 804,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "6c31e3fc5215353af80614b1dd84a0a6d7c464c0cca59ece499a63c1e35f48aa",
"sha256": "e17e165e87c7e8bf2ce64566dc568a5d174ed3aae766608fad10a14e2811ce24",
"rawBytes": 6165,
"gzipBytes": 2327,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-74_n9MKq.js"
"houseplan-assets/houseplan-card-CA5Qv_Yq.js"
],
"dynamicImports": []
}
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{A as e,c as a,s as t,l as i,d as n,ap as s,h as r,j as o,g as l,dH as c,dI as p,dJ as d,cL as h,dK as u,cK as m,dL as g,cQ as _,cP as b,dM as f,bs as v,br as w,bt as y,av as k,aC as $,aD as x,dN as S}from"./houseplan-card-74_n9MKq.js";import{c as C,f as M,C as L}from"./form-kit.styles-BgmGBrDY.js";const z=C+M(L,{withSwitch:!1}),P=new WeakSet;let D=null;function T(e){const a=e.renderRoot;if(!a||P.has(a))return;const t=a.ownerDocument??globalThis.document,i=t?.defaultView?.CSSStyleSheet;if(i&&"adoptedStyleSheets"in a)return D||(D=new i,D.replaceSync(z)),a.adoptedStyleSheets=[...a.adoptedStyleSheets,D],void P.add(a);if(a.querySelector("style[data-hp-form-kit]"))return void P.add(a);const n=t.createElement("style");n.dataset.hpFormKit="true",n.textContent=z,a.appendChild(n),P.add(a)}function H({title:t,help:i,body:n,id:s}){return a`<section class="hpf-card" data-card=${s??e}>
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{A as e,c as a,s as t,l as i,d as n,ap as s,h as r,j as o,g as l,dH as c,dI as p,dJ as d,cL as h,dK as u,cK as m,dL as g,cQ as _,cP as b,dM as f,bs as v,br as w,bt as y,av as k,aC as $,aD as x,dN as S}from"./houseplan-card-CA5Qv_Yq.js";import{c as C,f as M,C as L}from"./form-kit.styles-CL0PrJiy.js";const z=C+M(L,{withSwitch:!1}),P=new WeakSet;let D=null;function T(e){const a=e.renderRoot;if(!a||P.has(a))return;const t=a.ownerDocument??globalThis.document,i=t?.defaultView?.CSSStyleSheet;if(i&&"adoptedStyleSheets"in a)return D||(D=new i,D.replaceSync(z)),a.adoptedStyleSheets=[...a.adoptedStyleSheets,D],void P.add(a);if(a.querySelector("style[data-hp-form-kit]"))return void P.add(a);const n=t.createElement("style");n.dataset.hpFormKit="true",n.textContent=z,a.appendChild(n),P.add(a)}function H({title:t,help:i,body:n,id:s}){return a`<section class="hpf-card" data-card=${s??e}>
${t?a`<div class="hpf-head"><h3>${t}</h3>${i??e}</div>`:e}
<div class="hpf-body">${n}</div>
</section>`}function E({title:t,help:i}){return a`<div class="hpf-sub"><h4>${t}</h4>${i??e}</div>`}function F({label:t,htmlFor:i,help:n,control:s,hint:r,error:o}){return a`<div class="hpf-field">
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-74_n9MKq.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__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-CA5Qv_Yq.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__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{c as a,A as e}from"./houseplan-card-74_n9MKq.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-BQYtTnkQ.js";import"./form-kit.styles-BgmGBrDY.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{c as a,A as e}from"./houseplan-card-CA5Qv_Yq.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-TTGe3qaE.js";import"./form-kit.styles-CL0PrJiy.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
<input id="summary-local-show" data-summary-local-show type="checkbox"
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as a,bS as s,a_ as l,aZ as c,b0 as u,el as d,em as f,bV as m,en as g}from"./houseplan-card-74_n9MKq.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),a=i.binding.slice(o+1),s="device"===r?e.registry.devices?.[a]:null,l="entity"===r?e.registry.entities?.[a]:null,c="device"===r?a:l?.device_id,u="device"===r?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(a))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/o;d+=s(v)*_*_/1e4}return d}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=d(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__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as s,bS as a,a_ as l,aZ as c,b0 as d,el as u,em as f,bV as m,en as g}from"./houseplan-card-CA5Qv_Yq.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,l="entity"===r?e.registry.entities?.[s]:null,c="device"===r?s:l?.device_id,d="device"===r?a?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(s))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(l,c,d=_){try{let u=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(l,m.physicalBodies)),yield}const _=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};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";import{n as t,b as n}from"./zigbee-topology-BgCwJt55.js";import{aM as e}from"./houseplan-card-74_n9MKq.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";import{n as t,b as n}from"./zigbee-topology-DPrbZmN0.js";import{aM as e}from"./houseplan-card-CA5Qv_Yq.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__="69203951e99e561d579810ce44a7a4baf1278315bb3708aedac1667a87eb8d97";try{await import("./houseplan-assets/houseplan-card-74_n9MKq.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__="dd57b1473630f6e58faf9edf00b7c9df6327a11f25f60ed9c6a1e257280220f5";try{await import("./houseplan-assets/houseplan-card-CA5Qv_Yq.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.78.0-beta.1 — 2026-09-23
- The Furniture palette now shows the revised front-view icon for the
Dishwasher category; placed dishwashers, their size and plan drawing are
unchanged ([#640](https://github.com/Matysh/houseplan-card/issues/640)).
+2
View File
@@ -8,6 +8,8 @@
## Не выпущено
## v1.78.0-beta.1 — 2026-09-23
- В палитре мебели категория «Посудомоечная машина» теперь показывает новую
фронтальную иконку; уже размещённые посудомоечные машины, их размеры и
рисунок на плане не изменились
+9 -9
View File
@@ -1,20 +1,20 @@
<!-- release: v1.77.0 -->
<!-- release: v1.78.0-beta.1 -->
## Основное
- Обновлена библиотека мебели: 60 символов в едином стиле, новые предметы и визуальный размер, соответствующий заданным габаритам ([#593](https://github.com/Matysh/houseplan-card/issues/593), [#584](https://github.com/Matysh/houseplan-card/issues/584)).
- Переработаны диалоги настроек пространства, комнаты, устройства и общих параметров: карточки, понятные подсказки, удобные переключатели и проверка полей без изменения сохранённых настроек ([#594](https://github.com/Matysh/houseplan-card/issues/594), [#598](https://github.com/Matysh/houseplan-card/issues/598), [#600](https://github.com/Matysh/houseplan-card/issues/600)).
- В настройках устройства доступно «Значение + статичный значок»: значение видно, но значок не меняет цвет и не пульсирует ([#588](https://github.com/Matysh/houseplan-card/issues/588)).
- Диалоги настроек надёжнее сохраняют черновики, проверяют обязательные поля рядом с вводом, поддерживают удобное посимвольное редактирование чисел и корректно работают в оболочке Home Assistant ([#607](https://github.com/Matysh/houseplan-card/issues/607), [#608](https://github.com/Matysh/houseplan-card/issues/608), [#609](https://github.com/Matysh/houseplan-card/issues/609), [#610](https://github.com/Matysh/houseplan-card/issues/610), [#614](https://github.com/Matysh/houseplan-card/issues/614)).
- Импорт, экспорт и хранение стали безопаснее для больших конфигураций: тяжёлые операции не блокируют Home Assistant, а маршруты робота корректно переносятся вместе с копией пространства ([#611](https://github.com/Matysh/houseplan-card/issues/611), [#625](https://github.com/Matysh/houseplan-card/issues/625)).
- Исправлены повседневные сценарии: read-only просмотр больше не требует прав администратора при обновлении устройств, жесты на сенсорных экранах точнее, а у посудомоечной машины обновлена иконка в палитре ([#612](https://github.com/Matysh/houseplan-card/issues/612), [#613](https://github.com/Matysh/houseplan-card/issues/613), [#640](https://github.com/Matysh/houseplan-card/issues/640)).
- Мелкие исправления и улучшения.
## Highlights
- Refreshed the furniture library with 60 consistently styled symbols, new items, and artwork that matches the specified dimensions ([#593](https://github.com/Matysh/houseplan-card/issues/593), [#584](https://github.com/Matysh/houseplan-card/issues/584)).
- Redesigned Space, Room, Device and General settings dialogs with grouped cards, contextual help, clearer controls and field validation, without changing saved settings ([#594](https://github.com/Matysh/houseplan-card/issues/594), [#598](https://github.com/Matysh/houseplan-card/issues/598), [#600](https://github.com/Matysh/houseplan-card/issues/600)).
- Added “Value + static icon” for devices: the value remains visible while the icon neither changes colour nor pulses ([#588](https://github.com/Matysh/houseplan-card/issues/588)).
- Settings dialogs now preserve drafts reliably, validate required fields beside their inputs, support smooth multi-digit number editing, and behave correctly inside Home Assistant's dialog shell ([#607](https://github.com/Matysh/houseplan-card/issues/607), [#608](https://github.com/Matysh/houseplan-card/issues/608), [#609](https://github.com/Matysh/houseplan-card/issues/609), [#610](https://github.com/Matysh/houseplan-card/issues/610), [#614](https://github.com/Matysh/houseplan-card/issues/614)).
- Import, export and storage are safer for large configurations: heavy operations no longer block Home Assistant, and robot routes now follow a copied space correctly ([#611](https://github.com/Matysh/houseplan-card/issues/611), [#625](https://github.com/Matysh/houseplan-card/issues/625)).
- Everyday use is more robust: read-only views no longer demand administrator access when devices refresh, touch gestures target reliably, and the Dishwasher palette icon has been refreshed ([#612](https://github.com/Matysh/houseplan-card/issues/612), [#613](https://github.com/Matysh/houseplan-card/issues/613), [#640](https://github.com/Matysh/houseplan-card/issues/640)).
- Small fixes and improvements.
Сообщество / Community: [Telegram](https://t.me/ha_houseplan)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.77.0/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.77.0/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.78.0-beta.1/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.78.0-beta.1/docs/CHANGELOG.md)
+2 -2
View File
@@ -21,8 +21,8 @@ metadata). Only an explicit owner-approved emergency hotfix may skip this gate.
| Item | State |
|---|---|
| Version | **v1.77.0** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Post-v1.77 development** — stable v1.77.0 is the baseline. The next beta starts by repairing the authentic Home Assistant dialog lifecycle: after rejecting a close request, all four settings forms reopen the same modal and preserve their draft (#607). |
| Version | **v1.78.0-beta.1** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Beta v1.78.0-beta.1 candidate** — prepared from the exact integrated `dev` tree. It combines settings-dialog reliability and validation (#607, #608, #609, #610, #614), safer import/export and storage (#611, #625), read-only and touch fixes (#612, #613), the dishwasher palette icon (#640), and the associated validation/release infrastructure. `main` remains on stable v1.77.0. |
| 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",
"version": "1.78.0-beta.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.77.0",
"version": "1.78.0-beta.1",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.77.0",
"version": "1.78.0-beta.1",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -293,7 +293,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';
const CARD_VERSION = '1.78.0-beta.1';
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
@@ -268,7 +268,7 @@ import {
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
} from './room-reference-transaction';
const CARD_VERSION = '1.77.0';
const CARD_VERSION = '1.78.0-beta.1';
// #474: the editor imports the furniture artwork statically and hands it to
// the page runtime the moment this chunk evaluates — before the loader's