Hi there,
I’m using Tado to manage my climate control in my home. We currently have 7 Tado TRVs around the house, which all work fine to manage the heating.
I’ve also set up a couple of automation so that when my wife or I leave the house / arrive back, the Heating either turns to Home Mode or Away Mode. Again, this works fine… when we both leave, but the problem is, I work from home, and currently, when my wife goes to work, the heating turns to Away Mode.
This is the code I’m currently using for Home Mode:
alias: Tado Home Mode
description: Turn to Home mode when returning home
trigger:
- platform: numeric_state
entity_id: proximity.home
attribute: nearest
below: 4
condition:
- condition: state
entity_id: zone.home
attribute: persons
state: "1"
action:
- service: climate.set_preset_mode
data:
preset_mode: home
target:
area_id:
- dining_room
- hallway
- living_room
- master_bedroom
- spare_room
- basement
- bathroom
- kitchen
- service: notify.mobile_app_finchie_s_flip_4
data:
message: Turning back to Home mode
title: Tado
mode: single
And this is the code I’m currently using for Away Mode:
alias: Tado Away Mode
description: ""
trigger:
- platform: numeric_state
entity_id: proximity.home
above: 1.5
attribute: nearest
condition:
- condition: state
entity_id: zone.home
attribute: persons
state: "1"
action:
- service: climate.set_preset_mode
data:
preset_mode: away
target:
area_id:
- dining_room
- hallway
- living_room
- master_bedroom
- spare_room
- basement
- bathroom
- kitchen
- service: notify.mobile_app_finchie_s_flip_4
data:
message: The heating is changed to Away mode
title: Tado
mode: single
On both occasions, the Triggers and Actions work fine, but the conditions do not work. I’ve also tried, a Not condition with it checking if me or my wife are in the Home Zone, but again that did not stop the heating from turning to Home / Away mode.
Any ideas on how I can alter the conditions to make this work correctly?