Skip to content

Commit

Permalink
Merge pull request #7 from gdgib/HeaterOperationMode
Browse files Browse the repository at this point in the history
Report the operation mode for water heaters
  • Loading branch information
gdgib authored May 25, 2024
2 parents c0485d8 + d2bd4d3 commit 475e28e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/intellicenter/water_heater.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def set_temperature(self, **kwargs):
self.requestChanges({LOTMP_ATTR: str(int(target_temperature))})

@property
def current_operation(self):
"""Return current operation."""
def operation_mode(self):
"""Return operation mode."""
heater = self._poolObject[HEATER_ATTR]
if heater in self._heater_list:
return self._controller.model[heater].sname
Expand Down

0 comments on commit 475e28e

Please sign in to comment.