Help Creating sensor that outputs predefined power amount

Hi!

i am very new at creating sensors, but i wish to do so for two of my panel heaters that only have attributes for when its heating and when its idle.

I have measured the power draw when its heating and i would like to have a binary sensor that outputs 1200w when on and 0 when its off.

This is so that i can ballpark track the power consumption of each heater.

Is there a better way to do this, than to create a sensor?

Any help or link to a similar example would be great!

Thanks!

Binary sensors only report the states true or false. You will need a sensor, not a binary_sensor.

Or you could use this third party integration:

https://community.home-assistant.io/t/powercalc-virtual-power-sensors/318515