Updated Buttons and Switches (markdown)

blakadder 2019-05-29 12:29:15 +02:00
parent 102eb6f952
commit da089c724a
1 changed files with 2 additions and 2 deletions

@ -110,6 +110,8 @@ The switch will send a toggle command when pressed and another toggle command wh
>Not sure why you would use this one, but hey, its here when you need it. >Not sure why you would use this one, but hey, its here when you need it.
## [SwitchTopic](Commands#switchtopic)
SwitchTopic and ButtonTopic are almost identical in use. You can use this guide interchangeably for both or read [ButtonTopic](Button-usage#ButtonTopic).
### Note about SwitchTopic (or ButtonTopic) and MQTT ### Note about SwitchTopic (or ButtonTopic) and MQTT
When using `SwitchTopic 1` or `2` (or `ButtonTopic 1` or `2`) and your MQTT broker becomes unavailable, Tasmota falls back to default `SwitchTopic 0` (or `ButtonTopic 0`), which is not optimal. When using `SwitchTopic 1` or `2` (or `ButtonTopic 1` or `2`) and your MQTT broker becomes unavailable, Tasmota falls back to default `SwitchTopic 0` (or `ButtonTopic 0`), which is not optimal.
@ -123,8 +125,6 @@ Rule1 1
``` ```
If you still need to use SwitchTopic or ButtonTopic, read on! If you still need to use SwitchTopic or ButtonTopic, read on!
## [SwitchTopic](Commands#switchtopic)
SwitchTopic and ButtonTopic are almost identical in use. You can use this guide interchangeably for both or read [ButtonTopic](Button-usage#ButtonTopic).
**`SwitchTopic 0`** **`SwitchTopic 0`**