=2?i:n}function wc(r){return r===null?"#8aa0c8":r<20?"#f87171":r<50?"#facc15":"#4ade80"}function Me(r,e){let t=Math.abs(e);return t>=1e3?`${O(r,t/1e3,t>=1e4?1:2)} kW`:`${Math.round(t)} W`}function wn(r,e){let n=2*Math.PI*22;return p``}function hp(r,e,t,n){let o=e.summary,i=c=>M(r,c),s=e.autarky,a=n?p``:f;if(n?.folded){let c=o.solar!==null?`\u2600 ${Me(r,o.solar)}`:o.consumption!==null?`\u2302 ${Me(r,o.consumption)}`:null;return p`
@@ -3370,10 +3370,17 @@ A plugin runs with the same rights as NextFloor in your browser. The file has be
white-space: nowrap;
}
.nf-mark {
+ flex: none;
width: 26px;
height: 28px;
color: var(--nf-accent);
}
+ .nf-view-title {
+ min-width: 0;
+ max-width: min(340px, 45vw);
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
.nf-notices {
display: grid;
gap: 6px;
@@ -3858,15 +3865,15 @@ A plugin runs with the same rights as NextFloor in your browser. The file has be
- `}async reloadVariables(){if(!(this._variablesLoading||!this.hass.symconRefresh)){this._variablesLoading=!0,this._variablesNotice="",this._variablesError=!1;try{await this.hass.symconRefresh(),this._variablesNotice=this.t("symcon_variables_loaded")}catch(e){this._variablesError=!0,this._variablesNotice=this.t("symcon_variables_error",{error:e instanceof Error?e.message:String(e)})}finally{this._variablesLoading=!1}}}renderHeader(e){let t=this.data.saveState,n=(i,s,a="")=>p``,o=t==="saving"?"saving":t==="saved"?"saved":"save_error";return p`