@colfin22 wrote:
How do I get this working? I wish to have TTS but only if I’ve been away for 3 hours or more. The automation executes fine when i call it, it just does not trigger
automation: - alias: "Colms Home" trigger: - platform: state entity_id: device_tracker.colmoneplus5_localdomain from: 'not_home' to: 'home' condition: - condition: state entity_id: device_tracker.colmoneplus5_localdomain state: 'not_home' for: minutes: 180 action: service: tts.google_say entity_id: - media_player.sitting_room_display - media_player.kitchen_speaker data_template: message: "Yay, welcome home colm, the house is {{states('sensor.hallway_sensor_temperature')}} degrees. You have taken {{states('sensor.google_fit_steps')}} steps today covering {{states('sensor.google_fit_distance')}} kilometers and burning {{states('sensor.google_fit_calories')}} calories"
Posts: 2
Participants: 2