mirror of
https://github.com/home-assistant/core.git
synced 2025-06-22 22:17:07 +00:00
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:
parent
b228695907
commit
c6480e46c4
@ -49,6 +49,7 @@ LOCK_NOTIFICATION = {
|
|||||||
|
|
||||||
LOCK_ALARM_TYPE = {
|
LOCK_ALARM_TYPE = {
|
||||||
'9': 'Deadbolt Jammed',
|
'9': 'Deadbolt Jammed',
|
||||||
|
'16': 'Unlocked by Bluetooth ',
|
||||||
'18': 'Locked with Keypad by user ',
|
'18': 'Locked with Keypad by user ',
|
||||||
'19': 'Unlocked with Keypad by user ',
|
'19': 'Unlocked with Keypad by user ',
|
||||||
'21': 'Manually Locked ',
|
'21': 'Manually Locked ',
|
||||||
@ -60,6 +61,7 @@ LOCK_ALARM_TYPE = {
|
|||||||
'112': 'Master code changed or User added: ',
|
'112': 'Master code changed or User added: ',
|
||||||
'113': 'Duplicate Pin-code: ',
|
'113': 'Duplicate Pin-code: ',
|
||||||
'130': 'RF module, power restored',
|
'130': 'RF module, power restored',
|
||||||
|
'144': 'Unlocked by NFC Tag or Card by user ',
|
||||||
'161': 'Tamper Alarm: ',
|
'161': 'Tamper Alarm: ',
|
||||||
'167': 'Low Battery',
|
'167': 'Low Battery',
|
||||||
'168': 'Critical Battery Level',
|
'168': 'Critical Battery Level',
|
||||||
@ -98,7 +100,8 @@ ALARM_TYPE_STD = [
|
|||||||
'19',
|
'19',
|
||||||
'33',
|
'33',
|
||||||
'112',
|
'112',
|
||||||
'113'
|
'113',
|
||||||
|
'144'
|
||||||
]
|
]
|
||||||
|
|
||||||
SET_USERCODE_SCHEMA = vol.Schema({
|
SET_USERCODE_SCHEMA = vol.Schema({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user