mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
add MQTT topic warning
This commit is contained in:
parent
818dc21229
commit
833015fbf8
@ -44,3 +44,7 @@ switch:
|
|||||||
- **payload_on**: The payload that represents enabled state. Default is "ON". *Optional*
|
- **payload_on**: The payload that represents enabled state. Default is "ON". *Optional*
|
||||||
- **payload_off**: The payload that represents disabled state. Default is "OFF". *Optional*
|
- **payload_off**: The payload that represents disabled state. Default is "OFF". *Optional*
|
||||||
- **optimistic**: Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false. *Optional*
|
- **optimistic**: Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false. *Optional*
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
Make sure that your topics match exact. <code>some-topic/</code> and <code>some-topic</code> are different topics.
|
||||||
|
</p>
|
Loading…
x
Reference in New Issue
Block a user