Python wink update (#15048)
* Updated python-wink to 1.9.0 * Added support for groups of Wink shades.pull/15072/head
parent
75580dfade
commit
6bc03ee763
|
@ -21,6 +21,10 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
_id = shade.object_id() + shade.name()
|
||||
if _id not in hass.data[DOMAIN]['unique_ids']:
|
||||
add_devices([WinkCoverDevice(shade, hass)])
|
||||
for shade in pywink.get_shade_groups():
|
||||
_id = shade.object_id() + shade.name()
|
||||
if _id not in hass.data[DOMAIN]['unique_ids']:
|
||||
add_devices([WinkCoverDevice(shade, hass)])
|
||||
for door in pywink.get_garage_doors():
|
||||
_id = door.object_id() + door.name()
|
||||
if _id not in hass.data[DOMAIN]['unique_ids']:
|
||||
|
|
|
@ -26,7 +26,7 @@ from homeassistant.helpers.entity_component import EntityComponent
|
|||
from homeassistant.helpers.event import track_time_interval
|
||||
from homeassistant.util.json import load_json, save_json
|
||||
|
||||
REQUIREMENTS = ['python-wink==1.8.0', 'pubnubsub-handler==1.0.2']
|
||||
REQUIREMENTS = ['python-wink==1.9.0', 'pubnubsub-handler==1.0.2']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -1098,7 +1098,7 @@ python-velbus==2.0.11
|
|||
python-vlc==1.1.2
|
||||
|
||||
# homeassistant.components.wink
|
||||
python-wink==1.8.0
|
||||
python-wink==1.9.0
|
||||
|
||||
# homeassistant.components.sensor.swiss_public_transport
|
||||
python_opendata_transport==0.1.3
|
||||
|
|
Loading…
Reference in New Issue