diff --git a/src/panels/lovelace/cards/hui-thermostat-card.ts b/src/panels/lovelace/cards/hui-thermostat-card.ts index b072ef5561..2619009369 100644 --- a/src/panels/lovelace/cards/hui-thermostat-card.ts +++ b/src/panels/lovelace/cards/hui-thermostat-card.ts @@ -93,12 +93,15 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
${computeStateName(stateObj)}
- ${ - stateObj.attributes.current_temperature - } - ${ - this.hass.config.unit_system.temperature - } + + ${stateObj.attributes.current_temperature} + ${ + stateObj.attributes.current_temperature + ? html`${ + this.hass.config.unit_system.temperature + }` + : "" + }