GitHub repository: strelniece/homeassistant-powercalc
Description: Custom component to calculate estimated power consumption of lights and other appliances