Like the enable / disable HomeKit (exclude from HomeKit) option in the advanced settings of a device, it could be very interesting to have the same option to take in account (or not) the power W (measure_power) of a device in the Energy tab.
Sometimes I use Virtual Device to split or group power of some device. In that case, the power is taken many times in the Energy tab and the summary is no more “good” (it’s working as the is the sum of all devices).