So, basically this topic will be pointed to this; previous state
I was been able to put logic when binory_sensor.front_door is ‘on’ to trigger the lights. But I really want to put that light in “previous state” before automation kicks in.
Was the automation triggered when you closed the door?
Going back in the trace history, wouldn’t the “on” part be triggered multiple times, overriding hallway_led?
Yes, the second conditiond and its sequence is triggered, I put some persistent notification, and the notification showed up.
Well, each time when door opens, I want to override scene - sometimes the light will be off, sometimes the light will be in different color, when sensor is ‘on’, and I would like to restore that state, after I close the door.
I’m afraid that I don’t understand you idea?
I can see the time when each triggered on or off, but I cannot set the scene - remember the state of the light before automation kicks in.