#Ecobee Heat Temperature Based on Presence + Away

1 messages · Page 1 of 1 (latest)

loud notch
#

Hi everyone, I am hoping someone can help me.

My goal is to implement an automation to set the heat to 72f when my wife is home (regardless if I am or not) and 70f when I am home alone. This should only happen if the thermostat is set to heat. Cool mode should follow the schedule we have set on the thermostat. In addition to this, have the ecobee go to away mode when neither of us are home.

So far I have 2 separate automations for away and resume based on a group (group.family_devices).

  trigger:
    platform: state
    entity_id: group.family_devices
    from: 'not_home'
    to: 'home'
  actions:
    - action: button.press
      target:
        entity_id: button.main_floor_clear_hold```
```- alias: Thermostat to Away
  trigger:
    platform: state
    entity_id: group.family_devices
    from: 'home'
    to: 'not_home'
  condition:
    - or:
      - condition: state
        entity_id: climate.main_floor
        state: cool
      - condition: state
        entity_id: climate.main_floor
        state: heat
  action:
    - action: select.select_option
      data:
        option: away
      target:
        entity_id: select.main_floor_current_mode```
#

I attempted to implement the following but it took precedence over the away automation. 72f is the normal heat setting when home.

  trigger:
    platform: state
    entity_id:
      - person.me
      - person.wife

  condition:
    - condition: state
      entity_id: climate.main_floor
      state: heat

  action:
    - choose:
        # Only me home - Set Heat to 70
        - conditions:
            - condition: state
              entity_id: person.me
              state: 'home'
            - condition: state
              entity_id: person.wife
              state: 'not_home'
          sequence:
            - service: climate.set_temperature
              target:
                entity_id: climate.main_floor
              data:
                temperature: 70
                hvac_mode: heat

        # Only wife home - Set Heat to 72 (resume normal heat schedule)
        - conditions:
            - condition: state
              entity_id: person.wife
              state: 'home'
          sequence:
            - service: button.press
              target:
                entity_id: button.main_floor_clear_hold```
fickle aspen
#

Within the “Choose” options I would either as 1st option or default option I would use

 - conditions:
          - condition: state
            entity_id: person.wife
            state:
              - not_home
          - condition: state
            entity_id: person.me
            state:
              - not_home

and then the required actions. The other code looks OK