#Bundling automations for the same switch together?

1 messages · Page 1 of 1 (latest)

whole orbit
#

Hello,

Just got the home assistant green and am enjoying it a lot!

I am in the process of setting up actions for all my hue switches (on, dim up, dim down, off) and am wondering if there is any simple way to put all triggers and actions in the same automation (per switch)?

They are all tightly related since they are triggered by the same device and will control the same lights.

Also, I believe this will simplify eventual future copies for the other switches for the other rooms.

I am very new to HA, so this is probably some newbie questions 😄

bronze plinth
#

Yes you can have multiple triggers, and give each a trigger id.
Then in the actions, you can use a choose block to choose a different action based on which trigger fired.