#Location-based automations using Google Calendar integration
1 messages · Page 1 of 1 (latest)
you could probably write a condition to check the events location
I'm not familiar with using YAML, what would that look like?
something like
{{ 'the pub' in trigger.calendar_event.location }}
so you trigger on an event then add a template condition with that which would filter the events which have a location contains the pub in their string
i am not sure if thats entirily correct. i dont have a setup to test it. but i think it should work based on documentation
I’ve done something like this in Nodered using the calendar node and the google directions node. It reads each event, looks for “$drive” in the description, pulls the location from the event and passes it to the google maps api, which then returns a time to destination. It will then notify me to leave the house 15 minutes ahead of time.
Very cool. Would you mind sharing the flow?