In some cases, such as flashlights or home lighting fixtures, there is a need to adjust the brightness of the glow.
Great inquiry. Unfortunately at this time we do not support changing the brightness of the devices flashlight. Nor do we have a block that will turn the light on or off. Sounds like a cool feature.
What kind of app are you trying to build that would use this?