Hello
I want to use a value from input_number as a condition for one of my automation. What is the right format to use the variable?
How should I write this here?
Hello
I want to use a value from input_number as a condition for one of my automation. What is the right format to use the variable?
How should I write this here?
thank you very much. this works perfectly.
it also works with ‘for’ this way:
for:
minutes: ‘{{states (’ ‘input_number.kamerlampen_aan_for’ ‘) | int (0)}}’
platform: template
value_template:> -
{{states (‘sensor.aeon_labs_zw100_multisensor_6_luminance’) | int <=
states (‘input_number.limit_value_room_lights’) | int}}
(you have to use the YAML-editor)