Need To Confirm Scene As Automation Condition

Yeah. LOL

It seems to just be the rabbit hole that appeared when I found a need to do an automation based on the scene applied… To control the automation, you need to set the scene, and setting the scene does just that… It sets the lighting…

In this one instance though, I need HA to realize that it’s morning again, without turning on the lights when I may be still sleeping. It wouldn’t be necessary if I got up at 5:00 AM every day and turned on the lights (daytime) with the wall switch… It falls apart when you’re sleeping in, the sun comes up, and you start doing things… If you do that, then the room keeps reacting as though it’s night time because that’s the last thing it knows you set…

This is more/less a safety valve for when that happens…

Make a time or sun condition to prevent the automation from running when you set the input select to bright.

If I did that, if I happened to get up at 3:00 AM and press the button to turn on the room lights to bright, they wouldn’t work. The only solution I found that worked was what I outlined. A one time reset each day which runs during the “sunrise” scene. The only time that would be an issue is if I did something with the lights at the minute of sunrise in the morning. That’s a lot less likely.

I was thinking on doing some kind of shortcut.

I bought a 6 relee device and was thinking that to trigger some scene I could turn on or off one of the relees so that I can use that as a condition for the automation of each device.

I dont know if I am explaining myself well enough.

Late night turns relee 1 on

Room light action 1 with condition relee 1 off the action is X and action 2 with relee 1 on means something else.

Maybe not, because maybe you missed the second post which states that scenes don’t have a state.

You don’t need the physical relays to track the state of your scenes - you could accomplish the same thing by creating an input helper. However, this doesn’t address the fact that scenes are a predefined list of states for one or more entities.

Imagine you set the Late Night scene on. This sets eg. 1 bulb to 30% brightness. Now, imagine you’re tracking the state of the scene via a relay or input helper. What happens if you increase/decrease the brightness or switch off the light without calling a different scene?
The state of the Late Night relay/helper would still be on, but your bulb is no longer in the Late Night scene.

Multiply that by any number of devices/entities in that scene, and you can see the problem - you can only ever know if a scene is actually applied if you only change entity states via scenes. That means that all automations and dashboard cards you create can only call scenes - if you change an entity state directly, then you will no longer be able to track the scene state.