Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-w committed Apr 21, 2024
1 parent 4d3f890 commit ad3af20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom_components/emerald_hws/water_heater.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,13 @@ async def async_turn_off(self):
#await self._emerald_hws.turnOff(self._hws_uuid)

def update_callback(self):
"""Schedules an update within HASS
"""
"""Schedules an update within HASS."""
_LOGGER.info("emeraldhws: callback called")
self.schedule_update_ha_state()

def update(self):
"""Update with values from HWS."""
_LOGGER.info(f"emeraldhws: updating internal state from module")
_LOGGER.info("emeraldhws: updating internal state from module")
state = self._emerald_hws.getFullStatus(self._hws_uuid)

if state is not None:
Expand Down

0 comments on commit ad3af20

Please sign in to comment.