I have a component that is categorised as “light” but actually I am using it as a sensor singling an event. Is there a way to change the type of the component so I can set it as “sensor” and so give me the possibility to set the corresponding “device_class”?