updates to support ui

This commit is contained in:
Per Sandström committed 2015-09-25 06:23:04 +02:00
1 parent f28b392f1a
commit 5cf9bd7223
2 files changed
+11 -1

No files matched your search

@@ -54,7 +54,7 @@ class VerisureAlarm(alarm.AlarmControlPanel):
@property
def code_format(self):
""" Four digit code required"""
return '[0-9]{4}'
return '^\\d{4}$'
def update(self):
''' update alarm status '''