mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Workround for wemo subscription bug. (#7245)
This commit is contained in:
parent
cfc023e128
commit
6a8a656fef
@ -76,6 +76,8 @@ class WemoSwitch(SwitchDevice):
|
|||||||
@property
|
@property
|
||||||
def should_poll(self):
|
def should_poll(self):
|
||||||
"""No polling needed with subscriptions."""
|
"""No polling needed with subscriptions."""
|
||||||
|
if self._model_name == 'Insight':
|
||||||
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -14,7 +14,7 @@ from homeassistant.helpers import config_validation as cv
|
|||||||
|
|
||||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||||
|
|
||||||
REQUIREMENTS = ['pywemo==0.4.18']
|
REQUIREMENTS = ['pywemo==0.4.19']
|
||||||
|
|
||||||
DOMAIN = 'wemo'
|
DOMAIN = 'wemo'
|
||||||
|
|
||||||
|
@ -679,7 +679,7 @@ pyvera==0.2.26
|
|||||||
pywebpush==0.6.1
|
pywebpush==0.6.1
|
||||||
|
|
||||||
# homeassistant.components.wemo
|
# homeassistant.components.wemo
|
||||||
pywemo==0.4.18
|
pywemo==0.4.19
|
||||||
|
|
||||||
# homeassistant.components.zabbix
|
# homeassistant.components.zabbix
|
||||||
pyzabbix==0.7.4
|
pyzabbix==0.7.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user