diff --git a/src/dialogs/more-info/controls/more-info-water_heater.ts b/src/dialogs/more-info/controls/more-info-water_heater.ts index d34de2195b..99269b6e2c 100644 --- a/src/dialogs/more-info/controls/more-info-water_heater.ts +++ b/src/dialogs/more-info/controls/more-info-water_heater.ts @@ -119,11 +119,19 @@ class MoreInfoWaterHeater extends LitElement { slot="graphic" .path=${mdiAccountArrowRight} > - ${this.hass.localize("state.default.on")} + ${this.hass.formatEntityAttributeValue( + stateObj, + "away_mode", + "on" + )} - ${this.hass.localize("state.default.off")} + ${this.hass.formatEntityAttributeValue( + stateObj, + "away_mode", + "off" + )} ` diff --git a/src/translations/en.json b/src/translations/en.json index 216a557636..0a8d9c6ed7 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -15,8 +15,6 @@ }, "state": { "default": { - "on": "On", - "off": "Off", "unknown": "Unknown", "unavailable": "Unavailable" }