Automation Trigger - above: input_number sensor not triggering

I am wanting to automate turning on A/C when temperature sensors reach a configurable temperature, using input_number helper on the dashboard for this (so don’t need to edit the automation if I want to change the temps)

Below is my test automation yaml (just from the trigger section). This action is just used for testing.

If I set the above: to say 25, the automation will trigger when the temp sensor passes 25, however it does not work if I have an input_number set to 25 (yes, I know it will only trigger when the temp sensor passes over the number, so it isn’t that)

According to Home Assistant documentation, I can use an input_number helper as the above and below trigger values, so not sure what is going on, hopefully something silly that I am overlooking!

  trigger:
  - platform: numeric_state
    entity_id: sensor.bedroom_temperature
    above: input_number.bedroom_temperature_hot
  condition: []
  action:
  - service: scene.turn_on
    target:
      entity_id: scene.lounge_purple
    metadata: {}
  mode: single

Thanks for any assistance!

If you are expecting it to be triggered when you change the slider to be below the value of the sensor - it wont. That’s not how this trigger works.

1 Like

Thanks Tom, that appears to be it! I thought it might have been something silly like that i was missing/doing.

To test the set temp, i would hold the sensor so it passed the set point, but i guess moving the slider was easier, so used that.