Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Best way to structure similar automations

$
0
0

@belgian_style wrote:

I currently have my automations structured in a way where each automation has a specific trigger and a specific action. For example, I have one automation for the single down click on the bedroom switch and another automation for the double down click on a different switch, but both automations have the same action of turning off the bedroom lights. I am in the early phases of building my automations but I can already see how many different automations this will lead to. It seems silly to do it the way I have been, especially since the automations are varying by only a node id in the trigger, etc. I am considering condensing these multiple automations into a single automation based on the action with multiple triggers. Is there any good reason to continue the way I’ve been doing it or should I merge these like i’m thinking?

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>