Is there a way to trigger an automation when the event was entered after the triggered start time?
I’m using @tykeal Rental Control integration as a calendar. The trigger is set to fire at Event Start which is at 4 PM on the event start date, but sometimes I have events that are last minute and are entered after the trigger time of 4 PM. If there a way I can enter at event start and any time after that for that day or something like that?
Currently this automation works perfectly when the event is entered in advance of 4 PM, but on some occasion like last night the event is entered after the start time, last night it was around 10 PM. The trigger didn’t start the automation. I would like to find a way to trigger the automation any time after 4 PM on the same day of the event.
What this now does is cause this boolean to latch to an on state if it is currently off and it is triggered by either the early arrival condition you had before or if the calendar entity goes to on when the event actually starts.
It will also reset the boolean to off when the event ends (at checkout time of your guest)
This way even if you restart your HA for some reason while the guest is there it won’t suddenly cause your devices to turn on again if they were turned off while the guest was there
There’s no guest today and I’m able to test this. I’m getting this error
Error in describing condition: Cannot read properties of undefined (reading ‘entity_id’)
Here:
condition: state
entity_id: input_boolean.guest_arrival
state: "off"