Need some advice, trying to create an automation for thermostat, when Temp drops below 17c then boost for 1 hour

I have created the automation and everything looks ok, but the trigger never kicks in.

Where am I going wrong?

I believe the Hive does a refresh every 30 seconds or so.
and I can see that the temp does indeed change.

alias: Hive Auto boost when below 17.5c
description: ""
trigger:
  - platform: device
    device_id: 443600d819fcb00320d873c671750bde
    domain: climate
    entity_id: 16bad75e1fdde8427cbaad40827ba603
    type: current_temperature_changed
    below: 17.5
condition:
  - condition: time
    after: "07:00:00"
    before: "21:30:00"
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
      - sun
action:
  - service: hive.boost_heating_on
    data:
      entity_id: climate.thermostat
      time_period: "01:00:00"
      temperature: 22
mode: single

This will only trigger when the temperature goes from 18C to 17C. After that it will not trigger again until the temperature rises above 17.5, then goes down again. Is that what you were expecting?

Also, you might be better using an entity state trigger. On mine this would be:

platform: numeric_state
entity_id:
  - climate.hallway
below: 17.5

Easier to follow when you come back to it in six months time.

Thanks for the reply.

I just found another article that had this setup.

alias: New Automation
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.thermostat_current_temperature
condition: []
action:
  - choose:
      - conditions:
          - alias: If temperature is above 22C at any time
            condition: numeric_state
            entity_id: sensor.thermostat_current_temperature
            above: 21
        sequence:
          - service: notify.mobile_app_ac2003
            metadata: {}
            data:
              title: Hive
              message: Heating off
      - conditions:
          - alias: Day time
            condition: and
            conditions:
              - alias: Temperature is below 18C
                condition: numeric_state
                entity_id: sensor.thermostat_current_temperature
                below: 18
              - condition: time
                after: "07:00:00"
                before: "22:00:00"
                alias: It's day time
        sequence:
          - service: notify.mobile_app_ac2003
            metadata: {}
            data:
              title: Hive
              message: "Heating on "
mode: single```

What i would like to do is boost for an hour when it drops lets say below 18c 
and then wait x time before it boosts again?

Ok Version 2.

alias: Hive Auto V1
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.thermostat_current_temperature
condition: []
action:
  - choose:
      - conditions:
          - alias: If temperature is above 22C at any time
            condition: numeric_state
            entity_id: sensor.thermostat_current_temperature
            above: 21
        sequence:
          - service: notify.mobile_app_ac2003
            metadata: {}
            data:
              title: Hive
              message: Heating off
      - conditions:
          - alias: Day time
            condition: and
            conditions:
              - alias: Temperature is below 18C
                condition: numeric_state
                entity_id: sensor.thermostat_current_temperature
                below: 18
              - alias: It's day time
                condition: time
                after: "07:00:00"
                before: "21:30:00"
                weekday:
                  - sun
                  - sat
                  - mon
                  - tue
                  - wed
                  - thu
                  - fri
        sequence:
          - service: notify.mobile_app_ac2003
            metadata: {}
            data:
              title: Hive
              message: "Heating on "
          - service: hive.boost_heating_on
            data:
              entity_id: climate.thermostat
              time_period: "01:00:00"
              temperature: 21
          - delay:
              hours: 1
              minutes: 0
              seconds: 0
              milliseconds: 0
mode: single

The delay for 1 hour will that stop the automation for 1 hour?