and pylint...

This commit is contained in:
Per Sandström 2015-09-14 19:42:36 +02:00
parent 13ca42e187
commit f5d1da1d53

View File

@ -54,7 +54,7 @@ class VerisureAlarm(alarm.AlarmControlPanel):
def update(self):
''' update alarm status '''
verisure.update()
if verisure.STATUS[self._device][self._id].status == 'unarmed':
self._state = STATE_ALARM_DISARMED
elif verisure.STATUS[self._device][self._id].status == 'armedhome':