Workround for wemo subscription bug. (#7245)
This commit is contained in:
parent
cfc023e128
commit
6a8a656fef
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue