Prepare v1.76.0-beta.3

Package the validated Stage 4 candidate while keeping the isometric experiment hidden and the default Flat experience unchanged.

Release: v1.76.0-beta.3
Issue: #570
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-09-14 17:02:49 +03:00
parent 25a9607618
commit e5fe4364dc
52 changed files with 332 additions and 328 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ SCHEDULED_GRACE_S = 30 * 24 * 3600
FILES_DIR = "houseplan/files"
ASSETS_DIR = "houseplan/assets"
CONF_ADMIN_ONLY = "admin_only"
VERSION = "1.76.0-beta.2"
VERSION = "1.76.0-beta.3"
DECOR_ASSETS_API_VERSION = 1
SUMMARY_PANEL_API_VERSION = 1
@@ -1,295 +1,295 @@
{
"schema": 1,
"fingerprint": "012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab",
"fingerprint": "3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290253,
"initialViewGzipBytes": 290260,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 291775,
"initialPanelGzipBytes": 291783,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2326,
"lazyFiles": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/de-CguB1iyB.js",
"houseplan-assets/editor-CrFGSaM9.js",
"houseplan-assets/fr-C84z_afh.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js",
"houseplan-assets/hp-zigbee-topology-overlay-D4ABn_qu.js",
"houseplan-assets/iso-scene-render-Bgw9qRET.js",
"houseplan-assets/live-interaction-runtime-rsvGGxyc.js",
"houseplan-assets/pdf-export-BYCIg7JD.js",
"houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js",
"houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/de-BQjdrXiX.js",
"houseplan-assets/editor-CxTBK8A7.js",
"houseplan-assets/fr-C7za4DwH.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js",
"houseplan-assets/hp-zigbee-topology-overlay-DKFqXoop.js",
"houseplan-assets/iso-scene-render-BT9GBKL3.js",
"houseplan-assets/live-interaction-runtime-DXyE84oj.js",
"houseplan-assets/pdf-export-BEla_ytE.js",
"houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js",
"houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js"
],
"lazyGzipBytes": 418485,
"lazyGzipBytes": 418479,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/editor-CrFGSaM9.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/editor-CxTBK8A7.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js"
],
"lazyEditorGzipBytes": 204789,
"lazyEditorGzipBytes": 204793,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js"
],
"lazyOnboardingGzipBytes": 13918,
"lazyOnboardingGzipBytes": 13919,
"lazyLocaleFiles": [
"houseplan-assets/de-CguB1iyB.js",
"houseplan-assets/fr-C84z_afh.js"
"houseplan-assets/de-BQjdrXiX.js",
"houseplan-assets/fr-C7za4DwH.js"
],
"lazyLocaleGzipBytes": 54850,
"lazyLocaleGzipBytes": 54843,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-Bgw9qRET.js"
"houseplan-assets/iso-scene-render-BT9GBKL3.js"
],
"lazyIsometricGzipBytes": 13232,
"lazyIsometricGzipBytes": 13233,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js"
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js"
],
"lazyFurnitureArtGzipBytes": 10253,
"lazyFurnitureArtGzipBytes": 10254,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/pdf-export-BYCIg7JD.js"
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/pdf-export-BEla_ytE.js"
],
"lazyPdfGzipBytes": 120126,
"lazyPdfGzipBytes": 120127,
"files": [
{
"path": "houseplan-assets/backdrop-pick-CGON6yBi.js",
"sha256": "ffe795a2734eb89097af8091262b51382147585e78e15f12aab94ae2f499fa06",
"path": "houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"sha256": "fe738d114675f13c505192e7d8589af479e974aad8d98d0abbfc4576a646b5df",
"rawBytes": 19956,
"gzipBytes": 6882,
"gzipBytes": 6883,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-CguB1iyB.js",
"sha256": "5a0f753ecbc4e88ca984827b000347caa31c258afd78199e0d1763238ff1cfc4",
"path": "houseplan-assets/de-BQjdrXiX.js",
"sha256": "82410303d88ff9b14ccaa871a9e1f6666066d7510c9fd03a2e9188eab2bdaa0e",
"rawBytes": 91437,
"gzipBytes": 27712,
"gzipBytes": 27707,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-CrFGSaM9.js",
"sha256": "5bac1e3c7e6ad73e3118a35eb921af07dc8a80b2fa65ea6dd7225aa168d32992",
"path": "houseplan-assets/editor-CxTBK8A7.js",
"sha256": "999250fbea146b0773b45cd81771008b12af95d75e3de482eac9be608409e29e",
"rawBytes": 3831,
"gzipBytes": 1584,
"gzipBytes": 1583,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-C84z_afh.js",
"sha256": "4afd0630204be56ece7a382bc60242443f225d32caddff64536d0815443d9da0",
"path": "houseplan-assets/fr-C7za4DwH.js",
"sha256": "30386ab62c762aeeeb85724de1e3f0e1cbe072d9d1f8ccf282e138d6f65b89ae",
"rawBytes": 93701,
"gzipBytes": 27138,
"gzipBytes": 27136,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"sha256": "f50864c15117dcb83594bbe996bd9cddb1ab9c6c2f286ca4c33b2bfb8d03597f",
"path": "houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"sha256": "7b5110f7cf30bb53d44570910fe348e5e9f1fedc3b1168b358cb83d6d2c6ed87",
"rawBytes": 33655,
"gzipBytes": 10253,
"gzipBytes": 10254,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-CrTmJZ8b.js",
"sha256": "d9b0cfd20b712bdb93d448b49d73a6cbd7293e694335663595a84987ffc30f48",
"path": "houseplan-assets/houseplan-card-OeOCEu8J.js",
"sha256": "a2e5187aa6ab007c6978157637648bdcab416d3b0b1a6ddff7674cfa59ff9eb4",
"rawBytes": 1031295,
"gzipBytes": 289449,
"gzipBytes": 289457,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-CguB1iyB.js",
"houseplan-assets/editor-CrFGSaM9.js",
"houseplan-assets/fr-C84z_afh.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js",
"houseplan-assets/hp-zigbee-topology-overlay-D4ABn_qu.js",
"houseplan-assets/iso-scene-render-Bgw9qRET.js",
"houseplan-assets/live-interaction-runtime-rsvGGxyc.js",
"houseplan-assets/pdf-export-BYCIg7JD.js",
"houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js"
"houseplan-assets/de-BQjdrXiX.js",
"houseplan-assets/editor-CxTBK8A7.js",
"houseplan-assets/fr-C7za4DwH.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js",
"houseplan-assets/hp-zigbee-topology-overlay-DKFqXoop.js",
"houseplan-assets/iso-scene-render-BT9GBKL3.js",
"houseplan-assets/live-interaction-runtime-DXyE84oj.js",
"houseplan-assets/pdf-export-BEla_ytE.js",
"houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"sha256": "c2a2ccf2fcb2d537d38392cd57518b7ea9a83b74b82fe032301af959d2b0b963",
"path": "houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"sha256": "c60341e01d75d98c3ac129226c8cf40f4652379a2de2b38e4ea642a445ad1edc",
"rawBytes": 669271,
"gzipBytes": 178646,
"gzipBytes": 178647,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js"
"houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js",
"sha256": "097b862d0e93a3acce33966099626b5f881c61a8f9319d53a5c6ab3781620383",
"path": "houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js",
"sha256": "8220f81ecc610591b188065783a0b26638081b9778ab94ccd7c5c1f057c2ce42",
"rawBytes": 28287,
"gzipBytes": 7036,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-D4ABn_qu.js",
"sha256": "e57a90d6682635233d5ec5c4c09d4821b6d4608507d08cf33a174ad0fbc320a7",
"path": "houseplan-assets/hp-zigbee-topology-overlay-DKFqXoop.js",
"sha256": "0ddba64b7d26baf3607e97468a46ed76a4a4104cd34e2382358c821d859c5aec",
"rawBytes": 10756,
"gzipBytes": 3686,
"gzipBytes": 3685,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js",
"houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js",
"houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-Bgw9qRET.js",
"sha256": "ad4c67e51d68d05452d872a67705ef12fc2f89f580c589ebb3923275b73ce278",
"path": "houseplan-assets/iso-scene-render-BT9GBKL3.js",
"sha256": "953a5a1c12c6e3c46a07d0da81e3ae8b72c34d65b76118ab7c840c174bbc0c38",
"rawBytes": 39206,
"gzipBytes": 13232,
"gzipBytes": 13233,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-rsvGGxyc.js",
"sha256": "fa87403a675bc45b8ccc3b4ff1ba0ee190c2968cbf4285ddf3259c2a96e1962f",
"path": "houseplan-assets/live-interaction-runtime-DXyE84oj.js",
"sha256": "5ac2b7c507b306969b2c32c47dd399e437ef3b2fe75cc8e417e365e892837e15",
"rawBytes": 8018,
"gzipBytes": 3169,
"gzipBytes": 3165,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-BYCIg7JD.js",
"sha256": "8ac5283781427724de92d360c57433c3e98a4ece3268c479c2107c8802905fc1",
"path": "houseplan-assets/pdf-export-BEla_ytE.js",
"sha256": "70da676209d7599c7b235403014518d5df779c5fbe106277813cb3ca41716049",
"rawBytes": 236244,
"gzipBytes": 109873,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-B4-T9x1R.js",
"sha256": "cfa0ccfa1189264d53ae836ef84bb83d7649648a3ae70bf2b5a3e214f964e85c",
"path": "houseplan-assets/summary-panel-editor-C4kW97n8.js",
"sha256": "7bb9bd82cd1bca5b7826fc24d39aaaf0ff79df71aefe28d7cf3b5cbed766aef6",
"rawBytes": 14824,
"gzipBytes": 3402,
"gzipBytes": 3398,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-oqhGKlnp.js",
"sha256": "5d9d0a660d1203d03f30360b3d04dc61403e5cd26dd3dd447b1b8866123bd91e",
"path": "houseplan-assets/summary-panel-metrics-Cxl-PzFS.js",
"sha256": "9343fdb9c1a0c323069ca20ec28fb28b2e5bcd1accba544999c6b889951e9197",
"rawBytes": 2610,
"gzipBytes": 1306,
"gzipBytes": 1305,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js",
"sha256": "3a0c8369150e7e947166f7647407fb7dbb7541423bcdd474840357b293e4ef1b",
"path": "houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js",
"sha256": "b5c0a3b36d952bf79f9e51dd5d205262a79267b915ae0b10807832b880049d87",
"rawBytes": 73366,
"gzipBytes": 20087,
"gzipBytes": 20089,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-B4-T9x1R.js",
"houseplan-assets/summary-panel-metrics-oqhGKlnp.js"
"houseplan-assets/summary-panel-editor-C4kW97n8.js",
"houseplan-assets/summary-panel-metrics-Cxl-PzFS.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-CQT90rCw.js",
"sha256": "c14a3d5b913760cb1bf8797bf8cfe5653e54afee030406bab0ebad771a34c06c",
"path": "houseplan-assets/zigbee-topology-IZCLnFkl.js",
"sha256": "435ea9f981c887b1afd59ed27ad491fd5b46716aa67a48d868988444fc73cafc",
"rawBytes": 18961,
"gzipBytes": 7424,
"gzipBytes": 7426,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js",
"sha256": "a1020eb9133af9fcb6eee0d7630f128b2ef5c3b92596b36072e0543f5fd869d3",
"path": "houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js",
"sha256": "2ff586fb6882c9bc559b96f96b79a5c81ec6d59f3b5be78bc22917ac3fe5d3f0",
"rawBytes": 3941,
"gzipBytes": 1763,
"gzipBytes": 1762,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "c534e03d98617267f28c02c9283c5826cdbc228a895a3be012ea7e58086d4441",
"sha256": "e958b9eb50938844e009a60821de0b32e2f55e5f8608aa93f8f6f3b44a8b6340",
"rawBytes": 1205,
"gzipBytes": 804,
"gzipBytes": 803,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "49d5d19ce2cda3a4255946bf4316c8344a1dff48aaaa42a8cd7698a675b6ba21",
"sha256": "11af0c242089c101b873b33fe3bcc374850d95197f02bd8745fd639ced7e0a6c",
"rawBytes": 6165,
"gzipBytes": 2326,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
}
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{q as e,l as o,v as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,E as r,c}from"./houseplan-card-CrTmJZ8b.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{q as e,l as o,v as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,E as r,c}from"./houseplan-card-OeOCEu8J.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{l as t,b3 as s,A as e,v as a,c as o,cm as l,cn as i,co as h,cp as c,b0 as n,cq as r,cv as p,cr as d,cs as _,ct as u,cu as g,cw as m,cx as b,ds as $,dt as v,du as f,a$ as y,b1 as w,dv as D}from"./houseplan-card-CrTmJZ8b.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-CGON6yBi.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?o`<hp-help data-help-key=${l}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{l as t,b3 as s,A as e,v as a,c as o,cm as l,cn as i,co as h,cp as c,b0 as n,cq as r,cv as p,cr as d,cs as _,ct as u,cu as g,cw as m,cx as b,ds as $,dt as v,du as f,a$ as y,b1 as w,dv as D}from"./houseplan-card-OeOCEu8J.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-KfTQ-8HT.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?o`<hp-help data-help-key=${l}
.text=${a(h,l)} .ariaLabel=${a(h,i)}></hp-help>`:e}_openSpaceDialog(t,s){if(!this.host._serverStorage||!this.host._serverCfg)return void this.host._showToast(this.host._t("toast.integration_missing"));if("edit"===t){const e=this.host._serverCfg.spaces.find(t=>t.id===s);if(!e)return;const a=l(e),o=e.settings?.custom_fill&&"object"==typeof e.settings.custom_fill?i(e.settings.custom_fill):null,p="none"===a.fill?{...o||h,a:0}:o;return void(this.host._spaceDialog={mode:t,spaceId:s,title:e.title,planUrl:e.plan_url||null,planFile:null,source:e.plan_url?"file":"draw",showBorders:a.showBorders,showNames:a.showNames,zeroWallStyle:r(e),displayTouched:!0,hideDecor:a.hideDecor,hideOpenings:a.hideOpenings,roomColor:a.color,roomOpacity:a.opacity,fillMode:"none"===a.fill?"custom":a.fill,customFill:p,glowEnabled:a.glow,bgColor:a.bgColor,bgMode:"static"===e.settings?.bg_mode||"daynight"===e.settings?.bg_mode?e.settings.bg_mode:null,northDeg:n({},e.settings),sunRays:"boolean"==typeof e.settings?.sun_rays?e.settings.sun_rays:null,tempMin:a.tempMin,tempMax:a.tempMax,showLqi:a.showLqi??this.host._config?.show_signal??!0,cardFontScale:a.cardFontScale,labelTemp:a.labelTemp,labelHum:a.labelHum,labelLqi:a.labelLqi,labelLight:a.labelLight,cellCm:Number(e.cell_cm)>0?Number(e.cell_cm):5,cellCmInput:c(Number(e.cell_cm)>0?Number(e.cell_cm):5,this.host._imperial),cellCmTouched:!1,busy:!1})}const e=p(this.host._imperial);this.host._spaceDialog={mode:t,title:"",planUrl:null,planFile:null,...m(),hideDecor:!1,hideOpenings:!1,zeroWallStyle:"dashed",roomColor:g,roomOpacity:u,fillMode:"custom",customFill:{...h,a:0},glowEnabled:!0,bgColor:null,bgMode:"daynight",northDeg:null,sunRays:null,tempMin:_,tempMax:d,showLqi:this.host._config?.show_signal??!0,cardFontScale:1,labelTemp:!1,labelHum:!1,labelLqi:!1,labelLight:!1,cellCm:e,cellCmInput:c(e,this.host._imperial),cellCmTouched:!1,busy:!1}}async _pickPlanFile(t){const s=t.target,e=s.files?.[0];if(!e||!this.host._spaceDialog)return;s.value="";const a=await k(e);if("reject"===a.kind)return void this.host._showToast(this.host._t("toast.plan_formats"));if("guard"===a.kind)return void(this.host._backdropGuard=a.state);const o=await S(e,a.ext,e.name);this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:o})}_renderBackdropGuard(){return C(this.host,t=>{this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:t})},()=>{this.host._backdropGuard=null},this.host.hass)??e}_useServerPlan(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,planUrl:t,planFile:null,pickSaved:!1,savedAspect:void 0},this.host._aspectJob=this._readPlanAspect(t))}async _readPlanAspect(t){for(let s=0;s<40;s++){const s=this.host._display(t);if(s){const e=await new Promise(t=>{const e=new Image;e.onload=()=>t(e.naturalWidth&&e.naturalHeight?e.naturalWidth/e.naturalHeight:0),e.onerror=()=>t(0),e.src=s}),a=this.host._spaceDialog;return a&&a.planUrl===t&&Number.isFinite(e)&&e>0?(this.host._spaceDialog={...a,savedAspect:e},e):0}if(await new Promise(t=>setTimeout(t,150)),this.host._spaceDialog?.planUrl!==t)return 0}return 0}async _deleteServerPlan(t){const s=this.host._spaceDialog,e=s?.saved?.find(s=>s.name===t);if(!s||!e||e.used_by.length||e.url===s.planUrl)return;const a=await this.host._confirmDanger({key:"delete-plan",kind:"destructive",title:this.host._t("confirm.delete_plan_title"),message:this.host._t("confirm.delete_plan_body"),objectName:t,confirmLabel:this.host._t("btn.delete"),cancelLabel:this.host._t("btn.cancel")}),o=this.host._spaceDialog,l=o?.saved?.find(s=>s.name===t);if(a&&o&&l&&l.url===e.url&&l.modified===e.modified&&!l.used_by.length&&l.url!==o.planUrl)try{await this.host.hass.callWS({type:"houseplan/plans/delete",name:t});const s=this.host._spaceDialog;s?.saved&&(this.host._spaceDialog={...s,saved:s.saved.filter(s=>s.name!==t)})}catch(t){this.host._showToast(this.host._t("toast.plan_delete_failed",{err:this.host._errText(t)}))}}_renderServerPlans(t){if(t.savedBusy)return o`<div class="savedplans muted">${this.host._t("space.loading")}</div>`;const s=t.saved||[];if(!s.length)return o`<div class="savedplans muted">${this.host._t("space.no_saved")}</div>`;return o`<div class="savedplans">
${s.map(s=>{return o`
<div class="savedplan ${s.url===t.planUrl?"cur":""}">
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{c as a,A as e}from"./houseplan-card-CrTmJZ8b.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-DQykYOsg.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{c as a,A as e}from"./houseplan-card-OeOCEu8J.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-DDiuJ4oZ.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"
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{e9 as e,P as t,a5 as n,M as i,aq as r,N as o,br as a,bq as s,a4 as c,a3 as l,aA as d,ea as u,eb as f,bt as m,ec as g}from"./houseplan-card-OeOCEu8J.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),a=i.binding.slice(r+1),s="device"===o?e.registry.devices?.[a]:null,c="entity"===o?e.registry.entities?.[a]:null,l="device"===o?a:c?.device_id,d="device"===o?s?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===o&&n.liveEntities.has(a))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(c,l,d=_){try{let u=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(c,m.physicalBodies)),yield}const _=m.cellCm/r;u+=s(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{e9 as e,P as t,a5 as n,M as i,aq as r,N as o,br as a,bq as s,a4 as l,a3 as c,aA as u,ea as d,eb as f,bt as m,ec as g}from"./houseplan-card-CrTmJZ8b.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),a=i.binding.slice(r+1),s="device"===o?e.registry.devices?.[a]:null,l="entity"===o?e.registry.entities?.[a]:null,c="device"===o?a:l?.device_id,u="device"===o?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===o&&n.liveEntities.has(a))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/r;d+=s(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{n as t,b as n}from"./zigbee-topology-CQT90rCw.js";import{F as e}from"./houseplan-card-CrTmJZ8b.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{n as t,b as n}from"./zigbee-topology-IZCLnFkl.js";import{F as e}from"./houseplan-card-OeOCEu8J.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";try{await import("./houseplan-assets/houseplan-card-CrTmJZ8b.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";try{await import("./houseplan-assets/houseplan-card-OeOCEu8J.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -20,5 +20,5 @@
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
"requirements": [],
"single_config_entry": true,
"version": "1.76.0-beta.2"
"version": "1.76.0-beta.3"
}
+129 -129
View File
@@ -1,295 +1,295 @@
{
"schema": 1,
"fingerprint": "012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab",
"fingerprint": "3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290253,
"initialViewGzipBytes": 290260,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 291775,
"initialPanelGzipBytes": 291783,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2326,
"lazyFiles": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/de-CguB1iyB.js",
"houseplan-assets/editor-CrFGSaM9.js",
"houseplan-assets/fr-C84z_afh.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js",
"houseplan-assets/hp-zigbee-topology-overlay-D4ABn_qu.js",
"houseplan-assets/iso-scene-render-Bgw9qRET.js",
"houseplan-assets/live-interaction-runtime-rsvGGxyc.js",
"houseplan-assets/pdf-export-BYCIg7JD.js",
"houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js",
"houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/de-BQjdrXiX.js",
"houseplan-assets/editor-CxTBK8A7.js",
"houseplan-assets/fr-C7za4DwH.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js",
"houseplan-assets/hp-zigbee-topology-overlay-DKFqXoop.js",
"houseplan-assets/iso-scene-render-BT9GBKL3.js",
"houseplan-assets/live-interaction-runtime-DXyE84oj.js",
"houseplan-assets/pdf-export-BEla_ytE.js",
"houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js",
"houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js"
],
"lazyGzipBytes": 418485,
"lazyGzipBytes": 418479,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/editor-CrFGSaM9.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/editor-CxTBK8A7.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js"
],
"lazyEditorGzipBytes": 204789,
"lazyEditorGzipBytes": 204793,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js"
],
"lazyOnboardingGzipBytes": 13918,
"lazyOnboardingGzipBytes": 13919,
"lazyLocaleFiles": [
"houseplan-assets/de-CguB1iyB.js",
"houseplan-assets/fr-C84z_afh.js"
"houseplan-assets/de-BQjdrXiX.js",
"houseplan-assets/fr-C7za4DwH.js"
],
"lazyLocaleGzipBytes": 54850,
"lazyLocaleGzipBytes": 54843,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-Bgw9qRET.js"
"houseplan-assets/iso-scene-render-BT9GBKL3.js"
],
"lazyIsometricGzipBytes": 13232,
"lazyIsometricGzipBytes": 13233,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js"
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js"
],
"lazyFurnitureArtGzipBytes": 10253,
"lazyFurnitureArtGzipBytes": 10254,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/pdf-export-BYCIg7JD.js"
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/pdf-export-BEla_ytE.js"
],
"lazyPdfGzipBytes": 120126,
"lazyPdfGzipBytes": 120127,
"files": [
{
"path": "houseplan-assets/backdrop-pick-CGON6yBi.js",
"sha256": "ffe795a2734eb89097af8091262b51382147585e78e15f12aab94ae2f499fa06",
"path": "houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"sha256": "fe738d114675f13c505192e7d8589af479e974aad8d98d0abbfc4576a646b5df",
"rawBytes": 19956,
"gzipBytes": 6882,
"gzipBytes": 6883,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-CguB1iyB.js",
"sha256": "5a0f753ecbc4e88ca984827b000347caa31c258afd78199e0d1763238ff1cfc4",
"path": "houseplan-assets/de-BQjdrXiX.js",
"sha256": "82410303d88ff9b14ccaa871a9e1f6666066d7510c9fd03a2e9188eab2bdaa0e",
"rawBytes": 91437,
"gzipBytes": 27712,
"gzipBytes": 27707,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-CrFGSaM9.js",
"sha256": "5bac1e3c7e6ad73e3118a35eb921af07dc8a80b2fa65ea6dd7225aa168d32992",
"path": "houseplan-assets/editor-CxTBK8A7.js",
"sha256": "999250fbea146b0773b45cd81771008b12af95d75e3de482eac9be608409e29e",
"rawBytes": 3831,
"gzipBytes": 1584,
"gzipBytes": 1583,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-C84z_afh.js",
"sha256": "4afd0630204be56ece7a382bc60242443f225d32caddff64536d0815443d9da0",
"path": "houseplan-assets/fr-C7za4DwH.js",
"sha256": "30386ab62c762aeeeb85724de1e3f0e1cbe072d9d1f8ccf282e138d6f65b89ae",
"rawBytes": 93701,
"gzipBytes": 27138,
"gzipBytes": 27136,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"sha256": "f50864c15117dcb83594bbe996bd9cddb1ab9c6c2f286ca4c33b2bfb8d03597f",
"path": "houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"sha256": "7b5110f7cf30bb53d44570910fe348e5e9f1fedc3b1168b358cb83d6d2c6ed87",
"rawBytes": 33655,
"gzipBytes": 10253,
"gzipBytes": 10254,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-CrTmJZ8b.js",
"sha256": "d9b0cfd20b712bdb93d448b49d73a6cbd7293e694335663595a84987ffc30f48",
"path": "houseplan-assets/houseplan-card-OeOCEu8J.js",
"sha256": "a2e5187aa6ab007c6978157637648bdcab416d3b0b1a6ddff7674cfa59ff9eb4",
"rawBytes": 1031295,
"gzipBytes": 289449,
"gzipBytes": 289457,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-CguB1iyB.js",
"houseplan-assets/editor-CrFGSaM9.js",
"houseplan-assets/fr-C84z_afh.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js",
"houseplan-assets/hp-zigbee-topology-overlay-D4ABn_qu.js",
"houseplan-assets/iso-scene-render-Bgw9qRET.js",
"houseplan-assets/live-interaction-runtime-rsvGGxyc.js",
"houseplan-assets/pdf-export-BYCIg7JD.js",
"houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js"
"houseplan-assets/de-BQjdrXiX.js",
"houseplan-assets/editor-CxTBK8A7.js",
"houseplan-assets/fr-C7za4DwH.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js",
"houseplan-assets/hp-zigbee-topology-overlay-DKFqXoop.js",
"houseplan-assets/iso-scene-render-BT9GBKL3.js",
"houseplan-assets/live-interaction-runtime-DXyE84oj.js",
"houseplan-assets/pdf-export-BEla_ytE.js",
"houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-CJrrYe2p.js",
"sha256": "c2a2ccf2fcb2d537d38392cd57518b7ea9a83b74b82fe032301af959d2b0b963",
"path": "houseplan-assets/houseplan-editor-runtime-CI8GDus_.js",
"sha256": "c60341e01d75d98c3ac129226c8cf40f4652379a2de2b38e4ea642a445ad1edc",
"rawBytes": 669271,
"gzipBytes": 178646,
"gzipBytes": 178647,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js"
"houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-B9DTOO67.js",
"sha256": "097b862d0e93a3acce33966099626b5f881c61a8f9319d53a5c6ab3781620383",
"path": "houseplan-assets/houseplan-onboarding-runtime-CqLJ0jgr.js",
"sha256": "8220f81ecc610591b188065783a0b26638081b9778ab94ccd7c5c1f057c2ce42",
"rawBytes": 28287,
"gzipBytes": 7036,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CGON6yBi.js",
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/backdrop-pick-KfTQ-8HT.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-D4ABn_qu.js",
"sha256": "e57a90d6682635233d5ec5c4c09d4821b6d4608507d08cf33a174ad0fbc320a7",
"path": "houseplan-assets/hp-zigbee-topology-overlay-DKFqXoop.js",
"sha256": "0ddba64b7d26baf3607e97468a46ed76a4a4104cd34e2382358c821d859c5aec",
"rawBytes": 10756,
"gzipBytes": 3686,
"gzipBytes": 3685,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js",
"houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js",
"houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-Bgw9qRET.js",
"sha256": "ad4c67e51d68d05452d872a67705ef12fc2f89f580c589ebb3923275b73ce278",
"path": "houseplan-assets/iso-scene-render-BT9GBKL3.js",
"sha256": "953a5a1c12c6e3c46a07d0da81e3ae8b72c34d65b76118ab7c840c174bbc0c38",
"rawBytes": 39206,
"gzipBytes": 13232,
"gzipBytes": 13233,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-rsvGGxyc.js",
"sha256": "fa87403a675bc45b8ccc3b4ff1ba0ee190c2968cbf4285ddf3259c2a96e1962f",
"path": "houseplan-assets/live-interaction-runtime-DXyE84oj.js",
"sha256": "5ac2b7c507b306969b2c32c47dd399e437ef3b2fe75cc8e417e365e892837e15",
"rawBytes": 8018,
"gzipBytes": 3169,
"gzipBytes": 3165,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-BYCIg7JD.js",
"sha256": "8ac5283781427724de92d360c57433c3e98a4ece3268c479c2107c8802905fc1",
"path": "houseplan-assets/pdf-export-BEla_ytE.js",
"sha256": "70da676209d7599c7b235403014518d5df779c5fbe106277813cb3ca41716049",
"rawBytes": 236244,
"gzipBytes": 109873,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-C_WDX48s.js",
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/furniture-plan-art.generated-CEUpB3jN.js",
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-B4-T9x1R.js",
"sha256": "cfa0ccfa1189264d53ae836ef84bb83d7649648a3ae70bf2b5a3e214f964e85c",
"path": "houseplan-assets/summary-panel-editor-C4kW97n8.js",
"sha256": "7bb9bd82cd1bca5b7826fc24d39aaaf0ff79df71aefe28d7cf3b5cbed766aef6",
"rawBytes": 14824,
"gzipBytes": 3402,
"gzipBytes": 3398,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-oqhGKlnp.js",
"sha256": "5d9d0a660d1203d03f30360b3d04dc61403e5cd26dd3dd447b1b8866123bd91e",
"path": "houseplan-assets/summary-panel-metrics-Cxl-PzFS.js",
"sha256": "9343fdb9c1a0c323069ca20ec28fb28b2e5bcd1accba544999c6b889951e9197",
"rawBytes": 2610,
"gzipBytes": 1306,
"gzipBytes": 1305,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-DQykYOsg.js",
"sha256": "3a0c8369150e7e947166f7647407fb7dbb7541423bcdd474840357b293e4ef1b",
"path": "houseplan-assets/summary-panel-runtime-loaded-DDiuJ4oZ.js",
"sha256": "b5c0a3b36d952bf79f9e51dd5d205262a79267b915ae0b10807832b880049d87",
"rawBytes": 73366,
"gzipBytes": 20087,
"gzipBytes": 20089,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-B4-T9x1R.js",
"houseplan-assets/summary-panel-metrics-oqhGKlnp.js"
"houseplan-assets/summary-panel-editor-C4kW97n8.js",
"houseplan-assets/summary-panel-metrics-Cxl-PzFS.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-CQT90rCw.js",
"sha256": "c14a3d5b913760cb1bf8797bf8cfe5653e54afee030406bab0ebad771a34c06c",
"path": "houseplan-assets/zigbee-topology-IZCLnFkl.js",
"sha256": "435ea9f981c887b1afd59ed27ad491fd5b46716aa67a48d868988444fc73cafc",
"rawBytes": 18961,
"gzipBytes": 7424,
"gzipBytes": 7426,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-Db3SaXOn.js",
"sha256": "a1020eb9133af9fcb6eee0d7630f128b2ef5c3b92596b36072e0543f5fd869d3",
"path": "houseplan-assets/zigbee-topology-runtime-Bt7rfzoH.js",
"sha256": "2ff586fb6882c9bc559b96f96b79a5c81ec6d59f3b5be78bc22917ac3fe5d3f0",
"rawBytes": 3941,
"gzipBytes": 1763,
"gzipBytes": 1762,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js",
"houseplan-assets/zigbee-topology-CQT90rCw.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js",
"houseplan-assets/zigbee-topology-IZCLnFkl.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "c534e03d98617267f28c02c9283c5826cdbc228a895a3be012ea7e58086d4441",
"sha256": "e958b9eb50938844e009a60821de0b32e2f55e5f8608aa93f8f6f3b44a8b6340",
"rawBytes": 1205,
"gzipBytes": 804,
"gzipBytes": 803,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "49d5d19ce2cda3a4255946bf4316c8344a1dff48aaaa42a8cd7698a675b6ba21",
"sha256": "11af0c242089c101b873b33fe3bcc374850d95197f02bd8745fd639ced7e0a6c",
"rawBytes": 6165,
"gzipBytes": 2326,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-CrTmJZ8b.js"
"houseplan-assets/houseplan-card-OeOCEu8J.js"
],
"dynamicImports": []
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{q as e,l as o,v as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,E as r,c}from"./houseplan-card-CrTmJZ8b.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{q as e,l as o,v as t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,E as r,c}from"./houseplan-card-OeOCEu8J.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
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__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{l as t,b3 as s,A as e,v as a,c as o,cm as l,cn as i,co as h,cp as c,b0 as n,cq as r,cv as p,cr as d,cs as _,ct as u,cu as g,cw as m,cx as b,ds as $,dt as v,du as f,a$ as y,b1 as w,dv as D}from"./houseplan-card-CrTmJZ8b.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-CGON6yBi.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?o`<hp-help data-help-key=${l}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{l as t,b3 as s,A as e,v as a,c as o,cm as l,cn as i,co as h,cp as c,b0 as n,cq as r,cv as p,cr as d,cs as _,ct as u,cu as g,cw as m,cx as b,ds as $,dt as v,du as f,a$ as y,b1 as w,dv as D}from"./houseplan-card-OeOCEu8J.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-KfTQ-8HT.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?o`<hp-help data-help-key=${l}
.text=${a(h,l)} .ariaLabel=${a(h,i)}></hp-help>`:e}_openSpaceDialog(t,s){if(!this.host._serverStorage||!this.host._serverCfg)return void this.host._showToast(this.host._t("toast.integration_missing"));if("edit"===t){const e=this.host._serverCfg.spaces.find(t=>t.id===s);if(!e)return;const a=l(e),o=e.settings?.custom_fill&&"object"==typeof e.settings.custom_fill?i(e.settings.custom_fill):null,p="none"===a.fill?{...o||h,a:0}:o;return void(this.host._spaceDialog={mode:t,spaceId:s,title:e.title,planUrl:e.plan_url||null,planFile:null,source:e.plan_url?"file":"draw",showBorders:a.showBorders,showNames:a.showNames,zeroWallStyle:r(e),displayTouched:!0,hideDecor:a.hideDecor,hideOpenings:a.hideOpenings,roomColor:a.color,roomOpacity:a.opacity,fillMode:"none"===a.fill?"custom":a.fill,customFill:p,glowEnabled:a.glow,bgColor:a.bgColor,bgMode:"static"===e.settings?.bg_mode||"daynight"===e.settings?.bg_mode?e.settings.bg_mode:null,northDeg:n({},e.settings),sunRays:"boolean"==typeof e.settings?.sun_rays?e.settings.sun_rays:null,tempMin:a.tempMin,tempMax:a.tempMax,showLqi:a.showLqi??this.host._config?.show_signal??!0,cardFontScale:a.cardFontScale,labelTemp:a.labelTemp,labelHum:a.labelHum,labelLqi:a.labelLqi,labelLight:a.labelLight,cellCm:Number(e.cell_cm)>0?Number(e.cell_cm):5,cellCmInput:c(Number(e.cell_cm)>0?Number(e.cell_cm):5,this.host._imperial),cellCmTouched:!1,busy:!1})}const e=p(this.host._imperial);this.host._spaceDialog={mode:t,title:"",planUrl:null,planFile:null,...m(),hideDecor:!1,hideOpenings:!1,zeroWallStyle:"dashed",roomColor:g,roomOpacity:u,fillMode:"custom",customFill:{...h,a:0},glowEnabled:!0,bgColor:null,bgMode:"daynight",northDeg:null,sunRays:null,tempMin:_,tempMax:d,showLqi:this.host._config?.show_signal??!0,cardFontScale:1,labelTemp:!1,labelHum:!1,labelLqi:!1,labelLight:!1,cellCm:e,cellCmInput:c(e,this.host._imperial),cellCmTouched:!1,busy:!1}}async _pickPlanFile(t){const s=t.target,e=s.files?.[0];if(!e||!this.host._spaceDialog)return;s.value="";const a=await k(e);if("reject"===a.kind)return void this.host._showToast(this.host._t("toast.plan_formats"));if("guard"===a.kind)return void(this.host._backdropGuard=a.state);const o=await S(e,a.ext,e.name);this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:o})}_renderBackdropGuard(){return C(this.host,t=>{this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:t})},()=>{this.host._backdropGuard=null},this.host.hass)??e}_useServerPlan(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,planUrl:t,planFile:null,pickSaved:!1,savedAspect:void 0},this.host._aspectJob=this._readPlanAspect(t))}async _readPlanAspect(t){for(let s=0;s<40;s++){const s=this.host._display(t);if(s){const e=await new Promise(t=>{const e=new Image;e.onload=()=>t(e.naturalWidth&&e.naturalHeight?e.naturalWidth/e.naturalHeight:0),e.onerror=()=>t(0),e.src=s}),a=this.host._spaceDialog;return a&&a.planUrl===t&&Number.isFinite(e)&&e>0?(this.host._spaceDialog={...a,savedAspect:e},e):0}if(await new Promise(t=>setTimeout(t,150)),this.host._spaceDialog?.planUrl!==t)return 0}return 0}async _deleteServerPlan(t){const s=this.host._spaceDialog,e=s?.saved?.find(s=>s.name===t);if(!s||!e||e.used_by.length||e.url===s.planUrl)return;const a=await this.host._confirmDanger({key:"delete-plan",kind:"destructive",title:this.host._t("confirm.delete_plan_title"),message:this.host._t("confirm.delete_plan_body"),objectName:t,confirmLabel:this.host._t("btn.delete"),cancelLabel:this.host._t("btn.cancel")}),o=this.host._spaceDialog,l=o?.saved?.find(s=>s.name===t);if(a&&o&&l&&l.url===e.url&&l.modified===e.modified&&!l.used_by.length&&l.url!==o.planUrl)try{await this.host.hass.callWS({type:"houseplan/plans/delete",name:t});const s=this.host._spaceDialog;s?.saved&&(this.host._spaceDialog={...s,saved:s.saved.filter(s=>s.name!==t)})}catch(t){this.host._showToast(this.host._t("toast.plan_delete_failed",{err:this.host._errText(t)}))}}_renderServerPlans(t){if(t.savedBusy)return o`<div class="savedplans muted">${this.host._t("space.loading")}</div>`;const s=t.saved||[];if(!s.length)return o`<div class="savedplans muted">${this.host._t("space.no_saved")}</div>`;return o`<div class="savedplans">
${s.map(s=>{return o`
<div class="savedplan ${s.url===t.planUrl?"cur":""}">
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__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{c as a,A as e}from"./houseplan-card-CrTmJZ8b.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-DQykYOsg.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{c as a,A as e}from"./houseplan-card-OeOCEu8J.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-DDiuJ4oZ.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"
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{e9 as e,P as t,a5 as n,M as i,aq as r,N as o,br as a,bq as s,a4 as c,a3 as l,aA as d,ea as u,eb as f,bt as m,ec as g}from"./houseplan-card-OeOCEu8J.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),a=i.binding.slice(r+1),s="device"===o?e.registry.devices?.[a]:null,c="entity"===o?e.registry.entities?.[a]:null,l="device"===o?a:c?.device_id,d="device"===o?s?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===o&&n.liveEntities.has(a))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(c,l,d=_){try{let u=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(c,m.physicalBodies)),yield}const _=m.cellCm/r;u+=s(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{e9 as e,P as t,a5 as n,M as i,aq as r,N as o,br as a,bq as s,a4 as l,a3 as c,aA as u,ea as d,eb as f,bt as m,ec as g}from"./houseplan-card-CrTmJZ8b.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const r=String(i.binding||"").indexOf(":");if(r<1)continue;const o=i.binding.slice(0,r),a=i.binding.slice(r+1),s="device"===o?e.registry.devices?.[a]:null,l="entity"===o?e.registry.entities?.[a]:null,c="device"===o?a:l?.device_id,u="device"===o?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===o&&n.liveEntities.has(a))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,r,o);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,r,o)}}function*b(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/r;d+=s(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function p(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";import{n as t,b as n}from"./zigbee-topology-CQT90rCw.js";import{F as e}from"./houseplan-card-CrTmJZ8b.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";import{n as t,b as n}from"./zigbee-topology-IZCLnFkl.js";import{F as e}from"./houseplan-card-OeOCEu8J.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
+1 -1
View File
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="012abf4b3924ad03971870eb8085ab1ac1a66b0d9b6676fe095285a8b0f201ab";try{await import("./houseplan-assets/houseplan-card-CrTmJZ8b.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__="3bc41a18634ab9cd312dbbd6b4376ac85c55b70b5ad6928e5f7e07643e67aabf";try{await import("./houseplan-assets/houseplan-card-OeOCEu8J.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
+4
View File
@@ -2,6 +2,10 @@
## Unreleased
## v1.76.0-beta.3 — 2026-09-14
- Internal maintenance only; the default House Plan experience is unchanged.
## v1.76.0-beta.2 — 2026-09-14
- Space navigation now exposes the current space to assistive technology, an
+4
View File
@@ -8,6 +8,10 @@
## Не выпущено
## v1.76.0-beta.3 — 2026-09-14
- Только внутренние изменения; поведение House Plan по умолчанию не изменилось.
## v1.76.0-beta.2 — 2026-09-14
- Навигация по пространствам теперь сообщает вспомогательным технологиям
+3 -7
View File
@@ -1,18 +1,14 @@
<!-- release: v1.76.0-beta.2 -->
<!-- release: v1.76.0-beta.3 -->
## Основное
- Масштабирование щипком больше не запускает действие устройства, а в плотной группе нажатие и наведение достаются именно видимому значку под указателем ([#563](https://github.com/Matysh/houseplan-card/issues/563), [#564](https://github.com/Matysh/houseplan-card/issues/564)).
- Навигация по пространствам и устройствам стала понятнее для вспомогательных технологий; клавиатурный фокус теперь показывает и сохраняет подсказку устройства ([#565](https://github.com/Matysh/houseplan-card/issues/565)).
- Мелкие исправления и улучшения.
## Highlights
- Pinch-zooming no longer triggers a device action, and in a dense group the painted marker under the pointer now receives hover and activation ([#563](https://github.com/Matysh/houseplan-card/issues/563), [#564](https://github.com/Matysh/houseplan-card/issues/564)).
- Space and device navigation is clearer to assistive technology; keyboard focus now opens and preserves the device tooltip ([#565](https://github.com/Matysh/houseplan-card/issues/565)).
- Small fixes and improvements.
Сообщество / Community: [Telegram](https://t.me/ha_houseplan)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.2/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.2/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.3/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.76.0-beta.3/docs/CHANGELOG.md)
+2 -2
View File
@@ -21,8 +21,8 @@ metadata). Only an explicit owner-approved emergency hotfix may skip this gate.
| Item | State |
|---|---|
| Version | **v1.76.0-beta.2** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Beta v1.76.0-beta.2 candidate** — prepared from the exact integrated `dev` tree; `main` remains on v1.75.0. User-visible fixes suppress delayed device activation after pinch (#563), arbitrate overlapping marker hit areas in favour of the painted marker under the pointer (#564), and expose current-space and device-tooltip state consistently to keyboard and assistive-technology users without changing room-label colours or touch/pen behaviour (#565). Internal work adds a field geometry/household regression corpus (#560), separates mutation registry, selection, evidence and execution (#558), hardens CI trust boundaries (#556), preserves semantically identical radar calibration sources (#567), aligns stale-layout invariant attribution with product ownership (#566), attributes mutation setup failures to the introducing tree (#568), and restores nine dead mutation witnesses (#569). |
| Version | **v1.76.0-beta.3** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
| Current local cycle | **Beta v1.76.0-beta.3 candidate** — prepared from the exact integrated `dev` tree; `main` remains on v1.75.0. It packages the reviewed Stage 4 refinement of the hidden isometric experiment (#570) without changing the default Flat experience or exposing the experiment in public release notes. |
| Hidden Alpha Stage | #89 Stage 1 ships in v1.63.0-beta.1, #122 Stage 2 in v1.64.0 and #160 Stage 3 in v1.73.0-beta.1; #570 adds the Stage 4 designer handoff. The same hidden `iso` view now uses a fixed 0°/20° camera and scale-aware wall height 84, low screen-facing device/room/lock overlays without tethers or ground dots, neutral full-height window frames with blue glass, and the existing bounded theme materials. Since #448 the experiment is enabled only through the single indefinite browser-local `hp_alpha` gate; it is not expiring and has no per-stage key. Flat remains default; editors, `houseplan-space-card`, floor effects, stored coordinates and HA actions remain unchanged. Stage 4 stays internal and is absent from public changelog/user documentation. |
| Workflow | Superseded 2026-08-12: the pre-1.62 rule of "local edits without tests or commits" is **dead** — since release 1.62 every product change follows `PROCESS.md` (issue in `S5-ready`+, branch `issue/<NN>-slug`, trailers on every commit, review pipeline; `AGENTS.md` is the summary). Release mechanics below remain current. A requested pre-release gets a production build plus the smallest targeted unit/smoke set covering the changed surfaces, one tested `dev` commit/tag and a GitHub Release with `prerelease=true`; `main` stays untouched. The complete local frontend/backend/smoke gate runs only before a stable release, after which `main` is fast-forwarded to the exact tested `dev` SHA and the stable release is produced by `release.yml` (`workflow_dispatch` on `main` with the tag) — the only publisher of installable assets since #540: gates on the exact SHA (Validate, Full Performance, E2E on the candidate commit), one build, `houseplan.zip` archived from the committed tree, `SHA256SUMS`, draft → publish → read-back verification; a release published by hand in the GitHub form is turned back into a draft and walked through the same path, and a re-dispatch on a public tag is a repair that adds only missing assets. Release bodies are short and bilingual (Russian first); every bullet links its GitHub issue (#NN) so the #328 rules stay machine-checkable. A STABLE body aggregates the changelog since the PREVIOUS STABLE release (never since the last beta): features/fixes described across the line's beta changelogs must appear, while bugs that were introduced and fixed strictly inside the beta line (never shipped in any stable) are excluded — draft with `npm run release:notes -- <tag>`, curate by hand, then `npm run release:notes -- <tag> --verify` must pass. `Мелкие исправления и улучшения` / `Small fixes and improvements` is allowed only when the range really contains user-visible work not itemised in the body; a single-issue hotfix ships without it (the verifier enforces this). Every body ends with separate links to the Russian and English changelogs. Open or partially delivered issues are never presented as shipped. Telegram announcements are sent only for stable releases; beta and RC publication is silent. `docs/RELEASE-NOTES.md` is the current canonical body instance; `npm run release:prerelease -- <tag> --issues=… --yes` is the primary local publication path and the manual `Publish prerelease` workflow is its GitHub-only equivalent once present on `main`. Nothing is copied to the home instance by hand |
| GitHub | https://github.com/Matysh/houseplan-card — [Issues](https://github.com/Matysh/houseplan-card/issues) are the canonical task records; their labels carry priority and workflow status (`PROCESS.md` §9). GitHub Projects is no longer used. `main` carries stable releases; pre-release tags may point directly at `dev`. Work lands on `dev` and is merged into `main` for a stable release, so `dev` is normally equal to or ahead of `main`, never behind. Push via SSH key `ha_jb` (remote git@github.com:…); API releases via the fine-grained PAT in `~/.git-credentials` (Contents R/W, issued 2026-07-23) |
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "houseplan-card",
"version": "1.76.0-beta.2",
"version": "1.76.0-beta.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.76.0-beta.2",
"version": "1.76.0-beta.3",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.76.0-beta.2",
"version": "1.76.0-beta.3",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -426,7 +426,7 @@ import type { MarkerRoomReferenceSnapshot } from './room-reference-transaction';
import { SummaryRuntimeSlot, summaryRuntimeLoader } from './summary-runtime-loader';
import { displayVersion } from './card-version';
const CARD_VERSION = '1.76.0-beta.2';
const CARD_VERSION = '1.76.0-beta.3';
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
@@ -388,7 +388,7 @@ import {
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
} from './room-reference-transaction';
const CARD_VERSION = '1.76.0-beta.2';
const CARD_VERSION = '1.76.0-beta.3';
// #474: the editor imports the furniture artwork statically and hands it to
// the page runtime the moment this chunk evaluates — before the loader's