Input Number (Slider) not updating into the Automation Script

First time asking for some help… Thanks in advance as I learn…
I’m trying to create a input_number (slider) form that will be used to update a value in my automation. It seems that even though I slide/change the number, the automation doesn’t seem to catch the change. Is there something that maybe i’m missing to ensure that once the value is changed, the automation finds the latest number. It works when i manually run the automation, but it’s not changing when i change it via lovelace frontend. Any help would be appreciated. THANKS!!!

Here is the helper setup from the UI
input_number.freezer_set_point - slider, my input value that then feeds to the automation, using this is a numerical value

- id: '1648562250730'
  alias: Activate Freezer alarm (HIGH TEMP)
  description: ''
  trigger:
  - platform: numeric_state
    entity_id: sensor.bme280_2_temperature
    above: input_number.freezer_set_point
  condition: []
  action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.red_led2
  - service: notify.whatsapp_mark
    data:
      message: FREEZER HOT
  - delay:
      hours: 0
      minutes: 0
      seconds: 30
      milliseconds: 0
  mode: single

The trigger is not monitoring your slider, only the sensor. If the sensor changes home assistant then checks to see if the sensor state is above the input_number state. This was noted when this feature was introduced and is expected behaviour.

If you want to monitor both entities for changes you can use a template trigger:

  trigger:
  - platform: template
    value_template: "{{ states('sensor.bme280_2_temperature')|float(0) > states('input_number.freezer_set_point')|float(0) }}"
2 Likes