mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix more info weather forecast (#17747)
This commit is contained in:
parent
63c3d6406d
commit
cfb698d0a6
@ -252,7 +252,8 @@ class MoreInfoWeather extends LitElement {
|
|||||||
${this._showValue(item.templow)
|
${this._showValue(item.templow)
|
||||||
? this.hass.formatEntityAttributeValue(
|
? this.hass.formatEntityAttributeValue(
|
||||||
this.stateObj!,
|
this.stateObj!,
|
||||||
"templow"
|
"templow",
|
||||||
|
item.templow
|
||||||
)
|
)
|
||||||
: hourly
|
: hourly
|
||||||
? ""
|
? ""
|
||||||
@ -262,7 +263,8 @@ class MoreInfoWeather extends LitElement {
|
|||||||
${this._showValue(item.temperature)
|
${this._showValue(item.temperature)
|
||||||
? this.hass.formatEntityAttributeValue(
|
? this.hass.formatEntityAttributeValue(
|
||||||
this.stateObj!,
|
this.stateObj!,
|
||||||
"temperature"
|
"temperature",
|
||||||
|
item.temperature
|
||||||
)
|
)
|
||||||
: "—"}
|
: "—"}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user