mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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">
|
<div class="temp">
|
||||||
${formatNumber(item.temperature, this.hass.locale)}
|
${this._showValue(item.temperature)
|
||||||
${getWeatherUnit(this.hass, "temperature")}
|
? `${formatNumber(item.temperature, this.hass.locale)}
|
||||||
|
${getWeatherUnit(this.hass, "temperature")}`
|
||||||
|
: ""}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user