mirror of https://github.com/arendst/Tasmota.git
Fix formatting
parent
29dc34f076
commit
4e4856d030
|
@ -73,7 +73,7 @@ If you have a device with the topic `sonoff02` this action will toggle its relay
|
||||||
|
|
||||||
## Changing default button functionality
|
## Changing default button functionality
|
||||||
|
|
||||||
If a [`ButtonTopic`](commands#buttontopic) (and if [`SetOption1`](commands#SetOption1) 1`) or [`SwitchTopic 1`](commands#SwitchTopic) is defined (and [`SwitchMode`](commands#switchmode) is set to `5` or `6`) and a button is pressed longer than defined Key Hold Time ([`SetOption32`](commands#setoption32) default 4 seconds) an MQTT message like `cmnd/%topic%/POWER HOLD` will be sent. `HOLD` can be changed with [`StateText4`](commands#StateText4).
|
If a [`ButtonTopic`](commands#buttontopic) (and if [`SetOption1 1`](commands#SetOption1)) or [`SwitchTopic 1`](commands#SwitchTopic) is defined (and [`SwitchMode`](commands#switchmode) is set to `5` or `6`) and a button is pressed longer than defined Key Hold Time ([`SetOption32`](commands#setoption32) default 4 seconds) an MQTT message like `cmnd/%topic%/POWER HOLD` will be sent. `HOLD` can be changed with [`StateText4`](commands#StateText4).
|
||||||
|
|
||||||
Command [`SetOption11`](commands#setoption11) allows for swapping the functionality of the push button.
|
Command [`SetOption11`](commands#setoption11) allows for swapping the functionality of the push button.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue