Manage brightness level of a lamp in the "room device" section

Be able to control the brightness of a lamp (0-100%) in the « room devices » box. Check if the already developed works (or not?)