Skip to content

Commit 229bd22

Browse files
committed
Use lock instead of switch
1 parent 0a4b8c7 commit 229bd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/lock.mqtt.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ha_iot_class: depends
1515

1616
The `mqtt` lock platform let you control your MQTT enabled locks.
1717

18-
In an ideal scenario, the MQTT device will have a `state_topic` to publish state changes. If these messages are published with RETAIN flag, the MQTT lock will receive an instant state update after subscription and will start with correct state. Otherwise, the initial state of the switch will be false/unlocked.
18+
In an ideal scenario, the MQTT device will have a `state_topic` to publish state changes. If these messages are published with `RETAIN` flag, the MQTT lock will receive an instant state update after subscription and will start with correct state. Otherwise, the initial state of the lock will be false/unlocked.
1919

2020
When a `state_topic` is not available, the lock will work in optimistic mode. In this mode, the lock will immediately change state after every command. Otherwise, the lock will wait for state confirmation from device (message from `state_topic`).
2121

0 commit comments

Comments
 (0)