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

Grouping input_boolean's

$
0
0

Hi All,

What would be the best way to track input_boolean’s in bulk within an automation?

I’ve built out a “habit tracker” which uses input_boolean’s. Upon true, the habit count increases by 1. This resets every night back to 0.

Within my automations, I have to add each input_boolean on it’s own and whenever I add a new “habit” I have to go back to multiple automations to add the new input_boolean.

Is there any easier way to scale this that I may be missing? All of them have “habit” in the name, is there some kind of scripting approach I could use instead?

Here is an example of part of 1 of the automations. I need to add a trigger for each input_boolean. Can these be grouped somehow?

Thank you very much!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105840

Trending Articles



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