Start the Powercalc config flow, choose Virtual power (library), and pick Roborock → S5 Max.
Add this to your configuration.yaml, replacing light.my_light with your own entity.
powercalc:
sensors:
- entity_id: light.my_light
manufacturer: roborock
model: S5 Max