mirror of https://github.com/arendst/Tasmota.git
Updated Buttons and Switches (markdown)
parent
102eb6f952
commit
da089c724a
|
@ -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`**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue