Workround for wemo subscription bug. (#7245)

This commit is contained in:
Greg Dowling authored and Paulus Schoutsen committed 2017-04-23 23:18:43 -07:00
1 parent cfc023e128
commit 6a8a656fef
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'