mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix sensibo function names (#11797)
This commit is contained in:
parent
2ca4bde06a
commit
5ef7a8d55a
@ -294,14 +294,14 @@ class SensiboClimate(ClimateDevice):
|
|||||||
self._id, 'swing', swing_mode, self._ac_states)
|
self._id, 'swing', swing_mode, self._ac_states)
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_on(self):
|
def async_turn_on(self):
|
||||||
"""Turn Sensibo unit on."""
|
"""Turn Sensibo unit on."""
|
||||||
with async_timeout.timeout(TIMEOUT):
|
with async_timeout.timeout(TIMEOUT):
|
||||||
yield from self._client.async_set_ac_state_property(
|
yield from self._client.async_set_ac_state_property(
|
||||||
self._id, 'on', True, self._ac_states)
|
self._id, 'on', True, self._ac_states)
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def async_off(self):
|
def async_turn_off(self):
|
||||||
"""Turn Sensibo unit on."""
|
"""Turn Sensibo unit on."""
|
||||||
with async_timeout.timeout(TIMEOUT):
|
with async_timeout.timeout(TIMEOUT):
|
||||||
yield from self._client.async_set_ac_state_property(
|
yield from self._client.async_set_ac_state_property(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user