In the last few weeks I have been working on a custom component to get virtual power sensors for your lights or other devices. It is stable enough right now to share it on this forum and make dedicated topic for it.
The component provides multiple strategies to calculate estimated power consumption. One of the most interesting is the LUT method (using lookup tables). Some community members and me have taken measurements for all kind of different brightness/hue/saturation settings and their respective power values.
For coloured lights that are approximately 40.000 unique data points. Currently 15 light models are supported for this method (mostly Philips Hue), but this will keep extending.
Besides this you can also define the power values of a device yourself using
linear mode and
fixed value. With a few lines of configuration you can have a power sensor for your appliance.
You can make all kind of cool dashboards with this data, and see the power consumption of individual devices in your entire home. And optimize your power consumption.
Let me know if this is useful in your installation. Any question, shoot.