build: prepare v1.72.0-beta.5 candidate

Issue: #461
Issue: #462
Issue: #463
User-Visible: yes
Release: v1.72.0-beta.5
This commit is contained in:
Matysh
2026-09-05 18:52:59 +03:00
parent 7ab12294fc
commit 2558d68f06
38 changed files with 338 additions and 336 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ SCHEDULED_GRACE_S = 30 * 24 * 3600
FILES_DIR = "houseplan/files"
ASSETS_DIR = "houseplan/assets"
CONF_ADMIN_ONLY = "admin_only"
VERSION = "1.72.0-beta.4"
VERSION = "1.72.0-beta.5"
DECOR_ASSETS_API_VERSION = 1
# #43: the support transport is deliberately not configurable. A user supplied
@@ -1,182 +1,182 @@
{
"schema": 1,
"fingerprint": "450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21",
"fingerprint": "192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f",
"entry": "houseplan-card.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 300177,
"initialViewGzipBytes": 300169,
"lazyFiles": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/de-CpxB5XNX.js",
"houseplan-assets/editor-NUCgbrhz.js",
"houseplan-assets/fr-D0-kgKH-.js",
"houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js",
"houseplan-assets/hp-zigbee-topology-overlay-BPd8Pwvw.js",
"houseplan-assets/live-interaction-runtime-EPbmOEuT.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js",
"houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/de-DBmsjeng.js",
"houseplan-assets/editor-CF2AVvDl.js",
"houseplan-assets/fr-DBV8B9JV.js",
"houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js",
"houseplan-assets/hp-zigbee-topology-overlay-IlsqDX_M.js",
"houseplan-assets/live-interaction-runtime-CZJawMy0.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js",
"houseplan-assets/zigbee-topology-runtime-BCspe_yf.js"
],
"lazyGzipBytes": 250904,
"lazyGzipBytes": 250887,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/editor-NUCgbrhz.js",
"houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/editor-CF2AVvDl.js",
"houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js"
],
"lazyEditorGzipBytes": 186642,
"lazyEditorGzipBytes": 186638,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js"
],
"lazyOnboardingGzipBytes": 14325,
"lazyOnboardingGzipBytes": 14328,
"lazyLocaleFiles": [
"houseplan-assets/de-CpxB5XNX.js",
"houseplan-assets/fr-D0-kgKH-.js"
"houseplan-assets/de-DBmsjeng.js",
"houseplan-assets/fr-DBV8B9JV.js"
],
"lazyLocaleGzipBytes": 50164,
"lazyLocaleGzipBytes": 50155,
"files": [
{
"path": "houseplan-assets/backdrop-pick-Zap4E9sk.js",
"sha256": "6baca3ba990592c20a7fa76477184d1131289c17b8837532de93c0187d57cc96",
"path": "houseplan-assets/backdrop-pick-RHl4KhtG.js",
"sha256": "6dcbba0486e12f42895ecc895fbb30c2ea40d6fdfaba3111bff20b950c08db3d",
"rawBytes": 21592,
"gzipBytes": 7357,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-CpxB5XNX.js",
"sha256": "88340cb2f022e3c30e8fca4d66fd4b7321110bec6be42d2f87cfb78cec7bdbf2",
"path": "houseplan-assets/de-DBmsjeng.js",
"sha256": "8b1e5ff1f52d59d060aa5dda142565d099b8cf018b508d18942d374f99ca20d4",
"rawBytes": 84232,
"gzipBytes": 25359,
"gzipBytes": 25355,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-NUCgbrhz.js",
"sha256": "867133c37feba2080a0d6f7ad874e128d9a953a78acb7199554205e8bfa68716",
"path": "houseplan-assets/editor-CF2AVvDl.js",
"sha256": "b19535b228064a4a2cc9846b88368efe4004d1ec0353c6385f83d9a8eae81155",
"rawBytes": 3831,
"gzipBytes": 1584,
"gzipBytes": 1582,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-D0-kgKH-.js",
"sha256": "d28de584daecc681928c4fc08203118aa88c8d118ab3734cd1eb809a20e6dcf4",
"path": "houseplan-assets/fr-DBV8B9JV.js",
"sha256": "bcbe04073cd2e422ef04b4db84b5b0142e2ac391bba8add4821a9cb41bd5fbf5",
"rawBytes": 86273,
"gzipBytes": 24805,
"gzipBytes": 24800,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-Dc1_eajM.js",
"sha256": "9a02f6b3a4ed9309d55ada799bc4c81d06e5e7e8c297b2eb161142f34a389ae4",
"path": "houseplan-assets/houseplan-card-BI7f3a8-.js",
"sha256": "5af6bc4656b8402ed5791af790e2669e8c030c344f67b354b884c5c413baf485",
"rawBytes": 1069142,
"gzipBytes": 299380,
"gzipBytes": 299373,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-CpxB5XNX.js",
"houseplan-assets/editor-NUCgbrhz.js",
"houseplan-assets/fr-D0-kgKH-.js",
"houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js",
"houseplan-assets/hp-zigbee-topology-overlay-BPd8Pwvw.js",
"houseplan-assets/live-interaction-runtime-EPbmOEuT.js"
"houseplan-assets/de-DBmsjeng.js",
"houseplan-assets/editor-CF2AVvDl.js",
"houseplan-assets/fr-DBV8B9JV.js",
"houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js",
"houseplan-assets/hp-zigbee-topology-overlay-IlsqDX_M.js",
"houseplan-assets/live-interaction-runtime-CZJawMy0.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"sha256": "45ec40cb841084a715bb98b9f9492e46efca3c0533c55edb881f0e22750a4e34",
"path": "houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"sha256": "65e5862b98366947d38b47a6e2dfa4ab9b47405d9c783c2a49669a5b3948956e",
"rawBytes": 639587,
"gzipBytes": 170270,
"gzipBytes": 170267,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js"
"houseplan-assets/zigbee-topology-runtime-BCspe_yf.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js",
"sha256": "9e75e32243c4f87a389415c81b64a85fb1b743f79eab06ff82a825684bd87210",
"path": "houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js",
"sha256": "f219bbb4d8549af5386e4a60730f537407ad4f5a73aed8f26363b34609d22809",
"rawBytes": 28071,
"gzipBytes": 6968,
"gzipBytes": 6971,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-BPd8Pwvw.js",
"sha256": "ab98ff8bfae06617e8e7b83a0708685195a768d40d99a60a7e267a3e6d6b59b3",
"path": "houseplan-assets/hp-zigbee-topology-overlay-IlsqDX_M.js",
"sha256": "62282313e04fc88f52d513645c8e650721711cc3332c54738af9e5416733a839",
"rawBytes": 8626,
"gzipBytes": 3235,
"gzipBytes": 3230,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js",
"houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js",
"houseplan-assets/zigbee-topology-runtime-BCspe_yf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-EPbmOEuT.js",
"sha256": "05f8b5d2463d1a3d741ab36075d20ef1956d4ebbc1169ff6456011c81e0ddf29",
"path": "houseplan-assets/live-interaction-runtime-CZJawMy0.js",
"sha256": "10340f70ed2df2a58a171289b9f270c5deb9d8f8d4c5ef7cac0addfd527b3d81",
"rawBytes": 5196,
"gzipBytes": 2129,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-B2eQAXzT.js",
"sha256": "16a30c43ecc1797184a4f07beac877fadcbd56b8f1f83ebedd24ab017ce0cf9e",
"path": "houseplan-assets/zigbee-topology-CHJ5vgjd.js",
"sha256": "639b9d0114c29b1adadee3ee889afa9ddc39cc97b8b9146ccf089ec2dbc83f9c",
"rawBytes": 18961,
"gzipBytes": 7431,
"gzipBytes": 7432,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js",
"sha256": "04fc4367ea89ee777fcce0bc16e45362faa8eeec1b4d3e1c471f2e0ef297f192",
"path": "houseplan-assets/zigbee-topology-runtime-BCspe_yf.js",
"sha256": "81555d6dd1f947c21456a8f4dbca33d3b236a85a3348b1ccc93941af08984b63",
"rawBytes": 3941,
"gzipBytes": 1766,
"gzipBytes": 1764,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "3179ad63f5122e9ff7e6c4a506affb706b9debaa69a31d2edddf695920e26f5e",
"sha256": "75383df6d1e2ab15b78a1889e1586d99cb126bc2c0bfaf47f862629ec9ff06cd",
"rawBytes": 1183,
"gzipBytes": 797,
"gzipBytes": 796,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
}
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21";import{v as e,l as o,z as t,dt as s,A as a,du as i,dv as l,dw as n,E as r,c}from"./houseplan-card-Dc1_eajM.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__="192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f";import{v as e,l as o,z as t,dt as s,A as a,du as i,dv as l,dw as n,E as r,c}from"./houseplan-card-BI7f3a8-.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 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21";import{n as t,b as n}from"./zigbee-topology-B2eQAXzT.js";import{I as e}from"./houseplan-card-Dc1_eajM.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__="192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f";import{n as t,b as n}from"./zigbee-topology-CHJ5vgjd.js";import{I as e}from"./houseplan-card-BI7f3a8-.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21";try{await import("./houseplan-assets/houseplan-card-Dc1_eajM.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 entry: the main chunk is unavailable",e)}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f";try{await import("./houseplan-assets/houseplan-card-BI7f3a8-.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 entry: the main chunk is unavailable",e)}
+1 -1
View File
@@ -19,5 +19,5 @@
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
"requirements": [],
"single_config_entry": true,
"version": "1.72.0-beta.4"
"version": "1.72.0-beta.5"
}
+81 -81
View File
@@ -1,182 +1,182 @@
{
"schema": 1,
"fingerprint": "450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21",
"fingerprint": "192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f",
"entry": "houseplan-card.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 300177,
"initialViewGzipBytes": 300169,
"lazyFiles": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/de-CpxB5XNX.js",
"houseplan-assets/editor-NUCgbrhz.js",
"houseplan-assets/fr-D0-kgKH-.js",
"houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js",
"houseplan-assets/hp-zigbee-topology-overlay-BPd8Pwvw.js",
"houseplan-assets/live-interaction-runtime-EPbmOEuT.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js",
"houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/de-DBmsjeng.js",
"houseplan-assets/editor-CF2AVvDl.js",
"houseplan-assets/fr-DBV8B9JV.js",
"houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js",
"houseplan-assets/hp-zigbee-topology-overlay-IlsqDX_M.js",
"houseplan-assets/live-interaction-runtime-CZJawMy0.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js",
"houseplan-assets/zigbee-topology-runtime-BCspe_yf.js"
],
"lazyGzipBytes": 250904,
"lazyGzipBytes": 250887,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/editor-NUCgbrhz.js",
"houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/editor-CF2AVvDl.js",
"houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js"
],
"lazyEditorGzipBytes": 186642,
"lazyEditorGzipBytes": 186638,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js"
],
"lazyOnboardingGzipBytes": 14325,
"lazyOnboardingGzipBytes": 14328,
"lazyLocaleFiles": [
"houseplan-assets/de-CpxB5XNX.js",
"houseplan-assets/fr-D0-kgKH-.js"
"houseplan-assets/de-DBmsjeng.js",
"houseplan-assets/fr-DBV8B9JV.js"
],
"lazyLocaleGzipBytes": 50164,
"lazyLocaleGzipBytes": 50155,
"files": [
{
"path": "houseplan-assets/backdrop-pick-Zap4E9sk.js",
"sha256": "6baca3ba990592c20a7fa76477184d1131289c17b8837532de93c0187d57cc96",
"path": "houseplan-assets/backdrop-pick-RHl4KhtG.js",
"sha256": "6dcbba0486e12f42895ecc895fbb30c2ea40d6fdfaba3111bff20b950c08db3d",
"rawBytes": 21592,
"gzipBytes": 7357,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-CpxB5XNX.js",
"sha256": "88340cb2f022e3c30e8fca4d66fd4b7321110bec6be42d2f87cfb78cec7bdbf2",
"path": "houseplan-assets/de-DBmsjeng.js",
"sha256": "8b1e5ff1f52d59d060aa5dda142565d099b8cf018b508d18942d374f99ca20d4",
"rawBytes": 84232,
"gzipBytes": 25359,
"gzipBytes": 25355,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-NUCgbrhz.js",
"sha256": "867133c37feba2080a0d6f7ad874e128d9a953a78acb7199554205e8bfa68716",
"path": "houseplan-assets/editor-CF2AVvDl.js",
"sha256": "b19535b228064a4a2cc9846b88368efe4004d1ec0353c6385f83d9a8eae81155",
"rawBytes": 3831,
"gzipBytes": 1584,
"gzipBytes": 1582,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-D0-kgKH-.js",
"sha256": "d28de584daecc681928c4fc08203118aa88c8d118ab3734cd1eb809a20e6dcf4",
"path": "houseplan-assets/fr-DBV8B9JV.js",
"sha256": "bcbe04073cd2e422ef04b4db84b5b0142e2ac391bba8add4821a9cb41bd5fbf5",
"rawBytes": 86273,
"gzipBytes": 24805,
"gzipBytes": 24800,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-Dc1_eajM.js",
"sha256": "9a02f6b3a4ed9309d55ada799bc4c81d06e5e7e8c297b2eb161142f34a389ae4",
"path": "houseplan-assets/houseplan-card-BI7f3a8-.js",
"sha256": "5af6bc4656b8402ed5791af790e2669e8c030c344f67b354b884c5c413baf485",
"rawBytes": 1069142,
"gzipBytes": 299380,
"gzipBytes": 299373,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-CpxB5XNX.js",
"houseplan-assets/editor-NUCgbrhz.js",
"houseplan-assets/fr-D0-kgKH-.js",
"houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js",
"houseplan-assets/hp-zigbee-topology-overlay-BPd8Pwvw.js",
"houseplan-assets/live-interaction-runtime-EPbmOEuT.js"
"houseplan-assets/de-DBmsjeng.js",
"houseplan-assets/editor-CF2AVvDl.js",
"houseplan-assets/fr-DBV8B9JV.js",
"houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js",
"houseplan-assets/hp-zigbee-topology-overlay-IlsqDX_M.js",
"houseplan-assets/live-interaction-runtime-CZJawMy0.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-DwxKA8C2.js",
"sha256": "45ec40cb841084a715bb98b9f9492e46efca3c0533c55edb881f0e22750a4e34",
"path": "houseplan-assets/houseplan-editor-runtime-B1oPaYc_.js",
"sha256": "65e5862b98366947d38b47a6e2dfa4ab9b47405d9c783c2a49669a5b3948956e",
"rawBytes": 639587,
"gzipBytes": 170270,
"gzipBytes": 170267,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js"
"houseplan-assets/zigbee-topology-runtime-BCspe_yf.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-CUn3Diz5.js",
"sha256": "9e75e32243c4f87a389415c81b64a85fb1b743f79eab06ff82a825684bd87210",
"path": "houseplan-assets/houseplan-onboarding-runtime-CGgiPF0L.js",
"sha256": "f219bbb4d8549af5386e4a60730f537407ad4f5a73aed8f26363b34609d22809",
"rawBytes": 28071,
"gzipBytes": 6968,
"gzipBytes": 6971,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-Zap4E9sk.js",
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/backdrop-pick-RHl4KhtG.js",
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-BPd8Pwvw.js",
"sha256": "ab98ff8bfae06617e8e7b83a0708685195a768d40d99a60a7e267a3e6d6b59b3",
"path": "houseplan-assets/hp-zigbee-topology-overlay-IlsqDX_M.js",
"sha256": "62282313e04fc88f52d513645c8e650721711cc3332c54738af9e5416733a839",
"rawBytes": 8626,
"gzipBytes": 3235,
"gzipBytes": 3230,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js",
"houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js",
"houseplan-assets/zigbee-topology-runtime-BCspe_yf.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-EPbmOEuT.js",
"sha256": "05f8b5d2463d1a3d741ab36075d20ef1956d4ebbc1169ff6456011c81e0ddf29",
"path": "houseplan-assets/live-interaction-runtime-CZJawMy0.js",
"sha256": "10340f70ed2df2a58a171289b9f270c5deb9d8f8d4c5ef7cac0addfd527b3d81",
"rawBytes": 5196,
"gzipBytes": 2129,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-B2eQAXzT.js",
"sha256": "16a30c43ecc1797184a4f07beac877fadcbd56b8f1f83ebedd24ab017ce0cf9e",
"path": "houseplan-assets/zigbee-topology-CHJ5vgjd.js",
"sha256": "639b9d0114c29b1adadee3ee889afa9ddc39cc97b8b9146ccf089ec2dbc83f9c",
"rawBytes": 18961,
"gzipBytes": 7431,
"gzipBytes": 7432,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-CSb-ImjM.js",
"sha256": "04fc4367ea89ee777fcce0bc16e45362faa8eeec1b4d3e1c471f2e0ef297f192",
"path": "houseplan-assets/zigbee-topology-runtime-BCspe_yf.js",
"sha256": "81555d6dd1f947c21456a8f4dbca33d3b236a85a3348b1ccc93941af08984b63",
"rawBytes": 3941,
"gzipBytes": 1766,
"gzipBytes": 1764,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js",
"houseplan-assets/zigbee-topology-B2eQAXzT.js"
"houseplan-assets/houseplan-card-BI7f3a8-.js",
"houseplan-assets/zigbee-topology-CHJ5vgjd.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "3179ad63f5122e9ff7e6c4a506affb706b9debaa69a31d2edddf695920e26f5e",
"sha256": "75383df6d1e2ab15b78a1889e1586d99cb126bc2c0bfaf47f862629ec9ff06cd",
"rawBytes": 1183,
"gzipBytes": 797,
"gzipBytes": 796,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-Dc1_eajM.js"
"houseplan-assets/houseplan-card-BI7f3a8-.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__="450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21";import{v as e,l as o,z as t,dt as s,A as a,du as i,dv as l,dw as n,E as r,c}from"./houseplan-card-Dc1_eajM.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__="192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f";import{v as e,l as o,z as t,dt as s,A as a,du as i,dv as l,dw as n,E as r,c}from"./houseplan-card-BI7f3a8-.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21";import{n as t,b as n}from"./zigbee-topology-B2eQAXzT.js";import{I as e}from"./houseplan-card-Dc1_eajM.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__="192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f";import{n as t,b as n}from"./zigbee-topology-CHJ5vgjd.js";import{I as e}from"./houseplan-card-BI7f3a8-.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
+1 -1
View File
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="450863830ad6931b7698085deecbd39f6686a3e84f1b777008be5347426f4b21";try{await import("./houseplan-assets/houseplan-card-Dc1_eajM.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 entry: the main chunk is unavailable",e)}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="192c2d3d3a2416dc2db235043f6e954c5f58e56447555d0f68bd7d8fb0b8158f";try{await import("./houseplan-assets/houseplan-card-BI7f3a8-.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 entry: the main chunk is unavailable",e)}
+2
View File
@@ -2,6 +2,8 @@
## Unreleased
## v1.72.0-beta.5 — 2026-09-05
- Native House Plan confirmations and fallback dialogs now remain centred with
a real dimmed modal backdrop. If Home Assistant temporarily detaches and
restores the card, an open native dialog recovers the browser top layer
+2
View File
@@ -8,6 +8,8 @@
## Не выпущено
## v1.72.0-beta.5 — 2026-09-05
- Нативные подтверждения и резервные диалоги House Plan теперь остаются по
центру экрана с настоящим затемнённым модальным фоном. Если Home Assistant
временно отсоединяет и восстанавливает карточку, открытый диалог возвращается
+21 -23
View File
@@ -1,32 +1,30 @@
<!-- release: v1.72.0-beta.4 -->
<!-- release: v1.72.0-beta.5 -->
## Основное
- В настройках пространства теперь можно создать копию стен, проёмов,
подложки, масштаба и вида под новым именем, не перенося комнаты и размещение
устройств ([#456](https://github.com/Matysh/houseplan-card/issues/456)).
- Связи Zigbee при наведении теперь показывают стрелками путь к координатору,
а контекстная подсказка объясняет цвета, пунктир и ограничения диагностики
([#457](https://github.com/Matysh/houseplan-card/issues/457),
[#459](https://github.com/Matysh/houseplan-card/issues/459)).
- Превью мебели теперь надёжно исчезает при уходе указателя и не расходится с
итоговым размещением после перерисовки редактора
([#460](https://github.com/Matysh/houseplan-card/issues/460)).
- Рисование цепочек стен на больших планах стало заметно быстрее без ослабления
итоговой проверки геометрии
([#461](https://github.com/Matysh/houseplan-card/issues/461)).
- House Plan теперь показывает проблемы регистрации ресурса и несовпадения
версий frontend и интеграции, а после обновления безопасно восстанавливает
карточку ([#462](https://github.com/Matysh/houseplan-card/issues/462)).
- Нативные подтверждения и резервные диалоги больше не теряют центрирование и
модальность после переподключения карточки
([#463](https://github.com/Matysh/houseplan-card/issues/463)).
- Мелкие исправления и улучшения.
## Highlights
- Space settings can now create a room-free copy of walls, openings,
Background objects, scale and view under a new name without carrying over
device placement ([#456](https://github.com/Matysh/houseplan-card/issues/456)).
- Zigbee links now use arrows to show the route towards the coordinator on
hover, with contextual help explaining colours, dashes and diagnostic limits
([#457](https://github.com/Matysh/houseplan-card/issues/457),
[#459](https://github.com/Matysh/houseplan-card/issues/459)).
- Furniture previews now clear reliably when the pointer leaves and stay in
sync with the final placement after an editor redraw
([#460](https://github.com/Matysh/houseplan-card/issues/460)).
- Drawing wall chains on large plans is now noticeably faster without weakening
final geometry validation
([#461](https://github.com/Matysh/houseplan-card/issues/461)).
- House Plan now surfaces resource-registration and frontend/integration
version mismatches and safely recovers the card after updates
([#462](https://github.com/Matysh/houseplan-card/issues/462)).
- Native confirmations and fallback dialogs no longer lose centring or modality
after the card reconnects
([#463](https://github.com/Matysh/houseplan-card/issues/463)).
- Small fixes and improvements.
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.72.0-beta.4/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.72.0-beta.4/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.72.0-beta.5/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.72.0-beta.5/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.72.0-beta.4** everywhere (manifest, const.py, package.json, CARD_VERSION) |
| Current local cycle | v1.72.0-beta.4 adds room-free space copies (#456), directional Zigbee route arrows and contextual help (#457, #459), and deterministic live-editor settlement for reliable furniture previews (#460). Publish from `dev` only after exact-SHA Validate is green; `main` remains at v1.71.0. |
| Version | **v1.72.0-beta.5** everywhere (manifest, const.py, package.json, CARD_VERSION) |
| Current local cycle | v1.72.0-beta.5 makes wall-chain drawing on large plans faster (#461), adds observable frontend/integration version recovery (#462), and keeps native/fallback dialogs modal and centred after reconnects (#463). Publish from `dev` only after exact-SHA Validate is green; `main` remains at v1.71.0. |
| Hidden Labs Stage | #89 Stage 1 ships in v1.63.0-beta.1. #122 Stage 2 ships in v1.64.0 and evolves the same hidden, expiring `iso` experiment with matte walls, a low exterior floor edge, restrained shared shadows and live vertical door/window/gate panels. Flat remains default; editors and `houseplan-space-card` remain flat; live floor effects and HA actions remain unchanged. Public activation remains a separate task. |
| 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 GitHub Release uses `prerelease=false`. 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.72.0-beta.4",
"version": "1.72.0-beta.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.72.0-beta.4",
"version": "1.72.0-beta.5",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.72.0-beta.4",
"version": "1.72.0-beta.5",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -403,7 +403,7 @@ import {
} from './space-order';
import { applyOpeningMoves, mergeCollinearPartitions, spaceMergeGeometry } from './wall-merge';
const CARD_VERSION = '1.72.0-beta.4';
const CARD_VERSION = '1.72.0-beta.5';
const ENTRY_BUILD_FINGERPRINT = '__HOUSEPLAN_SOURCE_FINGERPRINT__';
const EDITOR_RETRY_ASSET = '__HOUSEPLAN_EDITOR_RETRY_ASSET__';
+1 -1
View File
@@ -378,7 +378,7 @@ import {
} from './space-order';
import { applyOpeningMoves, mergeCollinearPartitions, spaceMergeGeometry } from './wall-merge';
const CARD_VERSION = '1.72.0-beta.4';
const CARD_VERSION = '1.72.0-beta.5';
type ResizeLiveLabel = {
kind: 'length';