Strange behavior of my aircons

I have 3 aircons of Samsung, wich I integrated with Smarthings in HA.

I made an automatisation that switch on these aircons in the morning. Also when I leave my home these aircons shut off and switch back on when I come home.

Sometimes it works fine, but sometimes there is one aircon (not always the same) who didn’t switch on. For the moment I solved it to switch them back on again after 1 minuut :wink:

Now I send myself an e-mail when an aircon is switch off or on and I saw a strange thing. In fact, the aircon switch on but immediatly it goes off. Here are my e-mails :

Schermafbeelding 2022-01-07 075036

On 7:45 my 3 aircons switch off and on 7:47 they switch back on, but one (Airco living rechts) is switched off again. After 1 minute it is switched on again.

The 2 aircons in my living are switched on within the same script :

  - choose:
      - conditions:
          - condition: state
            entity_id: input_boolean.toggle_airco_living
            state: 'on'
        sequence:
          - service: script.switch_airco_x_op_y_graden
            data:
              temperature: >-
                {{
                states('input_number.temperatuur_airco_living_tijdens_de_dag')}}
              entity_id: climate.airco_living_links, climate.airco_living_rechts
    default: []


alias: 'Switch : Airco x op y graden'
description: Set airco mode to heat and set temperature
fields:
  temperature:
    description: The temperature to set the airco at
    default: 22
    example: '21'
  entity_id:
    description: The climate entity you want to control
    default: climate.airco_gang
    example: climate.airco_gang
sequence:
  - service: climate.turn_on
    target:
      entity_id: '{{ entity_id }}'
  - service: climate.set_hvac_mode
    target:
      entity_id: '{{ entity_id }}'
    data:
      hvac_mode: heat
  - service: climate.set_temperature
    data:
      temperature: '{{ temperature }}'
    target:
      entity_id: '{{ entity_id }}'
  - service: climate.set_fan_mode
    data:
      fan_mode: auto
    target:
      entity_id: '{{ entity_id }}'
mode: single

Any idea ?