mirror of https://github.com/arendst/Tasmota.git
Updated Buttons and Switches (markdown)
parent
013f2131fe
commit
c60c4d6c98
|
@ -8,9 +8,10 @@ Additional buttons and switches can be [wired](Expanding-Sonoffs#connect-switch)
|
|||
It only sends commands directly to the corresponding relay or to an MQTT topic.
|
||||
|
||||
## Button vs. Switch
|
||||
A button (also called a push-button) is a momentary or non-latching switch which causes a temporary change in the state of an electrical circuit only while the switch is pressed. An automatic mechanism (i.e. a spring) returns the switch to its default position immediately afterwards, restoring the initial circuit condition. Learn more in [this video](https://www.youtube.com/watch?v=jNvCQVrEpDQ).
|
||||
A button (also called a push-button) is a momentary or non-latching switch which causes a temporary change in the state of an electrical circuit only while the switch is pressed. An automatic mechanism (i.e. a spring) returns the switch to its default position immediately afterwards, restoring the initial circuit condition.
|
||||
|
||||
A switch (more precisely a latching switch), when activated by the user, remains in that state until activated again.
|
||||
Learn more about buttons and switches in [this video](https://www.youtube.com/watch?v=jNvCQVrEpDQ).
|
||||
|
||||
Both have a similar function but Tasmota distinguishes between a "Button" and a "Switch" in other ways.
|
||||
# Button
|
||||
|
|
Loading…
Reference in New Issue