Smart HVAC system

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

Maybe I’m missing it, but I don’t see in that graph where it drops BELOW 20 and isn’t already heating.

Sorry, I manually started it.

Same for when the target temperature is reached, but doesn’t turn off. My indoor temperature is 22.5 now, but it doesn’t shut off.

Do these need to be inverted? I’m having trouble following your logic as it is.

I want our traditional heating system to kick in when the temperature drops below 19, because this also allows heating of other rooms, instead of only the living room.

Edit: It seems the current temperature i get via the LG App and LG air-conditioner differ around 2.5 degrees. The LG app displays the higher temperature.

I had a similar challenge initially. First, double-check the automation settings. Ensure the timing aligns perfectly with your preferences and the accurate temperature thresholds. Calibration issues or minor glitches can affect the system’s responsiveness.
I stumbled upon some great insights about optimizing smart HVAC systems when seeking the best way to get hvac leads. Local forums are a goldmine for troubleshooting tips.
If everything seems set, but it still doesn’t kick in automatically, try contacting the tech support for your specific system. Good luck!