Hi All,
I’ve an automation (well a paired set) that is for my outdoor lights.
If I open the back or side door lights turn on and then go back off once both doors are closed for 2 mins…
That works fine as long as it’s all on and all off.
However I’ve set up a create.scene to snapshot 2 of the 4 lights and revert them to their previous state after the doors close for 2 mins.
In theory this is fine but if the door is opened, closed and then opened again within 2 mins I’m snapshotting when the lights are still on…
To get around this I’ve tried a number of things but currently have an input_text helper entity to capture scene creation… If a door opens and the lights off automation has run more recently than the scene has been created then it recreates the scene and updates the input_text field and then turns on all the lights… If not, scene is kept as is and lights all go on…
This works as intended but I’m curious is there a way of checking the creation time of a scene (the state appears to report it’s last activation time) that I could use directly rather than using the input_text placeholder?