Fix sensibo function names (#11797)

This commit is contained in:
Andrey 2018-01-19 14:04:54 +02:00 committed by Daniel Høyer Iversen
parent 2ca4bde06a
commit 5ef7a8d55a

View file

@ -294,14 +294,14 @@ class SensiboClimate(ClimateDevice):
self._id, 'swing', swing_mode, self._ac_states)
@asyncio.coroutine
def async_on(self):
def async_turn_on(self):
"""Turn Sensibo unit on."""
with async_timeout.timeout(TIMEOUT):
yield from self._client.async_set_ac_state_property(
self._id, 'on', True, self._ac_states)
@asyncio.coroutine
def async_off(self):
def async_turn_off(self):
"""Turn Sensibo unit on."""
with async_timeout.timeout(TIMEOUT):
yield from self._client.async_set_ac_state_property(