mirror of https://github.com/arendst/Tasmota.git
Updated Buttons and Switches (markdown)
parent
75c22ee421
commit
1fca481087
|
@ -31,7 +31,7 @@ In Tasmota a `Switch` is any switch or push-button additionally connected to a f
|
||||||
|
|
||||||
By default a switch toggles the corresponding relay. Every time the switch gets flipped, the relay changes its state (ON or OFF). Instead of the default toggling of the relay, switches can be configured to send messages to different MQTT topics, or send commands to other Tasmota devices.
|
By default a switch toggles the corresponding relay. Every time the switch gets flipped, the relay changes its state (ON or OFF). Instead of the default toggling of the relay, switches can be configured to send messages to different MQTT topics, or send commands to other Tasmota devices.
|
||||||
|
|
||||||
> By default `Switch<x>` will trigger `Relay<x>`. To ignore this behavior, define a rule which triggers on `Switch#State` or use `[Switchtopic](Commands#Switchtopic)`.
|
By default `Switch<x>` will trigger `Relay<x>`. To ignore this behavior, define a rule which triggers on `Switch#State` or use `[Switchtopic](Commands#Switchtopic)`.
|
||||||
|
|
||||||
>Now, to make everything a little confusing: A push-button can be configured as a `Switch` and a toggle switch can be configured as a `Button`. Configuring a toggle switch as a `Button` is not recommended!
|
>Now, to make everything a little confusing: A push-button can be configured as a `Switch` and a toggle switch can be configured as a `Button`. Configuring a toggle switch as a `Button` is not recommended!
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue