mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 16:15:08 +02:00
Merge pull request #867 from persandstrom/verisure_fix_lost_connection
Verisure fix lost connection
This commit is contained in:
@@ -67,7 +67,7 @@ class VerisureAlarm(alarm.AlarmControlPanel):
|
|||||||
self._state = STATE_ALARM_DISARMED
|
self._state = STATE_ALARM_DISARMED
|
||||||
elif verisure.ALARM_STATUS[self._id].status == 'armedhome':
|
elif verisure.ALARM_STATUS[self._id].status == 'armedhome':
|
||||||
self._state = STATE_ALARM_ARMED_HOME
|
self._state = STATE_ALARM_ARMED_HOME
|
||||||
elif verisure.ALARM_STATUS[self._id].status == 'armedaway':
|
elif verisure.ALARM_STATUS[self._id].status == 'armed':
|
||||||
self._state = STATE_ALARM_ARMED_AWAY
|
self._state = STATE_ALARM_ARMED_AWAY
|
||||||
elif verisure.ALARM_STATUS[self._id].status != 'pending':
|
elif verisure.ALARM_STATUS[self._id].status != 'pending':
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
|
@@ -28,7 +28,7 @@ DISCOVER_SWITCHES = 'verisure.switches'
|
|||||||
DISCOVER_ALARMS = 'verisure.alarm_control_panel'
|
DISCOVER_ALARMS = 'verisure.alarm_control_panel'
|
||||||
|
|
||||||
DEPENDENCIES = ['alarm_control_panel']
|
DEPENDENCIES = ['alarm_control_panel']
|
||||||
REQUIREMENTS = ['vsure==0.4.3']
|
REQUIREMENTS = ['vsure==0.4.5']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@@ -191,7 +191,7 @@ python-nest==2.6.0
|
|||||||
radiotherm==1.2
|
radiotherm==1.2
|
||||||
|
|
||||||
# homeassistant.components.verisure
|
# homeassistant.components.verisure
|
||||||
vsure==0.4.3
|
vsure==0.4.5
|
||||||
|
|
||||||
# homeassistant.components.zwave
|
# homeassistant.components.zwave
|
||||||
pydispatcher==2.0.5
|
pydispatcher==2.0.5
|
||||||
|
Reference in New Issue
Block a user