Skip to content

v3.6.4

Choose a tag to compare

@btli btli released this 05 Mar 00:37
f8d46cd

Fix: Water Heater Operation Mode Validation Error

Fixes #32

What changed

  • Removed state property override — newer Home Assistant versions mark WaterHeaterEntity.state as @final, deriving state from current_operation. The old override returned values not in operation_list, causing the validation error and blank tile card state.
  • Added WaterHeaterEntityFeature.ON_OFF — enables tile card toggle for turn on/off.
  • Added heating_status extra state attribute — preserves heating/idle distinction as "heating" or "idle" (accessible via state_attr() in automations).

Behavior

Scenario State heating_status
Heater off off not present
Actively heating Gas Heater heating
At setpoint Gas Heater idle

Migration notes

  • If you had automations checking state == "on" or state == "idle", update them to use state_attr('water_heater.xxx', 'heating_status') instead.
  • The tile card will now correctly show the heater name or "off" instead of a blank dot.