So I’m wondering what is going on here. My nest thermostat is set in the Nest app to adjust temperature to 19.5deg at 06:30 every day and turn to 9deg at 21:00 every day. Primarily I then use (or try to) HA to adjust when to set Nest to Away mode or Home mode, depending on my group.family status changing from home to not_home and vice versa.
The problem is, the automation triggers fine and sets Nest to Away, however the thermostat still then goes into heating mode even when it is already set to Away ??
I can’t figure out what’s going on!!!
Here’s the data showing that heating is on during away mode (graphed through Grafana)
(top is heating on/off, middle is away mode on/off, bottom is group.family home/not_home)
For info, my yaml is as follows:
Nest script
## Nest ###########################################################
#-----------------------------------------------------------------#
set_nest_away:
sequence:
- service: nest.set_away_mode
data:
away_mode: away
set_nest_home:
sequence:
- service: nest.set_away_mode
data:
away_mode: home
Heating automation
#### Heating ##############################################################
#-------------------------------------------------------------------------#
- alias: 'Turn on heating if anyone home'
initial_state: true
trigger:
- platform: state
entity_id: group.family
to: 'home'
action:
- service: script.turn_on
entity_id: script.set_nest_home
- alias: 'Turn off heating if noone home'
initial_state: true
trigger:
- platform: state
entity_id: group.family
to: 'not_home'
action:
- service: script.turn_on
entity_id: script.set_nest_away
As you can see from the Grafana data, the automation seems to function fine (away mode is disabled/set to 0 when someone is home), problem is it still f***ing heats when we’re away!!!