Hello everyone,
Hoping to see if anyone can advice me if this code would work to automate my Ecobee thermostat to switch between Away and Home. I was using IFTTT but they lost integration with Life360 and I have being wanting to get my Home Assistant to do it for me but so far its being a bit overwhelming HA to understand it for me.
automation:
- trigger:
platform: state
entity_id: device_tracker.life360_yami, device_tracker.life360_javier
place: Home
action:
- service: ecobee.resume_program
entity_id: climate.my_ecobee
resume_all: true
- trigger:
platform: state
entity_id: device_tracker.life360_yami, device_tracker.life360_javier
place: Not_Home
action:
- service: climate.set_preset_mode
entity_id: climate.my_ecobee
preset_mode: Away