Workround for wemo subscription bug. (#7245)

This commit is contained in:
Greg Dowling 2017-04-24 07:18:43 +01:00 committed by Paulus Schoutsen
parent cfc023e128
commit 6a8a656fef
3 changed files with 4 additions and 2 deletions

View file

@ -76,6 +76,8 @@ class WemoSwitch(SwitchDevice):
@property
def should_poll(self):
"""No polling needed with subscriptions."""
if self._model_name == 'Insight':
return True
return False
@property

View file

@ -14,7 +14,7 @@ from homeassistant.helpers import config_validation as cv
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
REQUIREMENTS = ['pywemo==0.4.18']
REQUIREMENTS = ['pywemo==0.4.19']
DOMAIN = 'wemo'

View file

@ -679,7 +679,7 @@ pyvera==0.2.26
pywebpush==0.6.1
# homeassistant.components.wemo
pywemo==0.4.18
pywemo==0.4.19
# homeassistant.components.zabbix
pyzabbix==0.7.4