Updated Buttons and Switches (markdown)

Michael Ingraham 2019-05-17 14:36:44 -04:00
parent d03321e685
commit 3a0b4979af
1 changed files with 3 additions and 3 deletions

@ -60,15 +60,15 @@ Sends toggle command on switch press (closing the circuit).
While pressing the switch (closing the circuit) the button will send `ON` and when released (open circuit) send `OFF` .
> You want to use `SwitchMode 1` when connecting a [toggle switch](https://en.wikipedia.org/wiki/Switch#Toggle_switch) to your device (e.g. a classic light switch). This way the "software switch" will mirror the state of the "hardware switch".
If the real switch is in the "ON" position, the state in Tasmota is `ON` as well.
**`SwitchMode 2`**
```Set switch to inverted follow mode (0 = ON, 1 = OFF)```
While pressing the switch (closing the circuit) the button will send `OFF` and when released (open circuit) send `ON` .
> You want to use `SwitchMode 1` when connecting a [toggle switch](https://en.wikipedia.org/wiki/Switch#Toggle_switch) to your device (e.g. a classic light switch). This way the "software switch" will mirror the state of the "hardware switch".
If the real switch is in the "ON" position, the state in Tasmota is `ON` as well.
**`SwitchMode 3`**
```Set switch to push-button mode (Default 1 = ON, 0 = toggle)```