#You can just toggle automation

1 messages · Page 1 of 1 (latest)

pearl rover
#

Well, I don't want to disable it altogether. I just want it to use the variable I tell it to use. Like having a 'water X when it gets dry' function, and I choose what if any plant to put there.

rocky cliff
#

Yea so instead make a helper using one of the input choices

#

Then add that helper as a condition to the automation

#

So if the helper isn’t true or on, automation won’t run even when triggered

#

Have you used helpers?

pearl rover
#

Hm, maybe I'm not explaining my use case well. Or I dont' understand what a helper is.

#

I suspect (hope?) it's just a 'friendly' name for a programming concept I'm familar with. XD

#

let me read up on it first

#

aha

#

Yes, it sounds like a helper is close to or exactly what I want! Thank you kindly.

rocky cliff
#

Yep

#

They’re very useful and they cover a wide range of things

#

They’ve stashed some stuff into helpers that is weird but useful

#

Like lightgroups

#

I.e. taking 10 lights in your kitchen and making an entity lights.kitchen to control them all at once

pearl rover
#

I should be able to create two helpers (read: global state variables), one for scene, and one for intensity, and have the motion-sensing automation consult them.

rocky cliff
#

Yolo

pearl rover
#

and have my buttons trigger actions to increase/decrease/modify the states that the automation will consult 🙂

#

Thank you!