Support for Modbus lights

Hi there,

I cannot find anywhere in the documentation support for Modbus lights?

Is it possible to possibly modify the modbus.py that supports switches (maybe) and add a folder ‘lights’ and then save it in my custom_components folder? I know there is no support atm because the logs told me when I tried to add some modbus lights.

That would be very handy. But has anyone else here tried that? Not sure I am up to reinventing the wheel at this point.

Regards and Merry Christmas to all!