diff --git a/Buttons-and-Switches.md b/Buttons-and-Switches.md index dd2d6fbe..bdd75fda 100644 --- a/Buttons-and-Switches.md +++ b/Buttons-and-Switches.md @@ -2,6 +2,9 @@ Buttons and switches are primarily used to toggle (turn ON or OFF) device relays > Other than relays, Tasmota does not publish the state of components (switches, buttons, sensors, etc.) in real-time. Only messages corresponding to relays are transmitted in real-time. The state of components is transmitted automatically each [TelePeriod](Commands#teleperiod) via the `SENSORS` message. +## How to make Button or Switch not toggle a relay +By default `switch` will actuate `relay`. To ignore this default behavior, define a rule which triggers on the button/switch action. + ## 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.