From 5ef7a8d55a53b197ed47bd73202cecc3f0adaffe Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 19 Jan 2018 14:04:54 +0200 Subject: [PATCH] Fix sensibo function names (#11797) --- homeassistant/components/climate/sensibo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/climate/sensibo.py b/homeassistant/components/climate/sensibo.py index 870e2db6b42..67113e7c48a 100644 --- a/homeassistant/components/climate/sensibo.py +++ b/homeassistant/components/climate/sensibo.py @@ -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(