Automation rule with variable (trigger)

Hi community,

i need a automation rule, hope this is possible:

  • i have created a helper “input_number.wert” (voltage)
  • this helper is adjustable with a slidebar in lovelace

now i need a trigger:
if “sensor.voltmeter” is lower then “input_number.wert”

how to realize with a variable value and not state? (see picture)

thank you in advance
andy

Use a numeric state trigger instead:

Notes:

  1. this will only trigger when your sensor crosses the threshold value
  2. changes in the input_number entity will not cause a trigger (see here for details).