Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
🐛 Fix on/off switch for Heatzy Pilote v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramloc committed Feb 4, 2019
1 parent 45baa43 commit f96f3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions climate/heatzy/pilote_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ async def async_set_operation_mode(self, operation_mode):

async def async_turn_on(self):
"""Turn device on."""
await self._api.async_set_operation_mode(STATE_HEAT)
await self.async_set_operation_mode(STATE_HEAT)

async def async_turn_off(self):
"""Turn device off."""
await self._api.async_set_operation_mode(STATE_OFF)
await self.async_set_operation_mode(STATE_OFF)

async def async_update(self):
"""Retrieve latest state."""
Expand Down

0 comments on commit f96f3f5

Please sign in to comment.