Hi Community…
I need some help verifying this automation. I cannot get it to control my Ecobee. I am at a loss as I have tried everything I can come up with but nothing works so far.
alias: Ecobee - GeoFence Set Away Mode
description: Turn ECOBEE Thermostat to away Mode when everyone leaves home
trigger:
- platform: zone
entity_id: device_tracker.sm_s928u
zone: zone.home
event: leave
- platform: zone
entity_id: device_tracker.yamilizas_iphone
zone: zone.home
event: leave
condition:
- alias: Javier and Yami have left home
condition: and
conditions:
- condition: state
entity_id: device_tracker.sm_s928u
state: not_home
- condition: state
entity_id: device_tracker.yamilizas_iphone
state: not_home
action:
- service: climate.set_preset_mode
target:
entity_id:
- climate.ecobee_plus
device_id: ba8ba0d027158055e8d2987370674d01
data:
preset_mode: away
mode: single