#Location-based automations using Google Calendar integration

1 messages · Page 1 of 1 (latest)

edgy tiger
#

Hello, is it possible to have an automation triggered by a Google Calendar event, but only if the location attribute on the event matches a certain keyword?

I have set up the Gcal integration and it is pulling data into Home Assistant.

woven salmon
edgy tiger
#

I'm not familiar with using YAML, what would that look like?

woven salmon
#

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

echo turret
#

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.

halcyon plank