I am fairly new to HA. I have been able to integrate the Nest Thermostat Gen 4 to HA doing the “Google Project” thing. Anyway, I can see it now in HA.
Eco mode has never worked well on Google Home. It fails to recongize accurately when people are in the home. HA seems to be more accurate in detecting people at home. So I want to automate going to Eco mode via HA. Does anyone have DETAILED instructions on how to do that? I would very much appreciate it. (Keep in mind, I am pretty new to HA and dont fully understand how it all works.)
alias: "# Temperature ECO On - X Leaves - Y Away"
description: ""
triggers:
- trigger: state
entity_id:
- person.sX
from: home
to: not_home
conditions:
- condition: state
entity_id: calendar.17_Z
state: "off"
- condition: state
entity_id: person.iphone_Y
state: not_home
- condition: state
entity_id: calendar.18_trips
state: "off"
actions:
- device_id: ca6f638a89271fb93e4d9497159c
domain: climate
entity_id: 3975e1a4764e3cd48db9b3250b2b5
type: set_preset_mode
preset_mode: eco
- device_id: e2ac58cd1c5c5c5405fcd3d565c
domain: climate
entity_id: 5a3659b9dad1ebf0962f8fec8f25
type: set_preset_mode
preset_mode: eco
mode: single
If the person X leaves and the person Y is away, and the cleaning lady (person Z) is not in, and we are not on a trip
Then the thermostats are preset to ECO