Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105919

Trying to turn on cooling based on temperature state

$
0
0
alias: "High Temperature "
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.thermostat_temperature
    for:
      hours: 0
      minutes: 0
      seconds: 3
    above: "72"
    below: "78"
condition: []
action:
  - device_id: 36e04ece7c7a80d4e2753da280c62ecf
    domain: climate
    entity_id: climate.thermostat
    type: set_hvac_mode
    hvac_mode: cool
  - service: climate.set_temperature
    data:
      temperature: 68
    target:
      device_id: 36e04ece7c7a80d4e2753da280c62ecf
mode: single

This is the automation I’ve made but when a state change occurs in the numeric value (up or down) the automation does not fire. What am I doing wrong?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105919

Trending Articles