Start the Powercalc config flow, choose Virtual power (library), and pick Tuya → TYC-300mm-Z.
Add this to your configuration.yaml, replacing light.my_light with your own entity.
powercalc:
sensors:
- entity_id: light.my_light
manufacturer: tuya
model: TYC-300mm-Z