Hello,
great work. I am using your flow for both hue switch as the simple tradfri on/off switch. Perhaps I am doing something wrong but in the use case when am decreasing brightness, it becomes a kind reaction game to stop early enough before the brightness get the value of "0". Meaning when i dim down to a low brightness, most of the time the light goes off or actuallu are dimming below 1 .
Is it an option to set a minimum bri when decreasing.