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