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