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