#Can I get a double check on this, wife's annoyed with temperature control, I think I have it right

1 messages · Page 1 of 1 (latest)

sterile wharf
#

alias: Set Thermostat to 60 when everyone leaves
description: ""
triggers:

  • trigger: state
    entity_id:
    • person.aaron
    • person.lindsey
    • person.jude
      to: not_home
      conditions:
  • condition: numeric_state
    entity_id: sensor.gw1100b_outdoor_temperature
    above: 0
  • condition: and
    conditions:
    • condition: not
      conditions:
      • condition: state
        entity_id: person.aaron
        state: home
      • condition: state
        entity_id: person.lindsey
        state: home
      • condition: state
        entity_id: person.jude
        state: home
        actions:
  • action: climate.set_temperature
    metadata: {}
    data:
    hvac_mode: heat
    target_temp_high: 74
    target_temp_low: 60
    target:
    device_id: 97c5954ad3aeabe343fffe61f429554e
    mode: single

All its supposed to do is turn the temp to 60 if everyone leaves the home and its above 0

tawny kernel
#

use three back ticks (the button to the left of the 1 on your key board) to format yaml