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,7 +65,8 @@ class WinkToggleDevice(WinkDevice, ToggleEntity):
attributes = super(WinkToggleDevice, self).device_state_attributes
try:
event = self.wink.last_event()
attributes["last_event"] = event
if event is not None:
attributes["last_event"] = event
except AttributeError:
pass
return attributes

View file

@ -25,7 +25,7 @@ from homeassistant.const import (
from homeassistant.helpers.entity import Entity
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__)

View file

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