Configuration mod to send command just once (AC off)

I’ve automated my (dumb, IR remote controlled) AC to turn on in cooling mode at a specific high room temperature, in dehumidification at a specific humidity and in heating mode at a specific low temperature.
Other automations turn the AC off when their set points are reached.
I’m using a WiFi to IR bridge to do that.
My problem is that the AC-off automation seems to tell the AC every 5 to 20 minutes to turn off when it is already off. It just makes a beep every time that happens.
It’s standard remote has an on-off button, so the automations don’t mimic that exactly (you can’t turn it off twice with the remote, it just turns it back on, of course).
So how can I write the automation to only execute the “off” command just once?
Here is my yaml to switch off from cooling.:

alias: AC off
description: ""
triggers:
  - trigger: state
    entity_id: sensor.lounge_t_h_temperature
conditions:
  - condition: numeric_state
    entity_id: sensor.lounge_t_h_temperature
    below: 25
actions:
  - action: scene.turn_on
    target:
      area_id: living_room
      entity_id: scene.aircon_off
    data: {}
mode: single

The “entity_id: scene.aircon_off” is a Tuya “scene” for the IR bridge…
Cheers,
Joe

I think using an additional condition, only allowing the automation to run if the AC is running AND the temperature is <25, would work.

Thanks. That makes sense!
Like this?

alias: AC off
description: ""
triggers:
  - trigger: state
    entity_id: sensor.lounge_t_h_temperature
conditions:
  - condition: numeric_state
    entity_id: sensor.lounge_t_h_temperature
    below: 25
  - condition: state
    entity_id: automation.ac_turn_on
    state: "on"
actions:
  - action: scene.turn_on
    target:
      entity_id: scene.aircon_off
    data: {}
mode: single

It’s still beeping when it’s off. I’m guessing that it’s being sent the “off” signal each time.
How would HA “know” that the current state was “off”? There is nothing I can see that would be able to give that feedback.

I intend to put a current clamp and WiFi power meter on the AC circuit in the future.
After that, I could put a condition in this yaml to check if there is a certain current being drawn by the AC, and only issue the off command if there is…?