I’ve got Google Maps Location Sharing working properly. Besides home, I’ve also created a work entry in zones. Work is defined as My Office. I’m trying to get an automation to switch the thermostat from away to home after I leave my office. My trigger is:
trigger:
platform: state
entity_id: device_tracker.google_maps_xxxxxxxxxxxxx
from: 'My Office'
to: 'Away'
I’ve created a test automations that texts me when I arrive at work, so I know I have to use ‘My Office’, For checking away status, should it be ‘away’ or ‘Away’?
Thanks!