@@ -6,6 +6,8 @@ All notable changes to NextFloor, newest first. Every release lists what is **Ad
### Added
### Added
- **Room illuminance and multiple device readings:** Rooms can link a brightness sensor and show lux with a sun symbol; CO₂ uses a cloud. A small + button adds device/furniture values with independent object-tree choices, custom symbols and optional labels, shown on device markers and in the room panel.
- **Floating room climate cards:** Each room can show temperature, humidity and CO₂ in a glass card above its own position, using its selected sensors. Cards follow live values and room/floor navigation and can be toggled without configuring an energy meter.
- **Floating room climate cards:** Each room can show temperature, humidity and CO₂ in a glass card above its own position, using its selected sensors. Cards follow live values and room/floor navigation and can be toggled without configuring an energy meter.
- **IP-Symcon variable reload:** A button in the designer title bar reloads the complete object tree, variables and current presentation metadata without closing the plan, with progress, success and error feedback.
- **IP-Symcon variable reload:** A button in the designer title bar reloads the complete object tree, variables and current presentation metadata without closing the plan, with progress, success and error feedback.
@@ -14,12 +16,18 @@ All notable changes to NextFloor, newest first. Every release lists what is **Ad
### Changed
### Changed
- **Designer help popups:** Explanations are opened through compact information symbols instead of occupying the forms. Keyboard and touch users can open and dismiss the dialogs.
- **Compact room climate cards:** Floating cards show symbols and values without repeating the room name or labels. Unlinked metrics and entirely empty cards are hidden; linked unavailable sensors retain a dash.
- **Foldable wall menu:** The wall settings in the room sidebar can be collapsed using their heading.
- **Foldable wall menu:** The wall settings in the room sidebar can be collapsed using their heading.
- **IP-Symcon picker main category:** Hidden categories and their variables always remain visible. I/O, splitter, core, configurator, discovery and visualization instances are grouped under a collapsed virtual “System” folder, with searchable/selectable descendants and no changes to the actual Symcon object tree.
- **IP-Symcon picker main category:** Hidden categories and their variables always remain visible. I/O, splitter, core, configurator, discovery and visualization instances are grouped under a collapsed virtual “System” folder, with searchable/selectable descendants and no changes to the actual Symcon object tree.
### Fixed
### Fixed
- **IP-Symcon blind feedback and directions:** Numeric position feedback can be selected independently of inferred domains and is read using its native range. Blind and slat directions can be reversed separately across live readings, 3D geometry, sliders, buttons, swipes and grouped actions, without writing to feedback variables.
- **IP-Symcon room humidity selection:** Manual room-climate fields accept numeric Integer/Float variables even without inferred classes or profiles. German “Feuchtigkeit” and subscript “CO₂” names are recognized, and parent category names no longer override measurement classes.
- **IP-Symcon room humidity selection:** Manual room-climate fields accept numeric Integer/Float variables even without inferred classes or profiles. German “Feuchtigkeit” and subscript “CO₂” names are recognized, and parent category names no longer override measurement classes.
- **IP-Symcon dimmers and venetian blinds:** Numeric variables can be explicitly linked as dimmers or blind controls independently of inferred names. Native integer/float ranges and steps are respected in both directions. Separate blind-height and slat-position variables can be selected in the object tree and controlled independently in the room panel and quick menu; dimmer sliders stay available while off.
- **IP-Symcon dimmers and venetian blinds:** Numeric variables can be explicitly linked as dimmers or blind controls independently of inferred names. Native integer/float ranges and steps are respected in both directions. Separate blind-height and slat-position variables can be selected in the object tree and controlled independently in the room panel and quick menu; dimmer sliders stay available while off.
/*! NextFloor, MIT licence. Includes three.js (MIT) and Lit (BSD-3-Clause); see LICENSE and THIRD_PARTY_NOTICES.md */
/*! NextFloor, MIT licence. Includes three.js (MIT) and Lit (BSD-3-Clause); see LICENSE and THIRD_PARTY_NOTICES.md */
varp={cs:"4be67fcd522e",da:"0fe66a82bf2a",es:"bd89dffd1355",fi:"9a17bc084f56",fr:"6312d0f61ebf",hu:"27ba348531dc",it:"1b705e76dd00",nb:"c5ea24fb9ef6",nl:"b64142c67c2e",pl:"8527a4930402",pt:"31857a2d2277",ro:"e3cb5f449f0f",sk:"320611594db0",sl:"8071691ceda3",sv:"711b911ec8da",tr:"7c83ce1c3372",zh:"50518d9f494e"};varM=globalThis,N=M.ShadowRoot&&(M.ShadyCSS===void0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,V=Symbol(),me=newWeakMap,R=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==V)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}getstyleSheet(){lete=this.o,t=this.t;if(N&&e===void0){letn=t!==void0&&t.length===1;n&&(e=me.get(t)),e===void0&&((this.o=e=newCSSStyleSheet).replaceSync(this.cssText),n&&me.set(t,e))}returne}toString(){returnthis.cssText}},pe=i=>newR(typeofi=="string"?i:i+"",void0,V),U=(i,...e)=>{lett=i.length===1?i[0]:e.reduce((n,r,o)=>n+(a=>{if(a._$cssResult$===!0)returna.cssText;if(typeofa=="number")returna;throwError("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[o+1],i[0]);returnnewR(t,i,V)},fe=(i,e)=>{if(N)i.adoptedStyleSheets=e.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet);elsefor(lettofe){letn=document.createElement("style"),r=M.litNonce;r!==void0&&n.setAttribute("nonce",r),n.textContent=t.cssText,i.appendChild(n)}},j=N?i=>i:i=>iinstanceofCSSStyleSheet?(e=>{lett="";for(letnofe.cssRules)t+=n.cssText;returnpe(t)})(i):i;var{is:Ke,defineProperty:Ge,getOwnPropertyDescriptor:Oe,getOwnPropertyNames:Ie,getOwnPropertySymbols:Ze,getPrototypeOf:Ve}=Object,C=globalThis,ge=C.trustedTypes,Ue=ge?ge.emptyScript:"",je=C.reactiveElementPolyfillSupport,F=(i,e)=>i,q={toAttribute(i,e){switch(e){caseBoolean:i=i?Ue:null;break;caseObject:caseArray:i=i==null?i:JSON.stringify(i)}returni},fromAttribute(i,e){lett=i;switch(e){caseBoolean:t=i!==null;break;caseNumber:t=i===null?null:Number(i);break;caseObject:caseArray:try{t=JSON.parse(i)}catch{t=null}}returnt}},we=(i,e)=>!Ke(i,e),be={attribute:!0,type:String,converter:q,reflect:!1,useDefault:!1,hasChanged:we};Symbol.metadata??=Symbol("metadata"),C.litPropertyMetadata??=newWeakMap;varb=classextendsHTMLElement{staticaddInitializer(e){this._$Ei(),(this.l??=[]).push(e)}staticgetobservedAttributes(){returnthis.finalize(),this._$Eh&&[...this._$Eh.keys()]}staticcreateProperty(e,t=be){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){letn=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void0&&Ge(this.prototype,e,r)}}staticgetPropertyDescriptor(e,t,n){let{get:r,set:o}=Oe(this.prototype,e)??{get(){returnthis[t]},set(a){this[t]=a}};return{get:r,set(a){lets=r?.call(this);o?.call(this,a),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(e){returnthis.elementProperties.get(e)??be}static_$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;lete=Ve(this);e.finalize(),e.l!==void0&&(this.l=[...e.l]),this.elementProperties=newMap(e.elementProperties)}staticfinalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){lett=this.properties,n=[...Ie(t),...Ze(t)];for(letrofn)this.createProperty(r,t[r])}lete=this[Symbol.metadata];if(e!==null){lett=litPropertyMetadata.get(e);if(t!==void0)for(let[n,r]oft)this.elementProperties.set(n,r)}this._$Eh=newMap;for(let[t,n]ofthis.elementProperties){letr=this._$Eu(t,n);r!==void0&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}staticfinalizeStyles(e){lett=[];if(Array.isArray(e)){letn=newSet(e.flat(1/0).reverse());for(letrofn)t.unshift(j(r))}elsee!==void0&&t.push(j(e));returnt}static_$Eu(e,t){letn=t.attribute;returnn===!1?void0:typeofn=="string"?n:typeofe=="string"?e.toLowerCase():void0}constructor(){super(),this._$Ep=void0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=newPromise(e=>this.enableUpdating=e),this._$AL=newMap,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=newSet).add(e),this.renderRoot!==void0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){lete=newMap,t=this.constructor.elementProperties;for(letnoft.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),deletethis[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){lete=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);returnfe(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.Line truncated
varp={cs:"4be67fcd522e",da:"0fe66a82bf2a",es:"bd89dffd1355",fi:"9a17bc084f56",fr:"6312d0f61ebf",hu:"27ba348531dc",it:"1b705e76dd00",nb:"c5ea24fb9ef6",nl:"b64142c67c2e",pl:"8527a4930402",pt:"31857a2d2277",ro:"e3cb5f449f0f",sk:"320611594db0",sl:"8071691ceda3",sv:"711b911ec8da",tr:"7c83ce1c3372",zh:"50518d9f494e"};varM=globalThis,N=M.ShadowRoot&&(M.ShadyCSS===void0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,V=Symbol(),me=newWeakMap,R=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==V)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}getstyleSheet(){lete=this.o,t=this.t;if(N&&e===void0){letn=t!==void0&&t.length===1;n&&(e=me.get(t)),e===void0&&((this.o=e=newCSSStyleSheet).replaceSync(this.cssText),n&&me.set(t,e))}returne}toString(){returnthis.cssText}},pe=i=>newR(typeofi=="string"?i:i+"",void0,V),U=(i,...e)=>{lett=i.length===1?i[0]:e.reduce((n,r,o)=>n+(a=>{if(a._$cssResult$===!0)returna.cssText;if(typeofa=="number")returna;throwError("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[o+1],i[0]);returnnewR(t,i,V)},fe=(i,e)=>{if(N)i.adoptedStyleSheets=e.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet);elsefor(lettofe){letn=document.createElement("style"),r=M.litNonce;r!==void0&&n.setAttribute("nonce",r),n.textContent=t.cssText,i.appendChild(n)}},j=N?i=>i:i=>iinstanceofCSSStyleSheet?(e=>{lett="";for(letnofe.cssRules)t+=n.cssText;returnpe(t)})(i):i;var{is:Ke,defineProperty:Ge,getOwnPropertyDescriptor:Oe,getOwnPropertyNames:Ie,getOwnPropertySymbols:Ze,getPrototypeOf:Ve}=Object,C=globalThis,ge=C.trustedTypes,Ue=ge?ge.emptyScript:"",je=C.reactiveElementPolyfillSupport,F=(i,e)=>i,q={toAttribute(i,e){switch(e){caseBoolean:i=i?Ue:null;break;caseObject:caseArray:i=i==null?i:JSON.stringify(i)}returni},fromAttribute(i,e){lett=i;switch(e){caseBoolean:t=i!==null;break;caseNumber:t=i===null?null:Number(i);break;caseObject:caseArray:try{t=JSON.parse(i)}catch{t=null}}returnt}},we=(i,e)=>!Ke(i,e),be={attribute:!0,type:String,converter:q,reflect:!1,useDefault:!1,hasChanged:we};Symbol.metadata??=Symbol("metadata"),C.litPropertyMetadata??=newWeakMap;varb=classextendsHTMLElement{staticaddInitializer(e){this._$Ei(),(this.l??=[]).push(e)}staticgetobservedAttributes(){returnthis.finalize(),this._$Eh&&[...this._$Eh.keys()]}staticcreateProperty(e,t=be){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){letn=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void0&&Ge(this.prototype,e,r)}}staticgetPropertyDescriptor(e,t,n){let{get:r,set:o}=Oe(this.prototype,e)??{get(){returnthis[t]},set(a){this[t]=a}};return{get:r,set(a){lets=r?.call(this);o?.call(this,a),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(e){returnthis.elementProperties.get(e)??be}static_$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;lete=Ve(this);e.finalize(),e.l!==void0&&(this.l=[...e.l]),this.elementProperties=newMap(e.elementProperties)}staticfinalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){lett=this.properties,n=[...Ie(t),...Ze(t)];for(letrofn)this.createProperty(r,t[r])}lete=this[Symbol.metadata];if(e!==null){lett=litPropertyMetadata.get(e);if(t!==void0)for(let[n,r]oft)this.elementProperties.set(n,r)}this._$Eh=newMap;for(let[t,n]ofthis.elementProperties){letr=this._$Eu(t,n);r!==void0&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}staticfinalizeStyles(e){lett=[];if(Array.isArray(e)){letn=newSet(e.flat(1/0).reverse());for(letrofn)t.unshift(j(r))}elsee!==void0&&t.push(j(e));returnt}static_$Eu(e,t){letn=t.attribute;returnn===!1?void0:typeofn=="string"?n:typeofe=="string"?e.toLowerCase():void0}constructor(){super(),this._$Ep=void0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=newPromise(e=>this.enableUpdating=e),this._$AL=newMap,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=newSet).add(e),this.renderRoot!==void0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){lete=newMap,t=this.constructor.elementProperties;for(letnoft.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),deletethis[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){lete=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);returnfe(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.Line truncated
/*! NextFloor, MIT licence. Includes three.js (MIT) and Lit (BSD-3-Clause); see LICENSE and THIRD_PARTY_NOTICES.md */
/*! NextFloor, MIT licence. Includes three.js (MIT) and Lit (BSD-3-Clause); see LICENSE and THIRD_PARTY_NOTICES.md */
var$={cs:"4be67fcd522e",da:"0fe66a82bf2a",es:"bd89dffd1355",fi:"9a17bc084f56",fr:"6312d0f61ebf",hu:"27ba348531dc",it:"1b705e76dd00",nb:"c5ea24fb9ef6",nl:"b64142c67c2e",pl:"8527a4930402",pt:"31857a2d2277",ro:"e3cb5f449f0f",sk:"320611594db0",sl:"8071691ceda3",sv:"711b911ec8da",tr:"7c83ce1c3372",zh:"50518d9f494e"};Array.prototype.at||Object.defineProperty(Array.prototype,"at",{configurable:!0,writable:!0,value:function(e){lett=Math.trunc(e)||0;returnthis[t<0?this.length+t:t]}});typeofglobalThis.structuredClone!="function"&&(globalThis.structuredClone=r=>r===void0?r:JSON.parse(JSON.stringify(r)));varxn=globalThis,kn=xn.ShadowRoot&&(xn.ShadyCSS===void0||xn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,Hr=Symbol(),bi=newWeakMap,It=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Hr)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}getstyleSheet(){lete=this.o,t=this.t;if(kn&&e===void0){letn=t!==void0&&t.length===1;n&&(e=bi.get(t)),e===void0&&((this.o=e=newCSSStyleSheet).replaceSync(this.cssText),n&&bi.set(t,e))}returne}toString(){returnthis.cssText}},wi=r=>newIt(typeofr=="string"?r:r+"",void0,Hr),ne=(r,...e)=>{lett=r.length===1?r[0]:e.reduce((n,o,i)=>n+(s=>{if(s._$cssResult$===!0)returns.cssText;if(typeofs=="number")returns;throwError("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[i+1],r[0]);returnnewIt(t,r,Hr)},vi=(r,e)=>{if(kn)r.adoptedStyleSheets=e.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet);elsefor(lettofe){letn=document.createElement("style"),o=xn.litNonce;o!==void0&&n.setAttribute("nonce",o),n.textContent=t.cssText,r.appendChild(n)}},Ir=kn?r=>r:r=>rinstanceofCSSStyleSheet?(e=>{lett="";for(letnofe.cssRules)t+=n.cssText;returnwi(t)})(r):r;var{is:Jc,defineProperty:Qc,getOwnPropertyDescriptor:Xc,getOwnPropertyNames:eu,getOwnPropertySymbols:tu,getPrototypeOf:nu}=Object,Sn=globalThis,yi=Sn.trustedTypes,ru=yi?yi.emptyScript:"",ou=Sn.reactiveElementPolyfillSupport,Ct=(r,e)=>r,Cr={toAttribute(r,e){switch(e){caseBoolean:r=r?ru:null;break;caseObject:caseArray:r=r==null?r:JSON.stringify(r)}returnr},fromAttribute(r,e){lett=r;switch(e){caseBoolean:t=r!==null;break;caseNumber:t=r===null?null:Number(r);break;caseObject:caseArray:try{t=JSON.parse(r)}catch{t=null}}returnt}},ki=(r,e)=>!Jc(r,e),xi={attribute:!0,type:String,converter:Cr,reflect:!1,useDefault:!1,hasChanged:ki};Symbol.metadata??=Symbol("metadata"),Sn.litPropertyMetadata??=newWeakMap;varAe=classextendsHTMLElement{staticaddInitializer(e){this._$Ei(),(this.l??=[]).push(e)}staticgetobservedAttributes(){returnthis.finalize(),this._$Eh&&[...this._$Eh.keys()]}staticcreateProperty(e,t=xi){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){letn=Symbol(),o=this.getPropertyDescriptor(e,n,t);o!==void0&&Qc(this.prototype,e,o)}}staticgetPropertyDescriptor(e,t,n){let{get:o,set:i}=Xc(this.prototype,e)??{get(){returnthis[t]},set(s){this[t]=s}};return{get:o,set(s){leta=o?.call(this);i?.call(this,s),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(e){returnthis.elementProperties.get(e)??xi}static_$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;lete=nu(this);e.finalize(),e.l!==void0&&(this.l=[...e.l]),this.elementProperties=newMap(e.elementProperties)}staticfinalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){lett=this.properties,n=[...eu(t),...tu(t)];for(letoofn)this.createProperty(o,t[o])}lete=this[Symbol.metadata];if(e!==null){lett=litPropertyMetadata.get(e);if(t!==void0)for(let[n,o]oft)this.elementProperties.set(n,o)}this._$Eh=newMap;for(let[t,n]ofthis.elementProperties){leto=this._$Eu(t,n);o!==void0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}staticfinalizeStyles(e){lett=[];if(Array.isArray(e)){letn=newSet(e.flat(1/0).reverse());for(letoofn)t.unshift(Ir(o))}elsee!==void0&&t.push(Ir(e));returnt}static_$Eu(e,t){letn=t.attribute;returnn===!1?void0:typeofn=="string"?n:typeofe=="string"?e.toLowerCase():void0}constructor(){super(),this._$Ep=void0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=newPromise(e=>this.enableUpdating=e),this._$AL=newMap,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=newSet).add(e),this.renderRoot!==void0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){lete=newMap,t=this.constructor.elementProperties;for(letnoft.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),deletethis[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){lete=this.shaLine truncated
var$={cs:"4be67fcd522e",da:"0fe66a82bf2a",es:"bd89dffd1355",fi:"9a17bc084f56",fr:"6312d0f61ebf",hu:"27ba348531dc",it:"1b705e76dd00",nb:"c5ea24fb9ef6",nl:"b64142c67c2e",pl:"8527a4930402",pt:"31857a2d2277",ro:"e3cb5f449f0f",sk:"320611594db0",sl:"8071691ceda3",sv:"711b911ec8da",tr:"7c83ce1c3372",zh:"50518d9f494e"};Array.prototype.at||Object.defineProperty(Array.prototype,"at",{configurable:!0,writable:!0,value:function(e){lett=Math.trunc(e)||0;returnthis[t<0?this.length+t:t]}});typeofglobalThis.structuredClone!="function"&&(globalThis.structuredClone=r=>r===void0?r:JSON.parse(JSON.stringify(r)));var$n=globalThis,Mn=$n.ShadowRoot&&($n.ShadyCSS===void0||$n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,Wr=Symbol(),ki=newWeakMap,Nt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Wr)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}getstyleSheet(){lete=this.o,t=this.t;if(Mn&&e===void0){letn=t!==void0&&t.length===1;n&&(e=ki.get(t)),e===void0&&((this.o=e=newCSSStyleSheet).replaceSync(this.cssText),n&&ki.set(t,e))}returne}toString(){returnthis.cssText}},Si=r=>newNt(typeofr=="string"?r:r+"",void0,Wr),ne=(r,...e)=>{lett=r.length===1?r[0]:e.reduce((n,o,i)=>n+(s=>{if(s._$cssResult$===!0)returns.cssText;if(typeofs=="number")returns;throwError("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[i+1],r[0]);returnnewNt(t,r,Wr)},$i=(r,e)=>{if(Mn)r.adoptedStyleSheets=e.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet);elsefor(lettofe){letn=document.createElement("style"),o=$n.litNonce;o!==void0&&n.setAttribute("nonce",o),n.textContent=t.cssText,r.appendChild(n)}},Or=Mn?r=>r:r=>rinstanceofCSSStyleSheet?(e=>{lett="";for(letnofe.cssRules)t+=n.cssText;returnSi(t)})(r):r;var{is:iu,defineProperty:su,getOwnPropertyDescriptor:au,getOwnPropertyNames:lu,getOwnPropertySymbols:cu,getPrototypeOf:uu}=Object,An=globalThis,Mi=An.trustedTypes,du=Mi?Mi.emptyScript:"",hu=An.reactiveElementPolyfillSupport,Wt=(r,e)=>r,Lr={toAttribute(r,e){switch(e){caseBoolean:r=r?du:null;break;caseObject:caseArray:r=r==null?r:JSON.stringify(r)}returnr},fromAttribute(r,e){lett=r;switch(e){caseBoolean:t=r!==null;break;caseNumber:t=r===null?null:Number(r);break;caseObject:caseArray:try{t=JSON.parse(r)}catch{t=null}}returnt}},Ei=(r,e)=>!iu(r,e),Ai={attribute:!0,type:String,converter:Lr,reflect:!1,useDefault:!1,hasChanged:Ei};Symbol.metadata??=Symbol("metadata"),An.litPropertyMetadata??=newWeakMap;varAe=classextendsHTMLElement{staticaddInitializer(e){this._$Ei(),(this.l??=[]).push(e)}staticgetobservedAttributes(){returnthis.finalize(),this._$Eh&&[...this._$Eh.keys()]}staticcreateProperty(e,t=Ai){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){letn=Symbol(),o=this.getPropertyDescriptor(e,n,t);o!==void0&&su(this.prototype,e,o)}}staticgetPropertyDescriptor(e,t,n){let{get:o,set:i}=au(this.prototype,e)??{get(){returnthis[t]},set(s){this[t]=s}};return{get:o,set(s){leta=o?.call(this);i?.call(this,s),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(e){returnthis.elementProperties.get(e)??Ai}static_$Ei(){if(this.hasOwnProperty(Wt("elementProperties")))return;lete=uu(this);e.finalize(),e.l!==void0&&(this.l=[...e.l]),this.elementProperties=newMap(e.elementProperties)}staticfinalize(){if(this.hasOwnProperty(Wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Wt("properties"))){lett=this.properties,n=[...lu(t),...cu(t)];for(letoofn)this.createProperty(o,t[o])}lete=this[Symbol.metadata];if(e!==null){lett=litPropertyMetadata.get(e);if(t!==void0)for(let[n,o]oft)this.elementProperties.set(n,o)}this._$Eh=newMap;for(let[t,n]ofthis.elementProperties){leto=this._$Eu(t,n);o!==void0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}staticfinalizeStyles(e){lett=[];if(Array.isArray(e)){letn=newSet(e.flat(1/0).reverse());for(letoofn)t.unshift(Or(o))}elsee!==void0&&t.push(Or(e));returnt}static_$Eu(e,t){letn=t.attribute;returnn===!1?void0:typeofn=="string"?n:typeofe=="string"?e.toLowerCase():void0}constructor(){super(),this._$Ep=void0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=newPromise(e=>this.enableUpdating=e),this._$AL=newMap,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=newSet).add(e),this.renderRoot!==void0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){lete=newMap,t=this.constructor.elementProperties;for(letnoft.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),deletethis[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){lete=this.shaLine truncated
{url}`,manual:"Anleitung",manual_more:"Mehr erfahren",feature_text_energy:"Energieteilchen fliegen in B\xF6gen von den Solarfeldern zum Wechselrichter, zwischen Haus, Akku, Netz und Verbrauchern \u2013 schneller und dichter, je mehr Strom flie\xDFt. Die Module funkeln mit ihrer Produktion, eine Glaskarte \xFCber dem Dach zeigt die Bilanz und wie autark das Haus gerade ist.",live_autarky:"autark",live_fold:"Karte verkleinern",live_unfold:"Karte aufklappen",live_day_hint:"Die letzten 24 Stunden: Solar (Fl\xE4che) und Verbrauch (Linie)",live_week_hint:"Die letzten 7 Tage: Sonne {solar} kWh, Verbrauch {use} kWh (gelb: Sonne, hell: Verbrauch)",live_days:"Tage",live_car_away:"Unterwegs",live_car_charging:"L\xE4dt",live_car_plugged:"Eingesteckt",live_car_lock:"Verriegeln",live_car_unlock:"Entriegeln",live_car_unlock_confirm:"{name} wirklich entriegeln?",live_car_climate:"Klimatisierung",live_car_charge:"Laden starten/stoppen",live_media_prev:"Zur\xFCck",live_media_playpause:"Abspielen/Pause",live_media_next:"Weiter",live_media_volume:"Lautst\xE4rke",live_car_device:"Auto (eine Entit\xE4t des Autos)",live_car_device_hint:"Ladestand, Reichweite, Laden, Stecker, Schloss und Klima findet NextFloor selbst am Ger\xE4t des Autos. Ohne Angabe nimmt es den Anwesenheitssensor des Stellplatzes.",live_car_departure_entity:"Abfahrtszeit (optional)",live_car_departure:"Abfahrt {time}",live_car_open:"Offen: {parts}",printer_printing:"druckt",printer_done:"fertig",printer_paused:"pausiert",printer_error:"Fehler",printer_idle:"bereit",printer_done_at:"fertig um {time}",printer_layer:"Schicht",printer_nozzle:"D\xFCse",printer_bed:"Bett",heatpump_heating:"heizt",heatpump_water:"macht Warmwasser",heatpump_cooling:"k\xFChlt",heatpump_defrost:"taut ab",heatpump_idle:"in Ruhe",heatpump_flow_return:"Vor- \u2192 R\xFCcklauf",heatpump_heat:"W\xE4rme",heatpump_power:"Strom",heatpump_outside:"au\xDFen",pack_missing_item:"M\xF6bel aus entferntem Pack",back_to_room:"Zur\xFCck zu {room}",back_to_floor:"Zur\xFCck zur Etage",hint_furniture:"Raum antippen, dann rechts ein M\xF6belst\xFCck w\xE4hlen \xB7 M\xF6bel ziehen, an den Ecken die Gr\xF6\xDFe \xE4ndern",furniture_into:"Neue M\xF6bel kommen in die Mitte von \u201E{room}\u201C.",furniture_pick_room:"Tipp: Erst einen Raum antippen \u2013 dann landen neue M\xF6bel in seiner Mitte.",flows:"Stromfluss",flows_hint:"Energieb\xF6gen zwischen Solarfeldern, Wechselrichter, Akku, Netz und Verbrauchern ein- oder ausblenden",chk_title:"Einrichtung",chk_hint:"Was der Energiefluss braucht. Antippen springt an die Stelle.",chk_solar:"Solarfeld angelegt",chk_solar_add:"Ein Solarfeld aufs Dach legen",chk_meter:"Stromz\xE4hler mit Netzsensor",chk_meter_sensor:"Stromz\xE4hler: Netzsensor (W) fehlt",chk_meter_add:"Stromz\xE4hler anlegen",chk_inverter:"Wechselrichter mit Leistungssensor",chk_inverter_sensor:"Wechselrichter: Leistungssensor fehlt",chk_inverter_add:"Wechselrichter anlegen",chk_battery:"Stromspeicher mit Leistung und Ladestand",chk_battery_sensor:"Stromspeicher: Leistung oder Ladestand fehlt",chk_battery_opt:"Stromspeicher (optional)",chk_grid:"Netzanschluss gesetzt",chk_grid_opt:"Netzanschluss (optional, sonst automatisch)",energy_sign_grid:"Das Haus zeigt Einspeisung, obwohl die Sonne nichts liefert. Der Netzsensor hat wahrscheinlich das umgekehrte Vorzeichen.",energy_sign_battery:"Der Speicher l\xE4dt ohne Sonne und ohne Netzbezug. Sein Sensor hat wahrscheinlich das umgekehrte Vorzeichen.",energy_sign_flip:"Vorzeichen umkehren",help_title:"Hilfe und R\xFCckmeldung",help_hint:"Fehler bitte als Issue auf GitHub, W\xFCnsche als Diskussion \u2013 so geht nichts verloren, und alle sehen den Stand.",help_issue:"Problem melden",help_idea:"Idee vorschlagen",furn_name:"Name (optional)",furn_mirror:"Spiegeln",furn_mirror_hint:"Links und rechts vertauschen \u2013 das L-Sofa andersherum, der Schrank mit der T\xFCr auf der anderen Seite, die K\xFCchenzeile gespiegelt.",hint_opening:"Auf eine Wand tippen, um eine T\xFCr oder ein Fenster einzusetzen \u2013 die Art w\xE4hlst du danach rechts",preset_door:"T\xFCr",preset_door_double:"Doppelt\xFCr",preset_window:"Fenster",preset_window_double:"Fenster 2-fl\xFCgelig",preset_terrace:"Terrassent\xFCr",preset_terrace_double:"Terrassent\xFCr 2-fl\xFCgelig",preset_lift_slide:"Hebe-Schiebet\xFCr",preset_garage:"Garagentor",preset_front:"Haust\xFCr",opening_style:"Stil",sidelight_auto:"automatisch",sidelight_hinge:"Seitenteil an der Anschlagseite",sidelight_hinge_hint:"Das Seitenteil sitzt sonst gegen\xFCber dem Anschlag; mit Haken neben den B\xE4ndern.",sidelight_width:"Breite Seitenteil (m)",sidelight_width_left:"Seitenteil links (m)",sidelight_width_right:"Seitenteil rechts (m)",style_auto:"Automatisch ({style})",style_interior:"Zimmert\xFCr",style_front:"Haust\xFCr",style_front_glass:"Haust\xFCr mit Glasausschnitt",style_sidelight:"Haust\xFCr mit Seitenteil",style_sidelights:"Haust\xFCr mit 2 Seitenteilen",style_glass:"Glast\xFCr",style_sliding:"Schiebet\xFCr",style_p
Line truncated
{url}`,manual:"Anleitung",manual_more:"Mehr erfahren",feature_text_energy:"Energieteilchen fliegen in B\xF6gen von den Solarfeldern zum Wechselrichter, zwischen Haus, Akku, Netz und Verbrauchern \u2013 schneller und dichter, je mehr Strom flie\xDFt. Die Module funkeln mit ihrer Produktion, eine Glaskarte \xFCber dem Dach zeigt die Bilanz und wie autark das Haus gerade ist.",live_autarky:"autark",live_fold:"Karte verkleinern",live_unfold:"Karte aufklappen",live_day_hint:"Die letzten 24 Stunden: Solar (Fl\xE4che) und Verbrauch (Linie)",live_week_hint:"Die letzten 7 Tage: Sonne {solar} kWh, Verbrauch {use} kWh (gelb: Sonne, hell: Verbrauch)",live_days:"Tage",live_car_away:"Unterwegs",live_car_charging:"L\xE4dt",live_car_plugged:"Eingesteckt",live_car_lock:"Verriegeln",live_car_unlock:"Entriegeln",live_car_unlock_confirm:"{name} wirklich entriegeln?",live_car_climate:"Klimatisierung",live_car_charge:"Laden starten/stoppen",live_media_prev:"Zur\xFCck",live_media_playpause:"Abspielen/Pause",live_media_next:"Weiter",live_media_volume:"Lautst\xE4rke",live_car_device:"Auto (eine Entit\xE4t des Autos)",live_car_device_hint:"Ladestand, Reichweite, Laden, Stecker, Schloss und Klima findet NextFloor selbst am Ger\xE4t des Autos. Ohne Angabe nimmt es den Anwesenheitssensor des Stellplatzes.",live_car_departure_entity:"Abfahrtszeit (optional)",live_car_departure:"Abfahrt {time}",live_car_open:"Offen: {parts}",printer_printing:"druckt",printer_done:"fertig",printer_paused:"pausiert",printer_error:"Fehler",printer_idle:"bereit",printer_done_at:"fertig um {time}",printer_layer:"Schicht",printer_nozzle:"D\xFCse",printer_bed:"Bett",heatpump_heating:"heizt",heatpump_water:"macht Warmwasser",heatpump_cooling:"k\xFChlt",heatpump_defrost:"taut ab",heatpump_idle:"in Ruhe",heatpump_flow_return:"Vor- \u2192 R\xFCcklauf",heatpump_heat:"W\xE4rme",heatpump_power:"Strom",heatpump_outside:"au\xDFen",pack_missing_item:"M\xF6bel aus entferntem Pack",back_to_room:"Zur\xFCck zu {room}",back_to_floor:"Zur\xFCck zur Etage",hint_furniture:"Raum antippen, dann rechts ein M\xF6belst\xFCck w\xE4hlen \xB7 M\xF6bel ziehen, an den Ecken die Gr\xF6\xDFe \xE4ndern",furniture_into:"Neue M\xF6bel kommen in die Mitte von \u201E{room}\u201C.",furniture_pick_room:"Tipp: Erst einen Raum antippen \u2013 dann landen neue M\xF6bel in seiner Mitte.",flows:"Stromfluss",flows_hint:"Energieb\xF6gen zwischen Solarfeldern, Wechselrichter, Akku, Netz und Verbrauchern ein- oder ausblenden",chk_title:"Einrichtung",chk_hint:"Was der Energiefluss braucht. Antippen springt an die Stelle.",chk_solar:"Solarfeld angelegt",chk_solar_add:"Ein Solarfeld aufs Dach legen",chk_meter:"Stromz\xE4hler mit Netzsensor",chk_meter_sensor:"Stromz\xE4hler: Netzsensor (W) fehlt",chk_meter_add:"Stromz\xE4hler anlegen",chk_inverter:"Wechselrichter mit Leistungssensor",chk_inverter_sensor:"Wechselrichter: Leistungssensor fehlt",chk_inverter_add:"Wechselrichter anlegen",chk_battery:"Stromspeicher mit Leistung und Ladestand",chk_battery_sensor:"Stromspeicher: Leistung oder Ladestand fehlt",chk_battery_opt:"Stromspeicher (optional)",chk_grid:"Netzanschluss gesetzt",chk_grid_opt:"Netzanschluss (optional, sonst automatisch)",energy_sign_grid:"Das Haus zeigt Einspeisung, obwohl die Sonne nichts liefert. Der Netzsensor hat wahrscheinlich das umgekehrte Vorzeichen.",energy_sign_battery:"Der Speicher l\xE4dt ohne Sonne und ohne Netzbezug. Sein Sensor hat wahrscheinlich das umgekehrte Vorzeichen.",energy_sign_flip:"Vorzeichen umkehren",help_title:"Hilfe und R\xFCckmeldung",help_hint:"Fehler bitte als Issue auf GitHub, W\xFCnsche als Diskussion \u2013 so geht nichts verloren, und alle sehen den Stand.",help_issue:"Problem melden",help_idea:"Idee vorschlagen",furn_name:"Name (optional)",furn_mirror:"Spiegeln",furn_mirror_hint:"Links und rechts vertauschen \u2013 das L-Sofa andersherum, der Schrank mit der T\xFCr auf der anderen Seite, die K\xFCchenzeile gespiegelt.",hint_opening:"Auf eine Wand tippen, um eine T\xFCr oder ein Fenster einzusetzen \u2013 die Art w\xE4hlst du danach rechts",preset_door:"T\xFCr",preset_door_double:"Doppelt\xFCr",preset_window:"Fenster",preset_window_double:"Fenster 2-fl\xFCgelig",preset_terrace:"Terrassent\xFCr",preset_terrace_double:"Terrassent\xFCr 2-fl\xFCgelig",preset_lift_slide:"Hebe-Schiebet\xFCr",preset_garage:"Garagentor",preset_front:"Haust\xFCr",opening_style:"Stil",sidelight_auto:"automatisch",sidelight_hinge:"Seitenteil an der Anschlagseite",sidelight_hinge_hint:"Das Seitenteil sitzt sonst gegen\xFCber dem Anschlag; mit Haken neben den B\xE4ndern.",sidelight_width:"Breite Seitenteil (m)",sidelight_width_left:"Seitenteil links (m)",sidelight_width_right:"Seitenteil rechts (m)",style_auto:"Automatisch ({style})",style_interior:"Zimmert\xFCr",style_front:"Haust\xFCr",style_front_glass:"Haust\xFCr mit Glasausschnitt",style_sidelight:"Haust\xFCr mit Seitenteil",style_sidelights:"Haust\xFCr mit 2 Seitenteilen",style_glass:"Glast\xFCr",style_sliding:"Schiebet\xFCr",style_p
Line truncated
{url}`,manual:"Manual",manual_more:"Learn more",feature_text_energy:"Energy particles fly in arcs from the solar fields to the inverter, between house, battery, grid and consumers \u2013 faster and denser the more power flows. The modules sparkle with their production, a glass card over the roof shows the balance and how self-sufficient the house is right now.",live_autarky:"self-sufficient",live_fold:"Make the card small",live_unfold:"Open the card",live_day_hint:"The last 24 hours: solar (area) and consumption (line)",live_week_hint:"The last 7 days: sun {solar} kWh, use {use} kWh (yellow: sun, light: use)",live_days:"days",live_car_away:"On the road",live_car_charging:"Charging",live_car_plugged:"Plugged in",live_car_lock:"Lock",live_car_unlock:"Unlock",live_car_unlock_confirm:"Really unlock {name}?",live_car_climate:"Climate",live_car_charge:"Start/stop charging",live_media_prev:"Previous",live_media_playpause:"Play/pause",live_media_next:"Next",live_media_volume:"Volume",live_car_device:"Car (any entity of the car)",live_car_device_hint:"Charge, range, charging, plug, lock and climate are found by NextFloor on the car's device. Without one it takes the spot's presence sensor.",live_car_departure_entity:"Departure time (optional)",live_car_departure:"Departs {time}",live_car_open:"Open: {parts}",printer_printing:"printing",printer_done:"done",printer_paused:"paused",printer_error:"error",printer_idle:"idle",printer_done_at:"done at {time}",printer_layer:"Layer",printer_nozzle:"Nozzle",printer_bed:"Bed",heatpump_heating:"heating",heatpump_water:"making hot water",heatpump_cooling:"cooling",heatpump_defrost:"defrosting",heatpump_idle:"resting",heatpump_flow_return:"Flow \u2192 return",heatpump_heat:"Heat",heatpump_power:"Power",heatpump_outside:"outside",pack_missing_item:"Furniture of a removed pack",back_to_room:"Back to {room}",back_to_floor:"Back to the floor",hint_furniture:"Tap a room, then pick an item on the right \xB7 drag items, resize them by their corners",furniture_into:"New items go into the middle of \u201C{room}\u201D.",furniture_pick_room:"Tip: tap a room first \u2013 new items then land in its middle.",flows:"Power flow",flows_hint:"Show or hide the energy arcs between solar fields, inverter, battery, grid and consumers",chk_title:"Setup",chk_hint:"What the energy flow needs. Tap a row to jump there.",chk_solar:"Solar field in place",chk_solar_add:"Put a solar field on the roof",chk_meter:"Meter with grid sensor",chk_meter_sensor:"Meter: grid sensor (W) missing",chk_meter_add:"Add the meter",chk_inverter:"Inverter with power sensor",chk_inverter_sensor:"Inverter: power sensor missing",chk_inverter_add:"Add an inverter",chk_battery:"Home battery with power and charge",chk_battery_sensor:"Home battery: power or charge missing",chk_battery_opt:"Home battery (optional)",chk_grid:"Grid connection set",chk_grid_opt:"Grid connection (optional, else automatic)",energy_sign_grid:"The house shows export while the sun produces nothing. The grid sensor probably has its sign reversed.",energy_sign_battery:"The battery charges with no sun and no grid draw. Its sensor probably has its sign reversed.",energy_sign_flip:"Flip the sign",help_title:"Help and feedback",help_hint:"Please report problems as a GitHub issue and wishes as a discussion \u2013 nothing gets lost, and everyone sees the state.",help_issue:"Report a problem",help_idea:"Propose an idea",furn_name:"Name (optional)",furn_mirror:"Mirror",furn_mirror_hint:"Swap left and right \u2013 the L-sofa the other way round, the cabinet with its door on the other side, the kitchen run mirrored.",hint_opening:"Tap a wall to add a door or window \u2013 choose its kind on the right afterwards",preset_door:"Door",preset_door_double:"Double door",preset_window:"Window",preset_window_double:"Double window",preset_terrace:"Terrace door",preset_terrace_double:"French doors",preset_lift_slide:"Lift-and-slide door",preset_garage:"Garage door",preset_front:"Front door",opening_style:"Style",sidelight_auto:"automatic",sidelight_hinge:"Sidelight on the hinge side",sidelight_hinge_hint:"The sidelight sits opposite the hinge otherwise; ticked, it sits next to the hinges.",sidelight_width:"Sidelight width (m)",sidelight_width_left:"Left sidelight (m)",sidelight_width_right:"Right sidelight (m)",style_auto:"Automatic ({style})",style_interior:"Room door",style_front:"Front door",style_front_glass:"Front door with glass",style_sidelight:"Front door with sidelight",style_sidelights:"Front door with two sidelights",style_glass:"Glass door",style_sliding:"Sliding door",style_passage:"Opening (no door)",style_standard:"Standard",style_bars:"With glazing bars",style_glass_wall:"Glass wall (fixed)",preset_glass_wall:"Glass wall",glass_panes:"Panes",glass_panes_auto:"automatic (about 0.9 m)",glass_panes_hint:"0 = one single pane without mullions, empty = about every 0.9 m",flip_hinge:"Swap hinge side",flip_main_leaf:"Swap main leaf",flip_hinge_hint:"Hinges to the other side"
Line truncated
{url}`,manual:"Manual",manual_more:"Learn more",feature_text_energy:"Energy particles fly in arcs from the solar fields to the inverter, between house, battery, grid and consumers \u2013 faster and denser the more power flows. The modules sparkle with their production, a glass card over the roof shows the balance and how self-sufficient the house is right now.",live_autarky:"self-sufficient",live_fold:"Make the card small",live_unfold:"Open the card",live_day_hint:"The last 24 hours: solar (area) and consumption (line)",live_week_hint:"The last 7 days: sun {solar} kWh, use {use} kWh (yellow: sun, light: use)",live_days:"days",live_car_away:"On the road",live_car_charging:"Charging",live_car_plugged:"Plugged in",live_car_lock:"Lock",live_car_unlock:"Unlock",live_car_unlock_confirm:"Really unlock {name}?",live_car_climate:"Climate",live_car_charge:"Start/stop charging",live_media_prev:"Previous",live_media_playpause:"Play/pause",live_media_next:"Next",live_media_volume:"Volume",live_car_device:"Car (any entity of the car)",live_car_device_hint:"Charge, range, charging, plug, lock and climate are found by NextFloor on the car's device. Without one it takes the spot's presence sensor.",live_car_departure_entity:"Departure time (optional)",live_car_departure:"Departs {time}",live_car_open:"Open: {parts}",printer_printing:"printing",printer_done:"done",printer_paused:"paused",printer_error:"error",printer_idle:"idle",printer_done_at:"done at {time}",printer_layer:"Layer",printer_nozzle:"Nozzle",printer_bed:"Bed",heatpump_heating:"heating",heatpump_water:"making hot water",heatpump_cooling:"cooling",heatpump_defrost:"defrosting",heatpump_idle:"resting",heatpump_flow_return:"Flow \u2192 return",heatpump_heat:"Heat",heatpump_power:"Power",heatpump_outside:"outside",pack_missing_item:"Furniture of a removed pack",back_to_room:"Back to {room}",back_to_floor:"Back to the floor",hint_furniture:"Tap a room, then pick an item on the right \xB7 drag items, resize them by their corners",furniture_into:"New items go into the middle of \u201C{room}\u201D.",furniture_pick_room:"Tip: tap a room first \u2013 new items then land in its middle.",flows:"Power flow",flows_hint:"Show or hide the energy arcs between solar fields, inverter, battery, grid and consumers",chk_title:"Setup",chk_hint:"What the energy flow needs. Tap a row to jump there.",chk_solar:"Solar field in place",chk_solar_add:"Put a solar field on the roof",chk_meter:"Meter with grid sensor",chk_meter_sensor:"Meter: grid sensor (W) missing",chk_meter_add:"Add the meter",chk_inverter:"Inverter with power sensor",chk_inverter_sensor:"Inverter: power sensor missing",chk_inverter_add:"Add an inverter",chk_battery:"Home battery with power and charge",chk_battery_sensor:"Home battery: power or charge missing",chk_battery_opt:"Home battery (optional)",chk_grid:"Grid connection set",chk_grid_opt:"Grid connection (optional, else automatic)",energy_sign_grid:"The house shows export while the sun produces nothing. The grid sensor probably has its sign reversed.",energy_sign_battery:"The battery charges with no sun and no grid draw. Its sensor probably has its sign reversed.",energy_sign_flip:"Flip the sign",help_title:"Help and feedback",help_hint:"Please report problems as a GitHub issue and wishes as a discussion \u2013 nothing gets lost, and everyone sees the state.",help_issue:"Report a problem",help_idea:"Propose an idea",furn_name:"Name (optional)",furn_mirror:"Mirror",furn_mirror_hint:"Swap left and right \u2013 the L-sofa the other way round, the cabinet with its door on the other side, the kitchen run mirrored.",hint_opening:"Tap a wall to add a door or window \u2013 choose its kind on the right afterwards",preset_door:"Door",preset_door_double:"Double door",preset_window:"Window",preset_window_double:"Double window",preset_terrace:"Terrace door",preset_terrace_double:"French doors",preset_lift_slide:"Lift-and-slide door",preset_garage:"Garage door",preset_front:"Front door",opening_style:"Style",sidelight_auto:"automatic",sidelight_hinge:"Sidelight on the hinge side",sidelight_hinge_hint:"The sidelight sits opposite the hinge otherwise; ticked, it sits next to the hinges.",sidelight_width:"Sidelight width (m)",sidelight_width_left:"Left sidelight (m)",sidelight_width_right:"Right sidelight (m)",style_auto:"Automatic ({style})",style_interior:"Room door",style_front:"Front door",style_front_glass:"Front door with glass",style_sidelight:"Front door with sidelight",style_sidelights:"Front door with two sidelights",style_glass:"Glass door",style_sliding:"Sliding door",style_passage:"Opening (no door)",style_standard:"Standard",style_bars:"With glazing bars",style_glass_wall:"Glass wall (fixed)",preset_glass_wall:"Glass wall",glass_panes:"Panes",glass_panes_auto:"automatic (about 0.9 m)",glass_panes_hint:"0 = one single pane without mullions, empty = about every 0.9 m",flip_hinge:"Swap hinge side",flip_main_leaf:"Swap main leaf",flip_hinge_hint:"Hinges to the other side"
Line truncated
:host{
:host{
--nf-text:var(--primary-text-color,#e1e1e1);
--nf-text:var(--primary-text-color,#e1e1e1);
--nf-muted:var(--secondary-text-color,#9b9b9b);
--nf-muted:var(--secondary-text-color,#9b9b9b);
@@ -35,7 +35,7 @@ A plugin runs with the same rights as NextFloor in your browser. The file has be
@@ -806,38 +807,38 @@ A plugin runs with the same rights as NextFloor in your browser. The file has be
outline:2pxsolidvar(--nf-accent);
outline:2pxsolidvar(--nf-accent);
outline-offset:2px;
outline-offset:2px;
}
}
`]};customElements.get("nf-room-panel")||customElements.define("nf-room-panel",Po);function il(r){if(!r)return"";let e=Math.min(.8,Math.max(0,r.dim??.35)),t=r.image&&/^(https:\/\/|\/local\/|\/api\/)[^"'()\\\s]+$/.test(r.image)?r.image:null,n=r.color&&/^#[0-9a-f]{6}$/i.test(r.color)?r.color:null;return t?`;background:linear-gradient(rgba(0,0,0,${e}),rgba(0,0,0,${e})),center/coverno-repeaturl("${t}")${n?`${n}`:""}`:n?`;background:${n}`:""}var Ch=[[/spotify/i,[30,215,96]],[/netflix/i,[229,9,20]],[/youtube/i,[255,0,51]],[/prime|amazon/i,[0,168,225]],[/disney/i,[17,60,207]],[/apple ?music|itunes/i,[250,45,72]],[/apple ?tv/i,[200,200,210]],[/plex/i,[229,160,13]],[/tidal/i,[0,255,255]],[/deezer/i,[162,56,255]],[/radio|tunein/i,[255,140,60]]],sl=[34,211,238];function Ho(r){return r?Ch.find(([e])=>e.test(r))?.[1]??sl:sl}function Io(r){if(r.state==="playing"||r.state==="paused")return!0;let e=t=>typeof r.attributes[t]=="string"&&r.attributes[t]!=="";return r.state==="on"&&(e("media_title")||e("media_channel")||e("source")||e("app_name"))}var Co=r=>r.state==="playing"||r.state==="on"&&Io(r);function al(r,e){let t=[],n=new Set;for(let o of e){if(!o.entity.startsWith("media_player.")||n.has(o.entity))continue;n.add(o.entity);let i=r.states[o.entity];if(!i)continue;let s=i.attributes,a=u=>typeof s[u]=="string"?s[u]:"",l=a("app_name")||a("source")||a("app_id")||null,c=typeof s.volume_level=="number"?s.volume_level:null;t.push({entity:o.entity,name:o.name,at:o.at,playing:Co(i),title:a("media_title")||a("media_channel")||l||"",artist:a("media_artist")||a("media_album_name")||a("media_series_title"),picture:a("entity_picture")||null,volume:c,color:Ho(l),app:l,group:Array.isArray(s.group_members)?s.group_members.filter(u=>typeof u=="string"&&u!==o.entity):[],rings:o.rings??1})}return t}function ll(r){let e=new Map(r.filter(o=>o.playing).map(o=>[o.entity,o])),t=[],n=new Set;for(let o of e.values())for(let i of o.group){let s=e.get(i),a=[o.entity,i].sort().join("|");s&&!n.has(a)&&(n.add(a),t.push([o,s]))}return t}var Nh=3;function cl(r,e,t){let n=[];for(let o of e.floors)for(let i of o.furniture){if(!i.type.endsWith(":sprinkler"))continue;let s=t?.get(i.id)?.entity??null;!s||!Q(r.states[s])||n.push({id:i.id,at:{floorId:o.id,x:i.x,y:ce(o,i)+i.h,z:i.z},reach:Math.min(15,Math.max(.5,i.spray??Nh))})}return n}var fr=r=>r&&r!=="none"?r:null,ul=r=>Math.min(1,Math.max(0,r));function dl(r,e){let t=new Map;for(let n of e.settings.roof?.windows??[]){let o=Re(r,{cover:fr(n.cover),contact:fr(n.contact),tilt:fr(n.tilt)},"window"),i=fr(n.window),s=i?r.states[i]:void 0,a=o.open;if(s&&!I(s)){let l=s.attributes.current_position;a=typeof l=="number"?ul(l/100):s.state==="open"||s.state==="opening"?1:0}t.set(n.id,{open:a,tilt:o.tilt,cover:o.cover??0})}return t}function Oh(r,e){let t=o=>Math.hypot(o.x-e.x,o.z-e.z);return r.placements.filter(o=>o.entity_id.startsWith("media_player.")&&t(o)<Math.max(2,e.w)).sort((o,i)=>t(o)-t(i))[0]?.entity_id??null}var Ge=(r,e)=>typeof r[e]=="string"?r[e]:"";function hl(r,e,t){let n=[];for(let o of e.floors)for(let i of o.furniture){if(!Zn(i.type))continue;let s=t?.get(i.id)?.entity??null,a=s?.startsWith("media_player.")?s:Oh(o,i),l=a?r.states[a]:void 0;if(!l||!Io(l))continue;let c=l.attributes,u=Ge(c,"app_name")||Ge(c,"source")||null;n.push({id:i.id,furnitureId:i.id,floorId:o.id,color:Ho(u),title:Ge(c,"media_title")||Ge(c,"media_channel")||u||"",subtitle:Ge(c,"media_artist")||Ge(c,"media_series_title")||Ge(c,"media_album_name"),app:u,picture:Ge(c,"entity_picture")||null,playing:Co(l),ambilight:i.ambilight??1})}return n}function pl(r){let e=r.states["sun.sun"]?.attributes;return typeof e?.elevation=="number"&&typeof e.azimuth=="number"?{elevation:e.elevation,azimuth:e.azimuth}:null}function ml(r,e){return(r===null?0:ul((r+4)/16))*(1-.45*e)}function Ue(r,e){return e&&r.states[e]?e:Object.keys(r.states).filter(t=>t.startsWith("weather.")).sort()[0]??null}var gr=new Set(["contact_lost","unlocked_night","own"]);function Wh(r,e){let t=r.states[e.entity];if(!t||["unavailable","unknown"].includes(t.state))return!1;let n=(e.state??"on").trim(),o=/^([<>])\s*(-?\d+(?:[.,]\d+)?)$/.exec(n);if(o){let i=Number(t.state),s=Number(o[2].replace(",","."));return Number.isFinite(i)&&(o[1]==="<"?i<s:i>s)}return n.split(",").map(i=>i.trim().toLowerCase()).filter(Boolean).includes(String(t.state).toLowerCase())}var Lh=600*1e3,Bh=new Set(["rainy","pouring","lightning-rainy","hail","snowy-rainy"]),Vh=new Map([["smoke","smoke"],["gas","gas"],["carbon_monoxide","co"],["moisture","water"]]),fl=(r,e)=>{if(e.startsWith("binary_sensor."))return Vh.get(String(r.states[e]?.attributes.device_class))};function Kh(r,e){let t=new Set,n=[];for(let o of r.floors)for(let i of o.openings){let s=e.get(i.id);for(let a of s?[s.contact,s.contact2,s.tilt,s.tilt2]:[])!a||t.has(a)||(t.add(a),n.push({floorId:o.id,roomId:i.room_id,entity:a}))}return n}function gl(r,e,t,n){let o=[];for(let a of e.floors)for(let l of a.rooms){let c=K(r,l).filter(u=>fl(r,u));
Line truncated
`]};customElements.get("nf-room-panel")||customElements.define("nf-room-panel",Wo);function dl(r){if(!r)return"";let e=Math.min(.8,Math.max(0,r.dim??.35)),t=r.image&&/^(https:\/\/|\/local\/|\/api\/)[^"'()\\\s]+$/.test(r.image)?r.image:null,n=r.color&&/^#[0-9a-f]{6}$/i.test(r.color)?r.color:null;return t?`;background:linear-gradient(rgba(0,0,0,${e}),rgba(0,0,0,${e})),center/coverno-repeaturl("${t}")${n?`${n}`:""}`:n?`;background:${n}`:""}var Gh=[[/spotify/i,[30,215,96]],[/netflix/i,[229,9,20]],[/youtube/i,[255,0,51]],[/prime|amazon/i,[0,168,225]],[/disney/i,[17,60,207]],[/apple ?music|itunes/i,[250,45,72]],[/apple ?tv/i,[200,200,210]],[/plex/i,[229,160,13]],[/tidal/i,[0,255,255]],[/deezer/i,[162,56,255]],[/radio|tunein/i,[255,140,60]]],hl=[34,211,238];function Oo(r){return r?Gh.find(([e])=>e.test(r))?.[1]??hl:hl}function Lo(r){if(r.state==="playing"||r.state==="paused")return!0;let e=t=>typeof r.attributes[t]=="string"&&r.attributes[t]!=="";return r.state==="on"&&(e("media_title")||e("media_channel")||e("source")||e("app_name"))}var Bo=r=>r.state==="playing"||r.state==="on"&&Lo(r);function pl(r,e){let t=[],n=new Set;for(let o of e){if(!o.entity.startsWith("media_player.")||n.has(o.entity))continue;n.add(o.entity);let i=r.states[o.entity];if(!i)continue;let s=i.attributes,a=u=>typeof s[u]=="string"?s[u]:"",l=a("app_name")||a("source")||a("app_id")||null,c=typeof s.volume_level=="number"?s.volume_level:null;t.push({entity:o.entity,name:o.name,at:o.at,playing:Bo(i),title:a("media_title")||a("media_channel")||l||"",artist:a("media_artist")||a("media_album_name")||a("media_series_title"),picture:a("entity_picture")||null,volume:c,color:Oo(l),app:l,group:Array.isArray(s.group_members)?s.group_members.filter(u=>typeof u=="string"&&u!==o.entity):[],rings:o.rings??1})}return t}function ml(r){let e=new Map(r.filter(o=>o.playing).map(o=>[o.entity,o])),t=[],n=new Set;for(let o of e.values())for(let i of o.group){let s=e.get(i),a=[o.entity,i].sort().join("|");s&&!n.has(a)&&(n.add(a),t.push([o,s]))}return t}var Uh=3;function fl(r,e,t){let n=[];for(let o of e.floors)for(let i of o.furniture){if(!i.type.endsWith(":sprinkler"))continue;let s=t?.get(i.id)?.entity??null;!s||!Q(r.states[s])||n.push({id:i.id,at:{floorId:o.id,x:i.x,y:ce(o,i)+i.h,z:i.z},reach:Math.min(15,Math.max(.5,i.spray??Uh))})}return n}var vr=r=>r&&r!=="none"?r:null,gl=r=>Math.min(1,Math.max(0,r));function _l(r,e){let t=new Map;for(let n of e.settings.roof?.windows??[]){let o=ze(r,{cover:vr(n.cover),contact:vr(n.contact),tilt:vr(n.tilt)},"window"),i=vr(n.window),s=i?r.states[i]:void 0,a=o.open;if(s&&!I(s)){let l=s.attributes.current_position;a=typeof l=="number"?gl(l/100):s.state==="open"||s.state==="opening"?1:0}t.set(n.id,{open:a,tilt:o.tilt,cover:o.cover??0})}return t}function jh(r,e){let t=o=>Math.hypot(o.x-e.x,o.z-e.z);return r.placements.filter(o=>o.entity_id.startsWith("media_player.")&&t(o)<Math.max(2,e.w)).sort((o,i)=>t(o)-t(i))[0]?.entity_id??null}var je=(r,e)=>typeof r[e]=="string"?r[e]:"";function bl(r,e,t){let n=[];for(let o of e.floors)for(let i of o.furniture){if(!Qn(i.type))continue;let s=t?.get(i.id)?.entity??null,a=s?.startsWith("media_player.")?s:jh(o,i),l=a?r.states[a]:void 0;if(!l||!Lo(l))continue;let c=l.attributes,u=je(c,"app_name")||je(c,"source")||null;n.push({id:i.id,furnitureId:i.id,floorId:o.id,color:Oo(u),title:je(c,"media_title")||je(c,"media_channel")||u||"",subtitle:je(c,"media_artist")||je(c,"media_series_title")||je(c,"media_album_name"),app:u,picture:je(c,"entity_picture")||null,playing:Bo(l),ambilight:i.ambilight??1})}return n}function vl(r){let e=r.states["sun.sun"]?.attributes;return typeof e?.elevation=="number"&&typeof e.azimuth=="number"?{elevation:e.elevation,azimuth:e.azimuth}:null}function wl(r,e){return(r===null?0:gl((r+4)/16))*(1-.45*e)}function qe(r,e){return e&&r.states[e]?e:Object.keys(r.states).filter(t=>t.startsWith("weather.")).sort()[0]??null}var wr=new Set(["contact_lost","unlocked_night","own"]);function qh(r,e){let t=r.states[e.entity];if(!t||["unavailable","unknown"].includes(t.state))return!1;let n=(e.state??"on").trim(),o=/^([<>])\s*(-?\d+(?:[.,]\d+)?)$/.exec(n);if(o){let i=Number(t.state),s=Number(o[2].replace(",","."));return Number.isFinite(i)&&(o[1]==="<"?i<s:i>s)}return n.split(",").map(i=>i.trim().toLowerCase()).filter(Boolean).includes(String(t.state).toLowerCase())}var Zh=600*1e3,Yh=new Set(["rainy","pouring","lightning-rainy","hail","snowy-rainy"]),Jh=new Map([["smoke","smoke"],["gas","gas"],["carbon_monoxide","co"],["moisture","water"]]),yl=(r,e)=>{if(e.startsWith("binary_sensor."))return Jh.get(String(r.states[e]?.attributes.device_class))};function Qh(r,e){let t=new Set,n=[];for(let o of r.floors)for(let i of o.openings){let s=e.get(i.id);for(let a of s?[s.contact,s.contact2,s.tilt,s.tilt2]:[])!a||t.has(a)||(t.add(a),n.push({floorId:o.id,roomId:i.room_id,entity:a}))}return n}function xl(r,e,t,n){let o=[];for(let a of e.floors)for(let l of a.rooms){let c=K(r,l).filter(u=>yl(r,u));
Line truncated
</div>`}syncDevices(e){let t=this.viewer,n=this.building;if(!t||!n||!this.hass)return;let o=this._travel,i=o&&!o.loading?At(this.hass,o.history,o.t):this.hass;if((e||!this.openingLinks||this.linkedRegistry!==i.entities)&&(this.openingLinks=rt(i,n.floors),this.furnitureLinks=ot(i,n.floors),this.linkedRegistry=i.entities,this.findIndex=null,this.alertSrc=this.alerts?gl(i,n,this.weatherEntityId,this.openingLinks):null,this.watched=Sl({hass:i,building:n,openingLinks:this.openingLinks,furnitureLinks:this.furnitureLinks,needsRoomSensors:this.heatMode!=="none"||this.roomLabels,alertSources:this.alertSrc,weatherEntityId:this.weatherEntityId}),e=!0),!(e||this.watched.some(v=>this.shownStates.get(v)!==i.states[v])))return;si(i,n).join(",")!==this.shownFor?.key&&t.setBuilding(this.shownBuilding(i)),this.shownStates=new Map(this.watched.map(v=>[v,i.states[v]])),this.refreshToday(n),this.refreshForecast(n);let a=en(i,n),l=ra(i,n.floors.some(v=>v.layer&&this.hiddenLayers.has(v.id))?this.shownBuilding(i):n);this.placementInfo=new Map(l.map(v=>[v.id,{floorId:v.floorId,roomId:v.roomId,x:v.x,z:v.z,y:v.y,rotation:v.rotation??0}]));let c=this.furnitureMarkers(i,n,new Set(l.map(v=>v.id)),new Set(a.map(v=>v.powerEntity)));a.push(...c.consumers);let u=tn(i,n,a,De(n,v=>this.furnitureLinks?.get(v.id)?.power??null)),h=new Map(a.filter(v=>v.id!==v.powerEntity).map(v=>[v.id,v.power]));this.confirmSet=it(i,n.floors);let p=new Set(this.liveCardsOn?this._liveCards.flatMap(v=>v.kind==="media"?[v.media.entity]:v.kind==="car"?[v.spot]:[]):[]);for(let v of n.floors)for(let k of v.outdoor??[]){if(!k.area_id&&!k.temp_entity&&!k.pump_entity)continue;let B=k.temp_entity?i.states[k.temp_entity]:void 0,z=k.pump_entity?i.states[k.pump_entity]:void 0,[W,de]=xe(k.points),qe=B&&Number.isFinite(Number(B.state))?`${O(i,oe(i,Kn(Number(B.state),B.attributes.unit_of_measurement)),1)} ${X(i)}`:"",ut=!!z&&Q(z);l.push({id:k.area_id?`outdoor:${k.id}`:k.pump_entity??k.temp_entity,floorId:v.id,roomId:null,x:W,z:de,y:Nn(v,k,W,de)+.7,icon:ke(k.type==="pool"?"pool":k.type==="terrace"?"table-chair":"tree-outline"),name:k.area_id&&i.areas?.[k.area_id]?.name||E(i,`out_${k.type}`),text:[qe,ut?E(i,"pool_pump_on"):""].filter(Boolean).join(" \xB7 "),active:ut,unavailable:!1,glow:null,show:"always"})}let d=new Map;for(let v of n.floors){for(let k of v.placements)k.pin_offset&&d.set(`${v.id}:${k.entity_id}`,k.pin_offset);for(let k of v.furniture)k.pin_offset&&d.set(`f:${k.id}`,k.pin_offset)}let g=v=>{let k=v.lamp?void 0:(v.furnitureId?d.get(`f:${v.furnitureId}`):void 0)??d.get(`${v.floorId}:${v.id}`);return k?{...v,x:v.x+(k.x??0),z:v.z+(k.z??0),y:v.y+(k.y??0)}:v};t.setDevices([...[...l,...c.markers].map(g).map(v=>{let k=v.show==="no_power"||"energyDevice"in v&&v.energyDevice?null:h.get(v.id)??null,B={...v,power:k,powerText:k===null?void 0:ae(i,k),effect:this.dimmed?void 0:v.effect,text:this.subMeterText(i,n,u,v.furnitureId)??v.text},z=v.ownName&&(v.showName||this.markerNames)?v.ownName:"",W=p.has(v.id)||!!v.furnitureId&&p.has(v.furnitureId);return{...B,pin:this.showPin(B)&&!W,full:v.show==="always",caption:z}})]),t.setPickTargets(c.targets,this.openingTargets(),this.secondBlinds()),t.setScreens(c.screens),t.setFridgeDoors(Ns(i,n.floors)),t.setCovers(Zs(i,n)),t.setRobots(this.robotInfos(i,n));let b=new Map;for(let v of n.floors)for(let k of v.furniture)!q(k.type)?.pet||!k.room_sensor||k.room_sensor==="none"||b.set(k.id,fo(i,v.rooms.filter(B=>B.points.length>=3),null,k.room_sensor)?.id??null);b.size&&t.setPetRooms(b),t.setRoofWindows(dl(i,n)),t.setParked(Lo(i,n)),t.setGateStates(zl(i,n));let _=new Map(n.floors.flatMap(v=>v.openings.map(k=>[k.id,k.type]))),w=new Map([...this.openingLinks].map(([v,k])=>[v,Re(i,k,_.get(v))]));t.setOpeningStates(w),this.setAlerts(this.alertSrc?No(i,n,this.alertSrc,this.openingLinks):[]),this.watchLostContacts(i);let S=[...l,...c.markers].map(v=>`${v.id}:${v.glow?`${v.glow.level.toFixed(1)}/${v.glow.color.map(k=>k.toFixed(1)).join("/")}`:0}`).join(";")+"|"+[...w].map(([v,k])=>`${v}:${k.open}:${k.cover===null?"-":k.cover.toFixed(1)}`).join(";");if(S!==this.thumbSig){letv=this.thumbSig==="";this.thumbSig=S,v||this.scheduleThumbs(1500)}letM=Gl(i,n,a,n.energy.advanced?v=>this.furnitureLinks?.get(v.id)?.power??null:void0),x=this.liveCars(i,n);for(letvofx){if(!v.car.home||!v.car.charging&&!v.car.plugged)continue;letk=n.floors.flatMap(W=>W.furniture.filter(de=>de.type==="wallbox").map(de=>({floorId:W.id,x:de.x,z:de.z,y:1}))).sort((W,de)=>Math.hypot(W.x-v.at.x,W.z-v.at.z)-Math.hypot(de.x-v.at.x,de.z-v.at.z))[0],B=k&&k.floorId===v.at.floorId&&Math.hypot(k.x-v.at.x,k.z-v.at.z)<9,z=k??pn(n);!z||!v.car.charging&&!B||M.arcs.push({key:`car:${v.spot}`,from:z,to:{...v.at,y:.8},power:v.car.charging?v.car.chargingW??7e3:0,color:[80,175,255],...B?{via:[{...z,y:.35},{floorId:v.at.floorId,x:(z.x+v.at.x)/2,z:(z.z+v.at.z)/2,y:.08},{...v.at,y:.5}],cable:!0}:{}})}lety=pn(n);for(letvofthis.liveHeatPumps(n)){letk=v.pump.heat??(v.pump.mode==="heating"||v.pumLine truncated
</div>`}syncDevices(e){let t=this.viewer,n=this.building;if(!t||!n||!this.hass)return;let o=this._travel,i=o&&!o.loading?Rt(this.hass,o.history,o.t):this.hass;if((e||!this.openingLinks||this.linkedRegistry!==i.entities)&&(this.openingLinks=Re(i,n.floors),this.furnitureLinks=it(i,n.floors),this.linkedRegistry=i.entities,this.findIndex=null,this.alertSrc=this.alerts?xl(i,n,this.weatherEntityId,this.openingLinks):null,this.watched=zl({hass:i,building:n,openingLinks:this.openingLinks,furnitureLinks:this.furnitureLinks,needsRoomSensors:this.heatMode!=="none"||this.roomLabels,alertSources:this.alertSrc,weatherEntityId:this.weatherEntityId}),e=!0),!(e||this.watched.some(w=>this.shownStates.get(w)!==i.states[w])))return;di(i,n).join(",")!==this.shownFor?.key&&t.setBuilding(this.shownBuilding(i)),this.shownStates=new Map(this.watched.map(w=>[w,i.states[w]])),this.refreshToday(n),this.refreshForecast(n);let a=rn(i,n),l=ca(i,n.floors.some(w=>w.layer&&this.hiddenLayers.has(w.id))?this.shownBuilding(i):n);this.placementInfo=new Map(l.map(w=>[w.id,{floorId:w.floorId,roomId:w.roomId,x:w.x,z:w.z,y:w.y,rotation:w.rotation??0}]));let c=this.furnitureMarkers(i,n,new Set(l.map(w=>w.id)),new Set(a.map(w=>w.powerEntity)));a.push(...c.consumers);let u=on(i,n,a,Pe(n,w=>this.furnitureLinks?.get(w.id)?.power??null)),h=new Map(a.filter(w=>w.id!==w.powerEntity).map(w=>[w.id,w.power]));this.confirmSet=st(i,n.floors);let p=new Set(this.liveCardsOn?this._liveCards.flatMap(w=>w.kind==="media"?[w.media.entity]:w.kind==="car"?[w.spot]:[]):[]);for(let w of n.floors)for(let x of w.outdoor??[]){if(!x.area_id&&!x.temp_entity&&!x.pump_entity)continue;let B=x.temp_entity?i.states[x.temp_entity]:void 0,T=x.pump_entity?i.states[x.pump_entity]:void 0,[L,de]=xe(x.points),Ye=B&&Number.isFinite(Number(B.state))?`${W(i,oe(i,jn(Number(B.state),B.attributes.unit_of_measurement)),1)} ${X(i)}`:"",ht=!!T&&Q(T);l.push({id:x.area_id?`outdoor:${x.id}`:x.pump_entity??x.temp_entity,floorId:w.id,roomId:null,x:L,z:de,y:Ln(w,x,L,de)+.7,icon:ke(x.type==="pool"?"pool":x.type==="terrace"?"table-chair":"tree-outline"),name:x.area_id&&i.areas?.[x.area_id]?.name||A(i,`out_${x.type}`),text:[Ye,ht?A(i,"pool_pump_on"):""].filter(Boolean).join(" \xB7 "),active:ht,unavailable:!1,glow:null,show:"always"})}let d=new Map;for(let w of n.floors){for(let x of w.placements)x.pin_offset&&d.set(`${w.id}:${x.entity_id}`,x.pin_offset);for(let x of w.furniture)x.pin_offset&&d.set(`f:${x.id}`,x.pin_offset)}let _=w=>{let x=w.lamp?void 0:(w.furnitureId?d.get(`f:${w.furnitureId}`):void 0)??d.get(`${w.floorId}:${w.id}`);return x?{...w,x:w.x+(x.x??0),z:w.z+(x.z??0),y:w.y+(x.y??0)}:w};t.setDevices([...[...l,...c.markers].map(_).map(w=>{let x=w.show==="no_power"||"energyDevice"in w&&w.energyDevice?null:h.get(w.id)??null,B={...w,power:x,powerText:x===null?void 0:ae(i,x),effect:this.dimmed?void 0:w.effect,text:this.subMeterText(i,n,u,w.furnitureId)??w.text},T=w.ownName&&(w.showName||this.markerNames)?w.ownName:"",L=p.has(w.id)||!!w.furnitureId&&p.has(w.furnitureId);return{...B,pin:this.showPin(B)&&!L,full:w.show==="always",caption:T}})]),t.setPickTargets(c.targets,this.openingTargets(),this.secondBlinds()),t.setScreens(c.screens),t.setFridgeDoors(Ks(i,n.floors)),t.setCovers(ta(i,n)),t.setRobots(this.robotInfos(i,n));let b=new Map;for(let w of n.floors)for(let x of w.furniture)!Z(x.type)?.pet||!x.room_sensor||x.room_sensor==="none"||b.set(x.id,wo(i,w.rooms.filter(B=>B.points.length>=3),null,x.room_sensor)?.id??null);b.size&&t.setPetRooms(b),t.setRoofWindows(_l(i,n)),t.setParked(Uo(i,n)),t.setGateStates(Il(i,n));let g=new Map(n.floors.flatMap(w=>w.openings.map(x=>[x.id,x.type]))),v=new Map([...this.openingLinks].map(([w,x])=>[w,ze(i,x,g.get(w))]));t.setOpeningStates(v),this.setAlerts(this.alertSrc?Vo(i,n,this.alertSrc,this.openingLinks):[]),this.watchLostContacts(i);let S=[...l,...c.markers].map(w=>`${w.id}:${w.glow?`${w.glow.level.toFixed(1)}/${w.glow.color.map(x=>x.toFixed(1)).join("/")}`:0}`).join(";")+"|"+[...v].map(([w,x])=>`${w}:${x.open}:${x.cover===null?"-":x.cover.toFixed(1)}`).join(";");if(S!==this.thumbSig){letw=this.thumbSig==="";this.thumbSig=S,w||this.scheduleThumbs(1500)}letk=Jl(i,n,a,n.energy.advanced?w=>this.furnitureLinks?.get(w.id)?.power??null:void0),y=this.liveCars(i,n);for(letwofy){if(!w.car.home||!w.car.charging&&!w.car.plugged)continue;letx=n.floors.flatMap(L=>L.furniture.filter(de=>de.type==="wallbox").map(de=>({floorId:L.id,x:de.x,z:de.z,y:1}))).sort((L,de)=>Math.hypot(L.x-w.at.x,L.z-w.at.z)-Math.hypot(de.x-w.at.x,de.z-w.at.z))[0],B=x&&x.floorId===w.at.floorId&&Math.hypot(x.x-w.at.x,x.z-w.at.z)<9,T=x??gn(n);!T||!w.car.charging&&!B||k.arcs.push({key:`car:${w.spot}`,from:T,to:{...w.at,y:.8},power:w.car.charging?w.car.chargingW??7e3:0,color:[80,175,255],...B?{via:[{...T,y:.35},{floorId:w.at.floorId,x:(T.x+w.at.x)/2,z:(T.z+w.at.z)/2,y:.08},{...w.at,y:.5}],cable:!0}:{}})}letz=gn(n);for(letwofthis.liveHeatPumps(n)){letx=w.pump.heat??(w.pump.mode==="heating"||w.pumLine truncated
climate_card_hint:"Zeigt Temperatur, Luftfeuchtigkeit und CO₂ über diesem Raum. In der 3D-Ansicht lassen sie sich über „Karten“ ein- und ausblenden.",
climate_card_hint:"Zeigt Temperatur, Luftfeuchtigkeit und CO₂ über diesem Raum. In der 3D-Ansicht lassen sie sich über „Karten“ ein- und ausblenden.",
climate_card_missing:"Keine aktuellen Messwerte",
climate_card_missing:"Keine aktuellen Messwerte",
climate_illuminance:"Helligkeit",
device_values:"Zusätzliche Werte",
device_value:"Datenpunkt",
device_value_add:"Wert hinzufügen",
device_value_remove:"Wert entfernen",
device_value_icon:"Symbol",
device_value_label:"Bezeichnung (optional)",
device_values_hint:"Über + weitere Datenpunkte auswählen, zum Beispiel mehrere Temperaturen oder andere Messwerte. Als Symbol eignen sich Emojis oder kurze Zeichen wie 🌡, 💧, ☁ oder ⚡. Die Werte erscheinen am Gerät und im Raumfenster.",
climate_card_hint:"Shows temperature, humidity and CO₂ over this room. Toggle them with “Cards” in the 3D view.",
climate_card_hint:"Shows temperature, humidity and CO₂ over this room. Toggle them with “Cards” in the 3D view.",
climate_card_missing:"No current readings",
climate_card_missing:"No current readings",
climate_illuminance:"Illuminance",
device_values:"Additional values",
device_value:"Data point",
device_value_add:"Add value",
device_value_remove:"Remove value",
device_value_icon:"Symbol",
device_value_label:"Label (optional)",
device_values_hint:"Use + to select additional data points, such as several temperatures or other readings. Symbols can be emoji or short characters such as 🌡, 💧, ☁ or ⚡. Values appear on the device and in the room panel.",
/** Fridges and freezers: a temperature sensor of the fridge (temp_entity) and one of the freezer compartment; the marker shows them and warns when too warm. Any other device: its own thermometer, shown on its pin (#112). */
/** Fridges and freezers: a temperature sensor of the fridge (temp_entity) and one of the freezer compartment; the marker shows them and warns when too warm. Any other device: its own thermometer, shown on its pin (#112). */
temp_entity?: string|null;
temp_entity?: string|null;
temp_entity2?: string|null;
temp_entity2?: string|null;
values?: DeviceValueLink[];
/** Smart fridge: door sensors of the left (freezer) and right (fridge) door; the doors open in 3D while they report open. */
/** Smart fridge: door sensors of the left (freezer) and right (fridge) door; the doors open in 3D while they report open. */
assert.equal(awaitpage.evaluate(()=>window.climateView.shadowRoot.querySelector(".live-climate-co2 span").textContent),"☁","CO2 uses a cloud symbol");
assert.equal(awaitpage.evaluate(()=>!!window.climateView.shadowRoot.querySelector(".live-card-house")),false,"climate cards do not require an energy meter");
assert.equal(awaitpage.evaluate(()=>!!window.climateView.shadowRoot.querySelector(".live-card-house")),false,"climate cards do not require an energy meter");
assert.equal(awaitpage.evaluate(()=>window.climateView.shadowRoot.querySelector(`.live-card[data-room="${window.compactRoomId}"]`).querySelectorAll(".live-row").length),1,"unlinked humidity and CO2 do not get rows");
assert.equal(awaitpage.evaluate(()=>[...window.climateView.shadowRoot.querySelectorAll(".live-card-roomclimate")].some((c)=>/Wohnzimmer|Küche|Temperatur|Luftfeuchte/.test(c.textContent))),false,"cards show no repeated room name or metric labels");
}),["light.42","cover.101","cover.102","cover.103",true,true],"native feedback selection and independent direction switches persist");
assert.equal(awaitpage.evaluate(()=>window.controlHass.states["cover.101"].attributes.current_position),80,"display follows inverted 0-255 feedback rather than the command value");
constset=(input,value)=>{if(!input)thrownewError("Expected control slider is missing");input.value=value;input.dispatchEvent(newEvent("change",{bubbles:true}));};
constset=(input,value)=>{if(!input)thrownewError("Expected control slider is missing");input.value=value;input.dispatchEvent(newEvent("change",{bubbles:true}));};
assert.equal(awaitpage.evaluate(()=>window.ed._doc.floors[0].placements.find((p)=>p.entity_id==="cover.101").cover_tilt),"cover.102","standalone blinds also expose the actual native slat picker");
assert.equal(awaitpage.evaluate(()=>window.ed._doc.floors[0].placements.find((p)=>p.entity_id==="cover.101").cover_tilt),"cover.102","standalone blinds also expose the actual native slat picker");
assert.equal(awaitpage.evaluate(()=>{constr=window.helpPopup.shadowRoot.querySelector("dialog").getBoundingClientRect();returnr.left>=0&&r.right<=innerWidth&&r.top>=0&&r.bottom<=innerHeight;}),true,"information popup fits a phone");
/*! NextFloor, MIT licence. Includes three.js (MIT) and Lit (BSD-3-Clause); see LICENSE and THIRD_PARTY_NOTICES.md */
/*! NextFloor, MIT licence. Includes three.js (MIT) and Lit (BSD-3-Clause); see LICENSE and THIRD_PARTY_NOTICES.md */
varp={cs:"4be67fcd522e",da:"0fe66a82bf2a",es:"bd89dffd1355",fi:"9a17bc084f56",fr:"6312d0f61ebf",hu:"27ba348531dc",it:"1b705e76dd00",nb:"c5ea24fb9ef6",nl:"b64142c67c2e",pl:"8527a4930402",pt:"31857a2d2277",ro:"e3cb5f449f0f",sk:"320611594db0",sl:"8071691ceda3",sv:"711b911ec8da",tr:"7c83ce1c3372",zh:"50518d9f494e"};varM=globalThis,N=M.ShadowRoot&&(M.ShadyCSS===void0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,V=Symbol(),me=newWeakMap,R=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==V)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}getstyleSheet(){lete=this.o,t=this.t;if(N&&e===void0){letn=t!==void0&&t.length===1;n&&(e=me.get(t)),e===void0&&((this.o=e=newCSSStyleSheet).replaceSync(this.cssText),n&&me.set(t,e))}returne}toString(){returnthis.cssText}},pe=i=>newR(typeofi=="string"?i:i+"",void0,V),U=(i,...e)=>{lett=i.length===1?i[0]:e.reduce((n,r,o)=>n+(a=>{if(a._$cssResult$===!0)returna.cssText;if(typeofa=="number")returna;throwError("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[o+1],i[0]);returnnewR(t,i,V)},fe=(i,e)=>{if(N)i.adoptedStyleSheets=e.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet);elsefor(lettofe){letn=document.createElement("style"),r=M.litNonce;r!==void0&&n.setAttribute("nonce",r),n.textContent=t.cssText,i.appendChild(n)}},j=N?i=>i:i=>iinstanceofCSSStyleSheet?(e=>{lett="";for(letnofe.cssRules)t+=n.cssText;returnpe(t)})(i):i;var{is:Ke,defineProperty:Ge,getOwnPropertyDescriptor:Oe,getOwnPropertyNames:Ie,getOwnPropertySymbols:Ze,getPrototypeOf:Ve}=Object,C=globalThis,ge=C.trustedTypes,Ue=ge?ge.emptyScript:"",je=C.reactiveElementPolyfillSupport,F=(i,e)=>i,q={toAttribute(i,e){switch(e){caseBoolean:i=i?Ue:null;break;caseObject:caseArray:i=i==null?i:JSON.stringify(i)}returni},fromAttribute(i,e){lett=i;switch(e){caseBoolean:t=i!==null;break;caseNumber:t=i===null?null:Number(i);break;caseObject:caseArray:try{t=JSON.parse(i)}catch{t=null}}returnt}},we=(i,e)=>!Ke(i,e),be={attribute:!0,type:String,converter:q,reflect:!1,useDefault:!1,hasChanged:we};Symbol.metadata??=Symbol("metadata"),C.litPropertyMetadata??=newWeakMap;varb=classextendsHTMLElement{staticaddInitializer(e){this._$Ei(),(this.l??=[]).push(e)}staticgetobservedAttributes(){returnthis.finalize(),this._$Eh&&[...this._$Eh.keys()]}staticcreateProperty(e,t=be){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){letn=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void0&&Ge(this.prototype,e,r)}}staticgetPropertyDescriptor(e,t,n){let{get:r,set:o}=Oe(this.prototype,e)??{get(){returnthis[t]},set(a){this[t]=a}};return{get:r,set(a){lets=r?.call(this);o?.call(this,a),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(e){returnthis.elementProperties.get(e)??be}static_$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;lete=Ve(this);e.finalize(),e.l!==void0&&(this.l=[...e.l]),this.elementProperties=newMap(e.elementProperties)}staticfinalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){lett=this.properties,n=[...Ie(t),...Ze(t)];for(letrofn)this.createProperty(r,t[r])}lete=this[Symbol.metadata];if(e!==null){lett=litPropertyMetadata.get(e);if(t!==void0)for(let[n,r]oft)this.elementProperties.set(n,r)}this._$Eh=newMap;for(let[t,n]ofthis.elementProperties){letr=this._$Eu(t,n);r!==void0&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}staticfinalizeStyles(e){lett=[];if(Array.isArray(e)){letn=newSet(e.flat(1/0).reverse());for(letrofn)t.unshift(j(r))}elsee!==void0&&t.push(j(e));returnt}static_$Eu(e,t){letn=t.attribute;returnn===!1?void0:typeofn=="string"?n:typeofe=="string"?e.toLowerCase():void0}constructor(){super(),this._$Ep=void0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=newPromise(e=>this.enableUpdating=e),this._$AL=newMap,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=newSet).add(e),this.renderRoot!==void0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){lete=newMap,t=this.constructor.elementProperties;for(letnoft.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),deletethis[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){lete=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);returnfe(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.Line truncated
varp={cs:"4be67fcd522e",da:"0fe66a82bf2a",es:"bd89dffd1355",fi:"9a17bc084f56",fr:"6312d0f61ebf",hu:"27ba348531dc",it:"1b705e76dd00",nb:"c5ea24fb9ef6",nl:"b64142c67c2e",pl:"8527a4930402",pt:"31857a2d2277",ro:"e3cb5f449f0f",sk:"320611594db0",sl:"8071691ceda3",sv:"711b911ec8da",tr:"7c83ce1c3372",zh:"50518d9f494e"};varM=globalThis,N=M.ShadowRoot&&(M.ShadyCSS===void0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,V=Symbol(),me=newWeakMap,R=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==V)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}getstyleSheet(){lete=this.o,t=this.t;if(N&&e===void0){letn=t!==void0&&t.length===1;n&&(e=me.get(t)),e===void0&&((this.o=e=newCSSStyleSheet).replaceSync(this.cssText),n&&me.set(t,e))}returne}toString(){returnthis.cssText}},pe=i=>newR(typeofi=="string"?i:i+"",void0,V),U=(i,...e)=>{lett=i.length===1?i[0]:e.reduce((n,r,o)=>n+(a=>{if(a._$cssResult$===!0)returna.cssText;if(typeofa=="number")returna;throwError("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[o+1],i[0]);returnnewR(t,i,V)},fe=(i,e)=>{if(N)i.adoptedStyleSheets=e.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet);elsefor(lettofe){letn=document.createElement("style"),r=M.litNonce;r!==void0&&n.setAttribute("nonce",r),n.textContent=t.cssText,i.appendChild(n)}},j=N?i=>i:i=>iinstanceofCSSStyleSheet?(e=>{lett="";for(letnofe.cssRules)t+=n.cssText;returnpe(t)})(i):i;var{is:Ke,defineProperty:Ge,getOwnPropertyDescriptor:Oe,getOwnPropertyNames:Ie,getOwnPropertySymbols:Ze,getPrototypeOf:Ve}=Object,C=globalThis,ge=C.trustedTypes,Ue=ge?ge.emptyScript:"",je=C.reactiveElementPolyfillSupport,F=(i,e)=>i,q={toAttribute(i,e){switch(e){caseBoolean:i=i?Ue:null;break;caseObject:caseArray:i=i==null?i:JSON.stringify(i)}returni},fromAttribute(i,e){lett=i;switch(e){caseBoolean:t=i!==null;break;caseNumber:t=i===null?null:Number(i);break;caseObject:caseArray:try{t=JSON.parse(i)}catch{t=null}}returnt}},we=(i,e)=>!Ke(i,e),be={attribute:!0,type:String,converter:q,reflect:!1,useDefault:!1,hasChanged:we};Symbol.metadata??=Symbol("metadata"),C.litPropertyMetadata??=newWeakMap;varb=classextendsHTMLElement{staticaddInitializer(e){this._$Ei(),(this.l??=[]).push(e)}staticgetobservedAttributes(){returnthis.finalize(),this._$Eh&&[...this._$Eh.keys()]}staticcreateProperty(e,t=be){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){letn=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void0&&Ge(this.prototype,e,r)}}staticgetPropertyDescriptor(e,t,n){let{get:r,set:o}=Oe(this.prototype,e)??{get(){returnthis[t]},set(a){this[t]=a}};return{get:r,set(a){lets=r?.call(this);o?.call(this,a),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(e){returnthis.elementProperties.get(e)??be}static_$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;lete=Ve(this);e.finalize(),e.l!==void0&&(this.l=[...e.l]),this.elementProperties=newMap(e.elementProperties)}staticfinalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){lett=this.properties,n=[...Ie(t),...Ze(t)];for(letrofn)this.createProperty(r,t[r])}lete=this[Symbol.metadata];if(e!==null){lett=litPropertyMetadata.get(e);if(t!==void0)for(let[n,r]oft)this.elementProperties.set(n,r)}this._$Eh=newMap;for(let[t,n]ofthis.elementProperties){letr=this._$Eu(t,n);r!==void0&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}staticfinalizeStyles(e){lett=[];if(Array.isArray(e)){letn=newSet(e.flat(1/0).reverse());for(letrofn)t.unshift(j(r))}elsee!==void0&&t.push(j(e));returnt}static_$Eu(e,t){letn=t.attribute;returnn===!1?void0:typeofn=="string"?n:typeofe=="string"?e.toLowerCase():void0}constructor(){super(),this._$Ep=void0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=newPromise(e=>this.enableUpdating=e),this._$AL=newMap,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=newSet).add(e),this.renderRoot!==void0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){lete=newMap,t=this.constructor.elementProperties;for(letnoft.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),deletethis[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){lete=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);returnfe(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.Line truncated
@@ -55,6 +55,7 @@ check($humidity['attributes']['device_class'] === 'humidity', 'Feuchtigkeit is r
check($humidity['attributes']['symcon_numeric_value']===51.6&&$humidity['attributes']['unit_of_measurement']==='%','Float humidity values keep their raw value and effective percent unit');
check($humidity['attributes']['symcon_numeric_value']===51.6&&$humidity['attributes']['unit_of_measurement']==='%','Float humidity values keep their raw value and effective percent unit');
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.