I am trying to define a default “state” of my house based on time and what automations should have already happened. For example, I have an automation that turns on all my ambient lights at 11 am every day, only if both me and my partner are home. I also have an automation that captures the state of all my lights/devices in my house when I leave, and reinstates their status when I return.
The issue I’m running into is that if my partner and I leave the house before the lights turn on at 11, the state that’s saved is “lights off”, so when we return PAST 11 (when the lights should be on), nothing turns on because we weren’t home for the automation.
Is there a way to have a default “state” of the house, so that such a state can override the saved scene from before I left with what it should be?