Add Bluetooth and NFC card/tag Alarm types (#12151)

* Add Bluetooth and NFC card/tag Alarm types

* removed white space
This commit is contained in:
matthewcky2k 2018-02-21 22:03:10 +00:00 committed by Adam Mills
parent b228695907
commit c6480e46c4

View File

@ -49,6 +49,7 @@ LOCK_NOTIFICATION = {
LOCK_ALARM_TYPE = {
'9': 'Deadbolt Jammed',
'16': 'Unlocked by Bluetooth ',
'18': 'Locked with Keypad by user ',
'19': 'Unlocked with Keypad by user ',
'21': 'Manually Locked ',
@ -60,6 +61,7 @@ LOCK_ALARM_TYPE = {
'112': 'Master code changed or User added: ',
'113': 'Duplicate Pin-code: ',
'130': 'RF module, power restored',
'144': 'Unlocked by NFC Tag or Card by user ',
'161': 'Tamper Alarm: ',
'167': 'Low Battery',
'168': 'Critical Battery Level',
@ -98,7 +100,8 @@ ALARM_TYPE_STD = [
'19',
'33',
'112',
'113'
'113',
'144'
]
SET_USERCODE_SCHEMA = vol.Schema({