I can’t figure out how to set my spotlight dimmer to the value of an input_number.
I’ve found out that I can use the input_number value in a notification like this:
{{ states('input_number.bad_kjeller_taklys_settpunkt_bevegelse') | int(0) }}
But I can’t get it to work when setting the device in an automation action.
Anybody who knows what I’m doing wrong here?