Update python-wink version to fix Dome water valve bug. (#8923)

This commit is contained in:
William Scanlon 2017-08-11 02:35:45 -04:00 committed by Fabian Affolter
parent ff3a4637a4
commit d427063acd
3 changed files with 4 additions and 3 deletions

View File

@ -65,6 +65,7 @@ class WinkToggleDevice(WinkDevice, ToggleEntity):
attributes = super(WinkToggleDevice, self).device_state_attributes attributes = super(WinkToggleDevice, self).device_state_attributes
try: try:
event = self.wink.last_event() event = self.wink.last_event()
if event is not None:
attributes["last_event"] = event attributes["last_event"] = event
except AttributeError: except AttributeError:
pass pass

View File

@ -25,7 +25,7 @@ from homeassistant.const import (
from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity import Entity
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['python-wink==1.4.2', 'pubnubsub-handler==1.0.2'] REQUIREMENTS = ['python-wink==1.5.1', 'pubnubsub-handler==1.0.2']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -775,7 +775,7 @@ python-velbus==2.0.11
python-vlc==1.1.2 python-vlc==1.1.2
# homeassistant.components.wink # homeassistant.components.wink
python-wink==1.4.2 python-wink==1.5.1
# homeassistant.components.zwave # homeassistant.components.zwave
python_openzwave==0.4.0.31 python_openzwave==0.4.0.31