From 5891fb404d37202d710e165dce88b511f30f755c Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Wed, 24 Jul 2019 08:51:38 -0400 Subject: [PATCH] Updated Buttons and Switches (markdown) --- Buttons-and-Switches.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Buttons-and-Switches.md b/Buttons-and-Switches.md index 65a8c5fc..3b158571 100644 --- a/Buttons-and-Switches.md +++ b/Buttons-and-Switches.md @@ -8,7 +8,7 @@ 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. +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). @@ -20,6 +20,8 @@ Tasmota `Button` is normally the button supplied on the device. In most cases it By default a button toggles the corresponding relay. Every time the button gets pressed the relay changes `Power` state (ON or OFF). +A push-to-make button should use a `Button` component while a push-to-break button should use `Buttoni` (i.e., inverted). + Besides toggling the `Power` state, a button is also used to activate [multi press button functions](Button-usage#multi-press-functions). See [Button-usage](Button-usage) on a detailed multi press function list, ButtonTopic options and changing default Button functionality.