Hello everyone,
I’m trying to make my HVAC system smart, but it doesn’t seem to be working properly - am i doing something wrong?
I want it to start heating a 7.15, or when the room temperature drops below <21 for 5 min and stop when nobody is at home. And shut off at 21.00.
It doesn’t seem to be turning on my air-conditioning. If i run the automation manually it does seem to work though.
This is my automation:
- id: '1699694869578'
alias: HVAC Stop
description: When current temperature >21.
trigger:
- platform: numeric_state
entity_id:
- climate.woonkamer
for:
hours: 0
minutes: 5
seconds: 0
attribute: current_temperature
above: 21
- platform: time
at: '21:00:00'
enabled: true
- platform: state
entity_id:
- group.presence_home
for:
hours: 0
minutes: 10
seconds: 0
enabled: true
to: not_home
condition:
- condition: or
conditions:
- condition: state
entity_id: climate.woonkamer
state: heat
for:
hours: 0
minutes: 0
seconds: 0
- condition: state
entity_id: climate.woonkamer
state: dry
for:
hours: 0
minutes: 0
seconds: 0
- condition: state
entity_id: climate.woonkamer
state: cool
for:
hours: 0
minutes: 0
seconds: 0
- condition: state
entity_id: climate.woonkamer
state: fan_only
for:
hours: 0
minutes: 0
seconds: 0
- condition: state
entity_id: climate.woonkamer
state: heat_cool
for:
hours: 0
minutes: 0
seconds: 0
action:
- device_id: 9a0f3efaef9a9fbb4bd745ad6bf69991
domain: climate
entity_id: e18bd8463ab02281dfdb71be7e81482a
type: set_hvac_mode
hvac_mode: 'off'
- condition: state
entity_id: climate.woonkamer
state: 'off'
for:
hours: 0
minutes: 5
seconds: 0
mode: single
- id: '1699695167571'
alias: HVAC Heat
description: When current temperature is <20.
trigger:
- platform: numeric_state
entity_id:
- climate.woonkamer
for:
hours: 0
minutes: 5
seconds: 0
attribute: current_temperature
below: 21
- platform: time
at: 07:05:00
condition:
- condition: time
after: 07:00:00
before: '21:00:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
- condition: state
entity_id: group.presence_home
state: home
for:
hours: 0
minutes: 5
seconds: 0
action:
- device_id: 9a0f3efaef9a9fbb4bd745ad6bf69991
domain: climate
entity_id: e18bd8463ab02281dfdb71be7e81482a
type: set_hvac_mode
hvac_mode: heat
mode: single
- id: '1699695392576'
alias: HVAC Cool
description: When current temperature is >24.
trigger:
- platform: numeric_state
entity_id:
- climate.woonkamer
for:
hours: 0
minutes: 5
seconds: 0
attribute: current_temperature
above: 24
condition:
- condition: state
entity_id: group.presence_home
state: home
for:
hours: 0
minutes: 10
seconds: 0
- condition: sun
after: sunrise
before: sunset
- condition: numeric_state
entity_id: sensor.openweathermap_forecast_temperature
above: 25
action:
- device_id: 9a0f3efaef9a9fbb4bd745ad6bf69991
domain: climate
entity_id: e18bd8463ab02281dfdb71be7e81482a
type: set_hvac_mode
hvac_mode: cool
mode: single
- id: '1699793925373'
alias: Not Home
description: ''
trigger:
- platform: state
entity_id:
- group.presence_home
to: not_home
from: home
for:
hours: 0
minutes: 10
seconds: 0
condition: []
action: []
mode: single
- id: '1699793976456'
alias: Home
description: ''
trigger:
- platform: state
entity_id:
- group.presence_home
to: home
from: not_home
for:
hours: 0
minutes: 10
seconds: 0
condition: []
action: []
mode: single
- id: '1699800087178'
alias: HVAC Start
description: Start HVAC in the morning
trigger:
- platform: time
at: 07:15:00
condition:
- condition: state
entity_id: group.presence_home
state: home
for:
hours: 0
minutes: 5
seconds: 0
action:
- if:
- condition: numeric_state
entity_id: climate.woonkamer
above: 0
attribute: current_temperature
below: 19
then:
- device_id: 9a0f3efaef9a9fbb4bd745ad6bf69991
domain: climate
entity_id: e18bd8463ab02281dfdb71be7e81482a
type: set_hvac_mode
hvac_mode: heat
mode: single