When a switch is set to OFF

Do something when a switch is set to OFF

696

With the trigger “When a switch is set to OFF ”, you can select any action to occur as soon as a switch is set to OFF

👍

Trigger -> Action

The most important thing about a trick is understanding its conditions and actions. They have a simple generic structure:

When the condition (trigger) happens, then do (action).
Trigger -> Action

How to create

You just have to click on the "+ Automations" icon on the upper right corner of the screen to open the No code automations panel, and then on the "+ Create new automation" button:

464

Select the "When a switch is set to OFF" trigger, and fill in the options:

696
  • Choose the table
  • Choose switch field in the selected table that will trigger the action once it's updated to any value

Save this and choose an action.