When a switch is set to ON

Do something when a switch is set to ON.

696

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

👍

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 ON" 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.