Bump PyXiaomiGateway version to 0.11.2 (#21453)
This commit is contained in:
parent
dc6fd780a9
commit
e119deafe5
3 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@ from homeassistant.helpers.entity import Entity
|
|||
from homeassistant.helpers.event import async_track_point_in_utc_time
|
||||
from homeassistant.util.dt import utcnow
|
||||
|
||||
REQUIREMENTS = ['PyXiaomiGateway==0.11.1']
|
||||
REQUIREMENTS = ['PyXiaomiGateway==0.11.2']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -99,8 +99,10 @@ class XiaomiGatewayLight(XiaomiDevice, Light):
|
|||
|
||||
if self._write_to_hub(self._sid, **{self._data_key: rgbhex}):
|
||||
self._state = True
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def turn_off(self, **kwargs):
|
||||
"""Turn the light off."""
|
||||
if self._write_to_hub(self._sid, **{self._data_key: 0}):
|
||||
self._state = False
|
||||
self.schedule_update_ha_state()
|
||||
|
|
|
@ -63,7 +63,7 @@ PySwitchbot==0.5
|
|||
PyTransportNSW==0.1.1
|
||||
|
||||
# homeassistant.components.xiaomi_aqara
|
||||
PyXiaomiGateway==0.11.1
|
||||
PyXiaomiGateway==0.11.2
|
||||
|
||||
# homeassistant.components.rpi_gpio
|
||||
# RPi.GPIO==0.6.5
|
||||
|
|
Loading…
Add table
Reference in a new issue