So I’m trying to create a dashboard view button to toggle automations on/off that are assigned with the security category, but I only can find methods to possibly do it with an input Boolean entity (true/false) added to each automation…
However, when I create an input Boolean helper entity, and add the template condition in each automation for that input Boolean to be true, then toggle it in/off, it is not working as expected.
condition:
- condition: template
value_template: "{{ not is_input_boolean('input_boolean.disable_automations') }}"
The goal here is to be able to toggle on/off multiple automations that have the security category assigned when I am away versus home (stay) with a single button.
I did read the docs and search this forum before posting my question. It was not clear to me. I even used AI for assistance…guess I have to read it again :-/
Is that what dreamed up is_input_boolean? Not really “assistance” then
Why not use a simple entity state condition? No need for a template here. Conditions are AND though: if you want OR put them both in an OR building block. I don’t think you do want OR though.
I used AI to supplement what I found in docs and in forums, just resourceful that’s all
I don’t believe a simple entity state condition will meet my requirements I originally stated, which is, a button on my dashboard to toggle on/off multiple automations when I’m away.
If I’m not understanding something after going through the docs and any related forum posts, then it would be shortsighted to not also ask AI.
We don’t need to continue to press me on this. I’m learning HA, please be patient with me.
These two achieve the same outcome right, so is there a right and wrong way vs. working harder than smarter? LOL