Add changeState function for light_dimmer and set state of the dimmer but i don't know how to change the luminosity yet.