Automation not working right

I created 2 different automation to increase and decrease the temperature at different times and when the room is above or below a specific temperature. When I manually run them, they just set the temperature in the action: settings. But when I run the script, they work fine.

Automation

alias: Above 22.5°C
description: ""
triggers:
  - type: temperature
    device_id: c438dd5b4b156cfc1bf339f2b83835a3
    entity_id: 95c97a79be8c78e4ff98d4071949132b
    domain: sensor
    trigger: device
    above: 22.5
conditions:
  - condition: time
    after: "02:45:00"
    before: "15:45:00"
actions:
  - action: climate.set_temperature
    metadata: {}
    data:
      temperature: 21
    target:
      device_id: c438dd5b4b156cfc1bf339f2b83835a3
mode: single
alias: Below 21.5°C
description: ""
triggers:
  - type: temperature
    device_id: c438dd5b4b156cfc1bf339f2b83835a3
    entity_id: 95c97a79be8c78e4ff98d4071949132b
    domain: sensor
    trigger: device
    below: 21.5
conditions:
  - condition: time
    after: "02:45:00"
    before: "15:45:00"
actions:
  - action: climate.set_temperature
    metadata: {}
    data:
      temperature: 22.5
    target:
      device_id: c438dd5b4b156cfc1bf339f2b83835a3
mode: single

Scripts

alias: above 22.5
sequence:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.ecodon_zone_1_room_temperature
            above: 22.5
          - condition: and
            conditions:
              - condition: time
                after: "02:45:00"
                before: "15:45:00"
        sequence:
          - action: climate.set_temperature
            metadata: {}
            data:
              temperature: 21
            target:
              entity_id: climate.ecodon_zone_1
description: ""

alias: below 21.5
sequence:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.ecodon_zone_1_room_temperature
            below: 21.5
          - condition: time
            after: "02:45:00"
            before: "15:45:00"
        sequence:
          - action: climate.set_temperature
            metadata: {}
            data:
              temperature: 22
            target:
              entity_id: climate.ecodon_zone_1
description: ""

When you run an automation from the “three dots” menu, it just runs the action part - triggers and conditions are ignored.

To test conditions as well you can run the automation in Developer Tools | Actions with the command Automation: trigger - but make sure you turn off the “skip conditions” switch.

To test the whole thing, including the trigger, you can temporarily change the value of the trigger sensor in Developer Tools | States to one which will fire the automation.

You probably know this already, but just in case… Your automations will not fire when the room is above or below a specific temperature. They will fire when the room changes from being below the target temperature to being above it (or vice versa). A trigger is not a state, but a change of state.

This means that when testing, if the automation is supposed to fire when the temperature drops below 21.5, you have to start the test with the temperature above 21.5.