v3.6.4
Fix: Water Heater Operation Mode Validation Error
Fixes #32
What changed
- Removed
stateproperty override — newer Home Assistant versions markWaterHeaterEntity.stateas@final, deriving state fromcurrent_operation. The old override returned values not inoperation_list, causing the validation error and blank tile card state. - Added
WaterHeaterEntityFeature.ON_OFF— enables tile card toggle for turn on/off. - Added
heating_statusextra state attribute — preserves heating/idle distinction as"heating"or"idle"(accessible viastate_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"orstate == "idle", update them to usestate_attr('water_heater.xxx', 'heating_status')instead. - The tile card will now correctly show the heater name or "off" instead of a blank dot.