Home Assistant 0.104 breaking change: support new HA separate lock state (#2753)

* Support new HA separate lock state for Xiaomi ZNMS12LM and ZNMS12LM

https://github.com/home-assistant/home-assistant/pull/29808

* Update homeassistant.js

* Update homeassistant.js

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
Viet Dzung
2020-01-16 22:25:58 +01:00
committed by Koen Kanters
co-authored by Koen Kanters
parent a9cce7c222
commit 2188937eea
+2
View File
@@ -423,6 +423,8 @@ const cfg = {
discovery_payload: {
command_topic: true,
value_template: '{{ value_json.state }}',
state_locked: 'LOCK',
state_unlocked: 'UNLOCK',
},
},
'lock_keypad_lockout': {