mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 17:48:59 +00:00
Update lock.mqtt example with state_locked and state_unlocked (#12533)
* Update lock.mqtt for reflect breaking change Had an issue with my HASS not working with locks. Turns out the docs didn't reflect the new "state_lock" and "state_unlock" payload breaking change mentioned here: https://www.home-assistant.io/blog/2020/01/15/release-104/#breaking-changes Is it worth getting rid of the old payload_lock payload_unlocked states and changing them in the example? * Forgot "ed" in the example * Put payload_lock/unlock back in Let's have both the payload_lock/unlock back in the example along with state_locked/unlocked.
This commit is contained in:
parent
8d19950841
commit
b84f596358
@ -165,6 +165,8 @@ lock:
|
||||
command_topic: "home-assistant/frontdoor/set"
|
||||
payload_lock: "LOCK"
|
||||
payload_unlock: "UNLOCK"
|
||||
state_locked: "LOCK"
|
||||
state_unlocked: "UNLOCK"
|
||||
optimistic: false
|
||||
qos: 1
|
||||
retain: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user