fix: типизировать настройку граней окна (#577)

Issue: #577
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-15 00:17:41 +03:00
parent db4b397e2e
commit 6f6a85a116
44 changed files with 411 additions and 409 deletions
@@ -1,295 +1,295 @@
{
"schema": 1,
"fingerprint": "530ccf77162ec68ef4b53a77b8f84ff0fffe489fa26b18459248ce23d527db33",
"fingerprint": "11fd6d9308b5a7bd3a898b2bc1a1a974e185fa48b94346a31107efaac6bad038",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-Di_izZTU.js",
"houseplan-assets/houseplan-card-BvRF7pTE.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 290629,
"initialViewGzipBytes": 290620,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-Di_izZTU.js",
"houseplan-assets/houseplan-card-BvRF7pTE.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 292151,
"initialPanelGzipBytes": 292143,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2327,
"initialPanelOnlyGzipBytes": 2325,
"lazyFiles": [
"houseplan-assets/backdrop-pick-CXmKHH6_.js",
"houseplan-assets/de-BRgmJptb.js",
"houseplan-assets/editor-DCXyMNgY.js",
"houseplan-assets/fr-B8hQ5YK4.js",
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"houseplan-assets/houseplan-editor-runtime-dzTrOQhv.js",
"houseplan-assets/houseplan-onboarding-runtime-BLRnH1D6.js",
"houseplan-assets/hp-zigbee-topology-overlay-_ZK20cr6.js",
"houseplan-assets/iso-scene-render-BIRwzucU.js",
"houseplan-assets/live-interaction-runtime-AJRZAUON.js",
"houseplan-assets/pdf-export-B2sbsWvc.js",
"houseplan-assets/summary-panel-runtime-loaded-CNpqraog.js",
"houseplan-assets/zigbee-topology-Ba2URGlk.js",
"houseplan-assets/zigbee-topology-runtime-BZVl6ukN.js"
"houseplan-assets/backdrop-pick-FaQKiOEJ.js",
"houseplan-assets/de-C9Tzz4Re.js",
"houseplan-assets/editor-CwRHKHPb.js",
"houseplan-assets/fr-BMWvjt2l.js",
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"houseplan-assets/houseplan-editor-runtime-D1LZJgG4.js",
"houseplan-assets/houseplan-onboarding-runtime-6To18wkq.js",
"houseplan-assets/hp-zigbee-topology-overlay-CVoRQ9se.js",
"houseplan-assets/iso-scene-render-laZklfoK.js",
"houseplan-assets/live-interaction-runtime-6aKxQZ08.js",
"houseplan-assets/pdf-export-AtNBwlbu.js",
"houseplan-assets/summary-panel-runtime-loaded-D4lux9Rq.js",
"houseplan-assets/zigbee-topology-CIwsP8Gp.js",
"houseplan-assets/zigbee-topology-runtime-lYtO4TsW.js"
],
"lazyGzipBytes": 418756,
"lazyGzipBytes": 418725,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-CXmKHH6_.js",
"houseplan-assets/editor-DCXyMNgY.js",
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"houseplan-assets/houseplan-editor-runtime-dzTrOQhv.js",
"houseplan-assets/zigbee-topology-Ba2URGlk.js"
"houseplan-assets/backdrop-pick-FaQKiOEJ.js",
"houseplan-assets/editor-CwRHKHPb.js",
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"houseplan-assets/houseplan-editor-runtime-D1LZJgG4.js",
"houseplan-assets/zigbee-topology-CIwsP8Gp.js"
],
"lazyEditorGzipBytes": 204934,
"lazyEditorGzipBytes": 204926,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-CXmKHH6_.js",
"houseplan-assets/houseplan-onboarding-runtime-BLRnH1D6.js"
"houseplan-assets/backdrop-pick-FaQKiOEJ.js",
"houseplan-assets/houseplan-onboarding-runtime-6To18wkq.js"
],
"lazyOnboardingGzipBytes": 13919,
"lazyOnboardingGzipBytes": 13914,
"lazyLocaleFiles": [
"houseplan-assets/de-BRgmJptb.js",
"houseplan-assets/fr-B8hQ5YK4.js"
"houseplan-assets/de-C9Tzz4Re.js",
"houseplan-assets/fr-BMWvjt2l.js"
],
"lazyLocaleGzipBytes": 54925,
"lazyLocaleGzipBytes": 54920,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-BIRwzucU.js"
"houseplan-assets/iso-scene-render-laZklfoK.js"
],
"lazyIsometricGzipBytes": 13236,
"lazyIsometricGzipBytes": 13232,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js"
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js"
],
"lazyFurnitureArtGzipBytes": 10254,
"lazyFurnitureArtGzipBytes": 10253,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"houseplan-assets/pdf-export-B2sbsWvc.js"
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"houseplan-assets/pdf-export-AtNBwlbu.js"
],
"lazyPdfGzipBytes": 120129,
"lazyPdfGzipBytes": 120126,
"files": [
{
"path": "houseplan-assets/backdrop-pick-CXmKHH6_.js",
"sha256": "45a9c60eb50b3859a5a5f5330830dd5c72353b63d6f06cf8417712db248b2320",
"path": "houseplan-assets/backdrop-pick-FaQKiOEJ.js",
"sha256": "e7e3fefa33cc3b2be5b1e08340cc600e2ffd26066908769aad8dc0d33a0e85fb",
"rawBytes": 19956,
"gzipBytes": 6880,
"gzipBytes": 6879,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-BRgmJptb.js",
"sha256": "0023bc3edc741291b1d463fdc3f1a24006af13ca13932e3cd37f9e761b022fe9",
"path": "houseplan-assets/de-C9Tzz4Re.js",
"sha256": "78b8bea409b7d3439f6ebb3f4a220d8d23e70d24c07127469010ceac0063494e",
"rawBytes": 91590,
"gzipBytes": 27744,
"gzipBytes": 27743,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-DCXyMNgY.js",
"sha256": "4dba6280fe0f491e4c8a0c349e94aa7031de545fe086f9c01f3ab376db2013b7",
"path": "houseplan-assets/editor-CwRHKHPb.js",
"sha256": "c7fa90e7199e5c276eb176df1ac18469f05999131683f4ede8e459755738f824",
"rawBytes": 3831,
"gzipBytes": 1584,
"gzipBytes": 1583,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-B8hQ5YK4.js",
"sha256": "5c33cb26bb68392be61510c8eb0e06ae152e0bff506f493eddaaa2c44e19aadf",
"path": "houseplan-assets/fr-BMWvjt2l.js",
"sha256": "c124f31eac7db155e3f99c36e547e4d990a54caedca1fa01123488e290a1d3a9",
"rawBytes": 93884,
"gzipBytes": 27181,
"gzipBytes": 27177,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"sha256": "aabb06ce9a989322682a7b485a7810036f390aac547aa89bbbb03c74a7e1bde7",
"path": "houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"sha256": "e6a5c18e9ba91dbb8fff044c8162c8a62f68f9a506bad193d1bf15617bea3782",
"rawBytes": 33655,
"gzipBytes": 10254,
"gzipBytes": 10253,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-Di_izZTU.js",
"sha256": "634b25343fd2bf984b27e5a7ba7de1f24a7343b0909379bd16faa563f9499913",
"path": "houseplan-assets/houseplan-card-BvRF7pTE.js",
"sha256": "3c0ef7e5ef5aef9a4cd015fdee0bd1191207a7a180c839f3d972d25c1e6d40c2",
"rawBytes": 1032408,
"gzipBytes": 289824,
"gzipBytes": 289818,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-BRgmJptb.js",
"houseplan-assets/editor-DCXyMNgY.js",
"houseplan-assets/fr-B8hQ5YK4.js",
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"houseplan-assets/houseplan-editor-runtime-dzTrOQhv.js",
"houseplan-assets/houseplan-onboarding-runtime-BLRnH1D6.js",
"houseplan-assets/hp-zigbee-topology-overlay-_ZK20cr6.js",
"houseplan-assets/iso-scene-render-BIRwzucU.js",
"houseplan-assets/live-interaction-runtime-AJRZAUON.js",
"houseplan-assets/pdf-export-B2sbsWvc.js",
"houseplan-assets/summary-panel-runtime-loaded-CNpqraog.js"
"houseplan-assets/de-C9Tzz4Re.js",
"houseplan-assets/editor-CwRHKHPb.js",
"houseplan-assets/fr-BMWvjt2l.js",
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"houseplan-assets/houseplan-editor-runtime-D1LZJgG4.js",
"houseplan-assets/houseplan-onboarding-runtime-6To18wkq.js",
"houseplan-assets/hp-zigbee-topology-overlay-CVoRQ9se.js",
"houseplan-assets/iso-scene-render-laZklfoK.js",
"houseplan-assets/live-interaction-runtime-6aKxQZ08.js",
"houseplan-assets/pdf-export-AtNBwlbu.js",
"houseplan-assets/summary-panel-runtime-loaded-D4lux9Rq.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-dzTrOQhv.js",
"sha256": "f6556f260a8d8598a9f9667be241cce323d505281569ec6a5a3f01103edf9476",
"path": "houseplan-assets/houseplan-editor-runtime-D1LZJgG4.js",
"sha256": "eb218ad48bd799b10b4bd27279391e05cd2e2f71c9ed944c12577fdbff2c22d7",
"rawBytes": 669985,
"gzipBytes": 178790,
"gzipBytes": 178787,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CXmKHH6_.js",
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"houseplan-assets/houseplan-card-Di_izZTU.js",
"houseplan-assets/zigbee-topology-Ba2URGlk.js"
"houseplan-assets/backdrop-pick-FaQKiOEJ.js",
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"houseplan-assets/houseplan-card-BvRF7pTE.js",
"houseplan-assets/zigbee-topology-CIwsP8Gp.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-BZVl6ukN.js"
"houseplan-assets/zigbee-topology-runtime-lYtO4TsW.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-BLRnH1D6.js",
"sha256": "a8eff518545ca4ff644e03bdc2861bcd7e79b28e1ff65642f28fb7ca216711c8",
"path": "houseplan-assets/houseplan-onboarding-runtime-6To18wkq.js",
"sha256": "21cda905c3d4e14a5dc13a4b0e2b7d98ff904f7d730134bd22e47225bc4f4888",
"rawBytes": 28287,
"gzipBytes": 7039,
"gzipBytes": 7035,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-CXmKHH6_.js",
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/backdrop-pick-FaQKiOEJ.js",
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-_ZK20cr6.js",
"sha256": "b9341d7245eca9bb514c73d2fda78b5023d9d964bddf605c7af842ac71af4451",
"path": "houseplan-assets/hp-zigbee-topology-overlay-CVoRQ9se.js",
"sha256": "ab11bc336512dbdc760994692be8d51972b8c904d773dce2609be08b721013f9",
"rawBytes": 10756,
"gzipBytes": 3686,
"gzipBytes": 3684,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js",
"houseplan-assets/zigbee-topology-Ba2URGlk.js",
"houseplan-assets/zigbee-topology-runtime-BZVl6ukN.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js",
"houseplan-assets/zigbee-topology-CIwsP8Gp.js",
"houseplan-assets/zigbee-topology-runtime-lYtO4TsW.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-BIRwzucU.js",
"sha256": "a2b6ff57e2d3d0d275ffe392c71c1cdfac8f546c41abfe8a2c7be2911624c341",
"path": "houseplan-assets/iso-scene-render-laZklfoK.js",
"sha256": "b44452678028ffa592e4c451cc83b2641849de9d2aa8e376b745716fd8959e07",
"rawBytes": 39206,
"gzipBytes": 13236,
"gzipBytes": 13232,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-AJRZAUON.js",
"sha256": "dff5f0f1ad7a5e92226f812e4948705e55b5556c802003ac1147339ea641e775",
"path": "houseplan-assets/live-interaction-runtime-6aKxQZ08.js",
"sha256": "b6ae87f48a7fd452e0ff308fe1f5c1ed5f42c5e043207f1bd709c27116687f50",
"rawBytes": 8216,
"gzipBytes": 3210,
"gzipBytes": 3205,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-B2sbsWvc.js",
"sha256": "63d543a4fa25f03b26f255a4ea8c6096440fd3a0c3dc1b96e8402560fe9709b6",
"path": "houseplan-assets/pdf-export-AtNBwlbu.js",
"sha256": "e9ff835b0314cb0d788d5ddb03a34c4b27a41d176759124e5efff4c7056b5c14",
"rawBytes": 236244,
"gzipBytes": 109875,
"gzipBytes": 109873,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-D_9nJ3h5.js",
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/furniture-plan-art.generated-BTnKIgxI.js",
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-BDoONUEa.js",
"sha256": "caf18642431f5c391e03c7c06f1d45dbe71ffc06417c65cc24f726dff2840fd1",
"path": "houseplan-assets/summary-panel-editor-Dyw8idZI.js",
"sha256": "d419a61fe9299bb6fd401acffc157b462f5c00921802be8c32aeb0eeff70e3bc",
"rawBytes": 14824,
"gzipBytes": 3400,
"gzipBytes": 3398,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js",
"houseplan-assets/summary-panel-runtime-loaded-CNpqraog.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js",
"houseplan-assets/summary-panel-runtime-loaded-D4lux9Rq.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-O-xxtEs5.js",
"sha256": "e6eb617c543828e8d13193c442489da5b335be1706ac4285bf8dd6ac6861c300",
"path": "houseplan-assets/summary-panel-metrics-w_K0Daes.js",
"sha256": "7e19c25039254db4884d2688e4643fde96924710cf95889d2e77d63db779ce34",
"rawBytes": 2610,
"gzipBytes": 1306,
"gzipBytes": 1307,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-CNpqraog.js",
"sha256": "d436e392b8472c75e3fce9f4f61bc38d8261b34c740cf796eab2f6916d191da1",
"path": "houseplan-assets/summary-panel-runtime-loaded-D4lux9Rq.js",
"sha256": "f73ecda0ed06e055d0877482ff0506e7bf0c25c3fae0bc0c03176d4c7ea48a3a",
"rawBytes": 73366,
"gzipBytes": 20088,
"gzipBytes": 20087,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-BDoONUEa.js",
"houseplan-assets/summary-panel-metrics-O-xxtEs5.js"
"houseplan-assets/summary-panel-editor-Dyw8idZI.js",
"houseplan-assets/summary-panel-metrics-w_K0Daes.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-Ba2URGlk.js",
"sha256": "c22937699ac98c72b3fa9e8d94555cbaf108fcb6354ba1660c71d06504e0b0d0",
"path": "houseplan-assets/zigbee-topology-CIwsP8Gp.js",
"sha256": "2b2545fb6e5aaa4f2a2d4643006f7fbd3080ba134501c626dbb5df09ebabb6fd",
"rawBytes": 18961,
"gzipBytes": 7426,
"gzipBytes": 7424,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-BZVl6ukN.js",
"sha256": "9495447f3dfda1bbc1a4612742a0a42aeadca02949f9e5ff87e8d5b8ae18e146",
"path": "houseplan-assets/zigbee-topology-runtime-lYtO4TsW.js",
"sha256": "318d360d069aff3cddaec6e2a188f75575401c5dd596255c58f9cf1a87683d63",
"rawBytes": 3941,
"gzipBytes": 1763,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js",
"houseplan-assets/zigbee-topology-Ba2URGlk.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js",
"houseplan-assets/zigbee-topology-CIwsP8Gp.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "f31ba79b59bd0c95d9696f77702c5cff2d0900b1962547c42c7e7f7f807b0e10",
"sha256": "83b3da57da560aceae0e33eadec61310f74ed2a43c768b64407da6fd5c2ccf26",
"rawBytes": 1205,
"gzipBytes": 805,
"gzipBytes": 802,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "174775f68968418e501fdbe42a83541d6003dbb0e58aa223d7f419936e88c8cf",
"sha256": "2ef32742fbbf3d218f99072b49fdc3a83f6a549e1fd33e2faa94634a60ef3855",
"rawBytes": 6165,
"gzipBytes": 2327,
"gzipBytes": 2325,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Di_izZTU.js"
"houseplan-assets/houseplan-card-BvRF7pTE.js"
],
"dynamicImports": []
}
@@ -1,14 +1,14 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="530ccf77162ec68ef4b53a77b8f84ff0fffe489fa26b18459248ce23d527db33";import{q as e,l as o,v as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,E as r,c}from"./houseplan-card-Di_izZTU.js";class f extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,f={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},h=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="11fd6d9308b5a7bd3a898b2bc1a1a974e185fa48b94346a31107efaac6bad038";import{q as e,l as o,v as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,E as r,c}from"./houseplan-card-BvRF7pTE.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
.computeLabel=${e=>f[e.name]||e.name}
.computeLabel=${e=>h[e.name]||e.name}
@value-changed=${this._valueChanged}
></ha-form>`;return c`
${d(h.slice(0,3))}
${d(f.slice(0,3))}
${_?c`<div class="default-floor-error" role="alert"
style="color:var(--error-color,#db4437);margin:-4px 0 12px;overflow-wrap:anywhere">
${t(s,"editor.default_floor_missing",{id:_})}
</div>`:a}
${d(h.slice(3))}
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}f.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",f);
${d(f.slice(3))}
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}h.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",h);
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="530ccf77162ec68ef4b53a77b8f84ff0fffe489fa26b18459248ce23d527db33";import{c as a,A as e}from"./houseplan-card-Di_izZTU.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-CNpqraog.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__="11fd6d9308b5a7bd3a898b2bc1a1a974e185fa48b94346a31107efaac6bad038";import{c as a,A as e}from"./houseplan-card-BvRF7pTE.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-D4lux9Rq.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
<input id="summary-local-show" data-summary-local-show type="checkbox"
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="530ccf77162ec68ef4b53a77b8f84ff0fffe489fa26b18459248ce23d527db33";import{ea as e,P as t,a5 as n,M as i,aq as r,N as o,bs as s,br as a,a4 as c,a3 as l,aA as u,eb as d,ec as f,bu as m,ed as g}from"./houseplan-card-Di_izZTU.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),s=i.binding.slice(r+1),a="device"===o?e.registry.devices?.[s]:null,c="entity"===o?e.registry.entities?.[s]:null,l="device"===o?s:c?.device_id,u="device"===o?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===o&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,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*h(c,l,u=_){try{let d=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,r,o,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/r;d+=a(v)*_*_/1e4}return d}catch{return null}}function p(e,t,n=_){const i=h(e,t,n);let r=i.next();for(;!r.done;)r=i.next();return r.value}function b(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="11fd6d9308b5a7bd3a898b2bc1a1a974e185fa48b94346a31107efaac6bad038";import{ea as e,P as t,a5 as n,M as i,aq as a,N as r,bs as o,br as s,a4 as l,a3 as c,aA as d,eb as u,ec as f,bu as m,ed as g}from"./houseplan-card-BvRF7pTE.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 a=String(i.binding||"").indexOf(":");if(a<1)continue;const r=i.binding.slice(0,a),o=i.binding.slice(a+1),s="device"===r?e.registry.devices?.[o]:null,l="entity"===r?e.registry.entities?.[o]:null,c="device"===r?o:l?.device_id,d="device"===r?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(o))&&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,a,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,a,r)}}function*b(l,c,d=_){try{let u=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,a,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,o(l,m.physicalBodies)),yield}const _=m.cellCm/a;u+=s(v)*_*_/1e4}return u}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let a=i.next();for(;!a.done;)a=i.next();return a.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 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="530ccf77162ec68ef4b53a77b8f84ff0fffe489fa26b18459248ce23d527db33";import{n as t,b as n}from"./zigbee-topology-Ba2URGlk.js";import{F as e}from"./houseplan-card-Di_izZTU.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="11fd6d9308b5a7bd3a898b2bc1a1a974e185fa48b94346a31107efaac6bad038";import{n as t,b as n}from"./zigbee-topology-CIwsP8Gp.js";import{F as e}from"./houseplan-card-BvRF7pTE.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__="530ccf77162ec68ef4b53a77b8f84ff0fffe489fa26b18459248ce23d527db33";try{await import("./houseplan-assets/houseplan-card-Di_izZTU.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__="11fd6d9308b5a7bd3a898b2bc1a1a974e185fa48b94346a31107efaac6bad038";try{await import("./houseplan-assets/houseplan-card-BvRF7pTE.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