Hi @parautenbach ,
Sure… What I have set up are “scenes” or “moods”, if you will. A general collection of related things, mostly lighting, but also other things… These moods (“scenes”) were just set by clicking a “scene_activate” toggle button. You clicked the toggle button, and the scene activated.
The problem I ran into is that I wanted automations to trigger only for specific scenes, which sent me down this more advanced way of doing things. It makes sense, and works great…
So the problem isn’t the original activation of the scene. If I set “Bright” for lighting (during the day), the main lights come on bright and there is an automation for the closet to light up bright when the door opens (based on the “bright” mood being set). That is because this scene would be activated when the sun is up, and you would want a bright light in there… But if you set the “Relaxed” scene for more subdued lighting, the main lights might be dim, and the closet would light up dimmer and in a color more suitable for that mood lighting… etc…
So the original way, you set a scene and done… This more advanced way, your button activates the selector and you need a second automation. You clicking the button doesn’t activate the scene, it sets the selector which requires another automation. So that second automation looks at the selector choosing the scene and sets the lights accordingly. That’s it right there. When you set back to the default “bright” scene again, it turns the lights on. I don’t need the lights on, I just want all the other things to know it’s back to default without triggering the actions, so automations work as expected again. Otherwise, you just stay in the last setting. In my case, the night lights keep coming on when I wake up in the morning, and when I open the closet, it lights as a night light instead of bright like you’d want in the morning…
Hope that makes sense…
So I created a “Sunrise” mood which now turns off the automation which triggers turning on the lights, sets the selector, then re-enables the automation so the rest of the accessories react properly to it being day again. And I can also set things specific to sunrise, like shades or whatever… at the same time.
My goal is to have each room react differently depending on time of day/mood… If I have nice mood lights set for after sunset, I don’t want to be blinded when I open the closet. And if I’m sleeping, I want specific things to act as night lights when moving around the house.
For those that stumble in and are curious, for lighting I have…
High Alert… Full bright…
Relaxed… Subdued mood lights…
Night… Very dim, can still see, but more geared towards sleep.
Night Light… Everything off, accent lights come on very dim when movement detected.
Sunrise… Reset to High Alert, without turning everything on…
Sunset… Reset to Relaxed, without turning everything on…
There are also some “maintenance” type scenes, which turn everything off if everyone leaves the house, but they aren’t manually selectable.
Any suggestions/criticisms are always welcome.
Thanks!