updates to support ui
This commit is contained in:
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 '''
|
||||
|
||||
Reference in new issue
Block a user