Simple flow to increase brightness

Thanks for the detailed response Peter, I tried exactly as you said but it still didn’t work - see the screenshot for the logic in case I misunderstood. The flow always results in the lights dimming to the same level.

From here I reasoned that maybe I needed to declare the variable dim_level_var
So I added in the card Calculate dim_level_var as Dim level (Dim level is the standard variable that I can see when interrogating the bulbs). Unfortunately this didn’t work either…

Then I decided to check the value of dim_level_var by adding an additional card to create a notification with dim_level_var. I did this for both of the above flows. Both times the value was NaN. At least now I can see why it isn’t working, but I have run out of ideas to solve it…
I’m using an ikea switch and Wizz bulbs, in case the route of problem is the hardware, although I doubt it.

Any ideas?

What happens if you store the dim level to a text-variable?

In my case it reads 0.35

In the logic card you have typed the variable name, but you have to select the tag in the calculation field.

edit:
I forgot something: you have to assign a value to the variable dim_level_var via the Variables button before running.

1 Like

Thank you @ReneO this is the simple part that I was missing. Working properly now, for some reason I didn’t see the variable tag.