From c6480e46c45cc3ffa2b10bfcc74cc35c9faa162f Mon Sep 17 00:00:00 2001 From: matthewcky2k Date: Wed, 21 Feb 2018 22:03:10 +0000 Subject: [PATCH] Add Bluetooth and NFC card/tag Alarm types (#12151) * Add Bluetooth and NFC card/tag Alarm types * removed white space --- homeassistant/components/lock/zwave.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/lock/zwave.py b/homeassistant/components/lock/zwave.py index c0560722966..8f39d440cae 100644 --- a/homeassistant/components/lock/zwave.py +++ b/homeassistant/components/lock/zwave.py @@ -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({