How to change above, below value of sensor from dashboard

Hi, in my automation I set value below, above of sensor, but I would like to change this value from my dashboard. I looked through tutorials and other posts, but didn’t find a solution how to do it.

type: value
platform: device
device_id: xx
entity_id: xxxx
domain: sensor
below: 60

id: auto_irrigation_on

I tried using input_number helper, but I get error: Message malformed: expected float for dictionary value @ data[‘below’]

below: "{{ states.input_number.value_test.state | int }}"

Any solutions?

I suggest you use a Numeric State Trigger which permits you to specify an Input Number entity for above and below.


    - platform: numeric_state
      entity_id: sensor.outside_temperature
      below: input_number.value_test
1 Like

Ok, I get it know, thanks.

1 Like