Flow don't trigger when I turn light on

Hi peeps. There are two things I don’t understand here:

  1. I’m expecting this flow to trigger when the light “Taklampe gangen” is turned on. I turned the light on via the homey app, but it does not trigger the flow. If I have used the “Turned on” card wrong, please advice on how it is supposed to work.
  2. If i test the flow the light is not dimmed at the value in the given variable. If I remove the variable and enter a value it works fine. Also noticed now that the dim card things all my variabled are empty(they are not).


I figured out why the dim variable don’t work(there’s a hint in the second screenshot I posted). It’s supposed to be a value between 0-1. I used a value between 0-100.