Google Calendar based trigger

Hi

I’m trying to use a google calendar for triggering an automation for increasing the heat in our cabin prior arrival. I have a calendar that says “Booked” in the calendar event when someone has planned to use our cabin. What I would like to do is to have an automation that triggers if there is such an event within the next 48 hours and then increase the heat.

Can someone help me to create such a trigger?

Thanks for the link, with a little tweak it worked!

Great to hear!

hi, I’m trying to do something similar would you be able to post the tweek you made to get this to work?

Check out Calendar - Home Assistant for some starting recipes

Thanks Allen,

I’ve had a look through that and as far as I can tell this will only work if the action is to be carried out on the same day as the event. What I’m trying to do is have a switch turn on 26hours before an event if that’s possible.

You’re saying the max offset is 24 hours? Yeah I can believe that is the case.