Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom_components/intellicenter/water_heater.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def unique_id(self):
@property
def supported_features(self):
"""Return the list of supported features."""
return WaterHeaterEntityFeature.TARGET_TEMPERATURE | WaterHeaterEntityFeature.OPERATION_MODE
return WaterHeaterEntityFeature.TARGET_TEMPERATURE | WaterHeaterEntityFeature.OPERATION_MODE | WaterHeaterEntityFeature.ON_OFF

@property
def temperature_unit(self):
Expand Down Expand Up @@ -186,6 +186,7 @@ async def async_turn_on(self) -> None:
if self._lastHeater != NULL_OBJNAM
else self._heater_list[0]
)
self.requestChanges({self._attribute_key: self._poolObject.onStatus})
self.requestChanges({HEATER_ATTR: heater})

async def async_turn_off(self) -> None:
Expand Down