Skip to content

Commit

Permalink
Merge pull request #8 from ishioni/fix-executor
Browse files Browse the repository at this point in the history
fix call to executor
  • Loading branch information
atxbyea authored Oct 6, 2020
2 parents 5ec7302 + 24bd214 commit e735969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/climate_ip/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def state_attributes(self):
async def async_update(self):
time.sleep(self._update_delay)
_LOGGER.info("async_update")
await self.hass.async_add_executor_job(self.rac.update_state())
await self.hass.async_add_executor_job(self.rac.update_state)

@property
def temperature_unit(self):
Expand Down

0 comments on commit e735969

Please sign in to comment.