Workround for wemo subscription bug. (#7245)

This commit is contained in:
Greg Dowling authored and Paulus Schoutsen committed 2017-04-24 20:35:59 -07:00
1 parent c8404cb299
commit 6c594e20f6
3 files changed
+4 -2

No files matched your search

+2
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
+1 -1
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'
+1 -1
View File
@@ -678,7 +678,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