Fix more info weather forecast (#17747)

This commit is contained in:
karwosts 2023-08-31 00:42:57 -07:00 committed by GitHub
parent 63c3d6406d
commit cfb698d0a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>