Upgrade pytradfri to 1.1 (#7290)
parent
66a63b983e
commit
fb297981af
|
@ -129,7 +129,8 @@ class Tradfri(Light):
|
|||
"""Fetch new state data for this light."""
|
||||
self._light.update()
|
||||
|
||||
# Handle Hue lights paired with the gatway
|
||||
if self._light_data.hex_color is not None:
|
||||
# Handle Hue lights paired with the gateway
|
||||
# hex_color is 0 when bulb is unreachable
|
||||
if self._light_data.hex_color not in (None, '0'):
|
||||
self._rgb_color = color_util.rgb_hex_to_rgb_list(
|
||||
self._light_data.hex_color)
|
||||
|
|
|
@ -21,7 +21,7 @@ DOMAIN = 'tradfri'
|
|||
CONFIG_FILE = 'tradfri.conf'
|
||||
KEY_CONFIG = 'tradfri_configuring'
|
||||
KEY_GATEWAY = 'tradfri_gateway'
|
||||
REQUIREMENTS = ['pytradfri==1.0']
|
||||
REQUIREMENTS = ['pytradfri==1.1']
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema({
|
||||
DOMAIN: vol.Schema({
|
||||
|
|
|
@ -664,7 +664,7 @@ python-wink==1.2.3
|
|||
pytrackr==0.0.5
|
||||
|
||||
# homeassistant.components.tradfri
|
||||
pytradfri==1.0
|
||||
pytradfri==1.1
|
||||
|
||||
# homeassistant.components.device_tracker.unifi
|
||||
pyunifi==2.0
|
||||
|
|
Loading…
Reference in New Issue