@@ -1010,28 +1010,28 @@ export class HeliosCard extends LitElement
10101010 if ( ! showTemperature ( this . config ) || ! isFinite ( this . _temperature ) ) { return nothing ; }
10111011 //When a day curve is up, only the active chip is visible; the other stays in the DOM as an invisible
10121012 //placeholder so the visible chip keeps its slot (the centered row must not shift when its sibling drops).
1013- const dimmed = this . _dayCurveOpen && this . _chartTarget !== 'temperature' ;
1014- return this . _cornerChip ( 'temperature' , `${ this . _temperature . toFixed ( 1 ) } °C` , dimmed ) ;
1013+ const hidden = this . _dayCurveOpen && this . _chartTarget !== 'temperature' ;
1014+ return this . _cornerChip ( 'temperature' , `${ this . _temperature . toFixed ( 1 ) } °C` , hidden ) ;
10151015 }
10161016 private _renderHumidityChip ( ) : TemplateResult | typeof nothing
10171017 {
10181018 if ( ! showHumidity ( this . config ) || ! isFinite ( this . _humidity ) ) { return nothing ; }
1019- const dimmed = this . _dayCurveOpen && this . _chartTarget !== 'humidity' ;
1020- return this . _cornerChip ( 'humidity' , `${ Math . round ( this . _humidity ) } %` , dimmed ) ;
1019+ const hidden = this . _dayCurveOpen && this . _chartTarget !== 'humidity' ;
1020+ return this . _cornerChip ( 'humidity' , `${ Math . round ( this . _humidity ) } %` , hidden ) ;
10211021 }
1022- private _cornerChip ( slot : 'temperature' | 'humidity' | 'cost' , text : string , dimmed : boolean ) : TemplateResult
1022+ private _cornerChip ( slot : 'temperature' | 'humidity' | 'cost' , text : string , hidden : boolean ) : TemplateResult
10231023 {
10241024 const color = chipSlotColor ( this , this . config , slot ) ;
10251025 const icon = chipSlotIcon ( this . config , slot ) ;
10261026 //Same re-targeting gesture as the scene chips: one tap points the chart + around-house curve at this
10271027 //metric, a second tap on the active chip toggles its day curve (onChartTargetClick).
10281028 const active = this . _chartTarget === slot ;
10291029 const curveOn = active && this . _dayCurveOpen ;
1030- //A dimmed chip carries is-slot-hidden (visibility:hidden): it reserves its width but is automatically
1030+ //A hidden chip carries is-slot-hidden (visibility:hidden): it reserves its width but is automatically
10311031 //inert, unfocusable and out of the a11y tree, so role/tabindex/click can stay static.
10321032 return html `
10331033 < div
1034- class ="helios-corner-chip ${ active ? 'is-chart-active' : '' } ${ curveOn ? 'is-curve-on' : '' } ${ dimmed ? 'is-slot-hidden' : '' } "
1034+ class ="helios-corner-chip ${ active ? 'is-chart-active' : '' } ${ curveOn ? 'is-curve-on' : '' } ${ hidden ? 'is-slot-hidden' : '' } "
10351035 style =${ `--chip-color:${ color } ` }
10361036 role ="button"
10371037 tabindex="0"
@@ -1043,22 +1043,22 @@ export class HeliosCard extends LitElement
10431043 </ div > ` ;
10441044 }
10451045
1046- //Cost chip (2026.9.0) : the live NET money rate in the user's currency per hour. Fixed, user-configurable colour
1046+ //Cost chip: the live NET money rate in the user's currency per hour. Fixed, user-configurable colour
10471047 //+ icon like every other chip (no sign-driven colour); spend vs earn is carried by the value's sign (a negative
10481048 //rate means you are earning). Tap it like any chip to bring up its cost curve. Hidden when turned off or when no
10491049 //cost is configured (no resolvable rate).
10501050 private _renderCostChip ( ) : TemplateResult | typeof nothing
10511051 {
10521052 if ( ! showCost ( this . config ) || this . _costRate === null ) { return nothing ; }
1053- const dimmed = this . _dayCurveOpen && this . _chartTarget !== 'cost' ;
1053+ const hidden = this . _dayCurveOpen && this . _chartTarget !== 'cost' ;
10541054 const val = this . _costRate
10551055 . toLocaleString ( undefined , { minimumFractionDigits : 2 , maximumFractionDigits : 2 } ) ;
1056- return this . _cornerChip ( 'cost' , `${ val } ${ this . _currency } /h` , dimmed ) ;
1056+ return this . _cornerChip ( 'cost' , `${ val } ${ this . _currency } /h` , hidden ) ;
10571057 }
10581058
10591059 //Push the resolved weather onto the host as --wx-* vars (scene grade + overlay strengths) and drive the
1060- //rain/snow/storm controllers. Source is the live/scrub weather, or the dev-console override when set. The sun
1061- //glow is anchored on the real sun position and gated on daylight.
1060+ //rain/snow/storm controllers. Source is the resolved live/scrub weather (any local sensor overrides are
1061+ //already folded in upstream). The sun glow is anchored on the real sun position and gated on daylight.
10621062 private _applyWeather ( ) : void
10631063 {
10641064 this . toggleAttribute ( 'data-wx-on' , this . _wxOn ) ;
@@ -1094,8 +1094,8 @@ export class HeliosCard extends LitElement
10941094 //"No UI" mode: reflect the faded state onto the host so the CSS fades the timeline + controls.
10951095 this . toggleAttribute ( 'data-ui-hidden' , this . _uiHidden ) ;
10961096
1097- //"Your real sky": recompute the weather layers whenever the resolved weather, the master switch, the sun
1098- //(glow anchor + day/night) or the dev-console override changes.
1097+ //"Your real sky": recompute the weather layers whenever the resolved weather, the master switch or the sun
1098+ //(glow anchor + day/night) changes.
10991099 if ( _changedProperties . has ( '_cloudCover' ) || _changedProperties . has ( '_precip' )
11001100 || _changedProperties . has ( '_snowfall' ) || _changedProperties . has ( '_weatherCode' )
11011101 || _changedProperties . has ( '_wxOn' ) || _changedProperties . has ( '_sunScene' )
0 commit comments