mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Check if temperature available in forecast (#9055)
This commit is contained in:
parent
ce2743a982
commit
df22fd00ca
@ -204,8 +204,10 @@ class MoreInfoWeather extends LitElement {
|
||||
`
|
||||
: ""}
|
||||
<div class="temp">
|
||||
${formatNumber(item.temperature, this.hass.locale)}
|
||||
${getWeatherUnit(this.hass, "temperature")}
|
||||
${this._showValue(item.temperature)
|
||||
? `${formatNumber(item.temperature, this.hass.locale)}
|
||||
${getWeatherUnit(this.hass, "temperature")}`
|
||||
: ""}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user