Logs in Developer Tools

In the Developer tools> logs
these messages started coming since yesterday.
BTW I am using pwmled to control my fans for cpu colling. I have this going on fine for over a week now. Never saw these messages before.
`Light is deprecated, modify PwmSimpleLed to extend LightEntity
1:35:51 PM – Light (WARNING) - message first occurred at 1:35:51 PM and shows up 2 times

2020-05-20 20:42:09 WARNING (MainThread) [homeassistant.components.light] Light is deprecated, modify PwmSimpleLed to extend LightEntity
2020-05-20 20:42:09 WARNING (MainThread) [homeassistant.components.light] Light is deprecated, modify PwmRgbLed to extend LightEntity`

What is required at my end to deal with this deprecation.