I find the ST Energy app is well structured and visually attractive, but the limitation on devices makes it almost useless for controlling the total energy consumption of a home.
This driver by @TapioX lets me group any number of power devices, compatible or incompatible with ST Energy, to track energy consumption using API Rules. With a little thought, a series of groups, by zone, rooms or type can be created to map out the entire home energy consumption.
Then, with the same driver, in the case of devices that are more difficult to measure, e.g AC, we can also create individual virtual power devices that can be triggered by a simple routine, specifying the nominal set power on the device tile. These can be calculated in the same API Rule as a normal power device , but they must be bracketed with “IF switched on”.
I have here 3 groups, with 4 Aqara plugs (also controlled in ST Energy!), 2 AC’s and various Tuya and other outlets with another virtual device. The calculated value of my AC can be seen here in its group.
.
Using @Mariano_Colmenarejo 's NumberField & Calculator, plus his Virtual Calendar, I have a Rule that copies, at Saturady midnight, the energy consumption for each week to a different number field, and then resets, allowing use of the average calculation to show continually a rolling weekly average as seen here on the Energy Trackings on the left.
The sum of these weekly calculated values can be compared to the reading supplied by the electricity supplier (at least where I am we have here a simple web interface to compare). A final small variation could be compensated by creating another virtual power device, but as a “wildcard” value that could be entered manually and so can modified to make the values coincide with the electricity companies’ feed
Trying out now using Node-Red to have Alexa announce daily energy meters.


