Home Assistant automation turning AC On and Off immediately

Hey guys. I was wondering if you could help me out with a minor problem. I have setup an automation to turn on the aircon and set the fan mode to high every 03:00 PM. Here’s the YAML file

alias: Living Room AC On
description: ""
triggers:
  - at: "15:56:00"
    trigger: time
conditions: []
actions:
  - target:
      device_id: 5338ef8587dde5fb213deb436167a934
    action: climate.turn_on
    data: {}
  - data:
      fan_mode: high
    target:
      device_id: 5338ef8587dde5fb213deb436167a934
    action: climate.set_fan_mode
mode: single

Can I please ask any one of your help to debug the issue that I’m facing. I’m thinking it has something to do with triggering the fan mode and it sets the AC power to off for some reason.

Hi, please try to use climate.set_hvac_mode instead of climate.turn_on

alias: Living Room AC On
description: ""
triggers:
  - trigger: time
    at: "15:56:00"
conditions: []
actions:
  - action: climate.set_hvac_mode
    data:
      hvac_mode: cool
    target:
      device_id: 5338ef8587dde5fb213deb436167a934
  - delay: 1 # wait a bit, otherwise the next service call may fail
  - action: climate.set_fan_mode
    data:
      fan_mode: high
    target:
      device_id: 5338ef8587dde5fb213deb436167a934
mode: single