diff --git a/src/panels/lovelace/cards/hui-thermostat-card.ts b/src/panels/lovelace/cards/hui-thermostat-card.ts index c2f5f5fab4..792f68134f 100644 --- a/src/panels/lovelace/cards/hui-thermostat-card.ts +++ b/src/panels/lovelace/cards/hui-thermostat-card.ts @@ -47,6 +47,7 @@ const modeIcons = { interface Config extends LovelaceCardConfig { entity: string; theme?: string; + name?: string; } function formatTemp(temps: string[]): string { @@ -97,7 +98,8 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
-
${computeStateName(stateObj)}
+
${this._config.name || + computeStateName(stateObj)}
${stateObj.attributes.current_temperature}