Hi All,
I’d like to be notified if my commute to a destination is gonna take longer than expected. In the following example I’d like to be notified that if my commute takes longer than 25 mins to work I’d be notified after 8am and before 8:30am. I’ve tried the following, but it doesnt seem to work. Any ideas? I’m using the Google_travel_times component as a sensor for home to work and it does give a value.
# Commute # - alias: "Morning Commute" condition: - condition: time after: '08:00:00' before: '08:30:00' trigger: platform: numeric_state entity_id: sensor.home_to_work above: 25 action: service: notify.gmail data: message: 'You will be late for work'