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

pull/8919/head
William Scanlon 2017-08-11 02:35:45 -04:00 committed by Paulus Schoutsen
parent 5814fdadd0
commit 08899ade00
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