mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
and pylint...
This commit is contained in:
parent
13ca42e187
commit
f5d1da1d53
@ -54,7 +54,7 @@ class VerisureAlarm(alarm.AlarmControlPanel):
|
|||||||
def update(self):
|
def update(self):
|
||||||
''' update alarm status '''
|
''' update alarm status '''
|
||||||
verisure.update()
|
verisure.update()
|
||||||
|
|
||||||
if verisure.STATUS[self._device][self._id].status == 'unarmed':
|
if verisure.STATUS[self._device][self._id].status == 'unarmed':
|
||||||
self._state = STATE_ALARM_DISARMED
|
self._state = STATE_ALARM_DISARMED
|
||||||
elif verisure.STATUS[self._device][self._id].status == 'armedhome':
|
elif verisure.STATUS[self._device][self._id].status == 'armedhome':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user