From 4e4856d030b00ab78ebd3b57aa9bb9845fe3dbd8 Mon Sep 17 00:00:00 2001 From: WofWca Date: Sun, 12 May 2019 17:36:00 +0800 Subject: [PATCH] Fix formatting --- Button-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Button-usage.md b/Button-usage.md index 75ab191b..816f7a24 100644 --- a/Button-usage.md +++ b/Button-usage.md @@ -73,7 +73,7 @@ If you have a device with the topic `sonoff02` this action will toggle its relay ## 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.