diff --git a/src/dialogs/more-info/controls/more-info-weather.ts b/src/dialogs/more-info/controls/more-info-weather.ts index 323f327fd0..06f01bf681 100644 --- a/src/dialogs/more-info/controls/more-info-weather.ts +++ b/src/dialogs/more-info/controls/more-info-weather.ts @@ -204,8 +204,10 @@ class MoreInfoWeather extends LitElement { ` : ""}
- ${formatNumber(item.temperature, this.hass.locale)} - ${getWeatherUnit(this.hass, "temperature")} + ${this._showValue(item.temperature) + ? `${formatNumber(item.temperature, this.hass.locale)} + ${getWeatherUnit(this.hass, "temperature")}` + : ""}
`;