I have various lights in my apartment that are controlled with tasmota relay or dimmer controls that do not have power monitoring built in. Assuming I know the power usage of each light, is there a way to setup a “calculated” power sensor in HA based on if the light is on and possibly the dimming level?
Have a look at the Powercalc custom component, it’s available in HACS, it does this and more