I have some smart plugs in home assistant, running on z2m, that report wattage in minus values because they are connected to solar panels. But the KWH values from these plugs stay on 0, they do not support minus values.
How do i get graphs from these plugs, so i can see their values individually but also together, and over time?
You can feed the power readings to the Riemann Sum helper to measure energy. Be sure to use method: left.
To get totals of your individual sensors you can create template sensors (be sure to create an availability template as well to prevent odd readings if one or more sensors becomes unavailable).
To get graphs just add the entities to a history graph card:
i used this and messed around with it, however i see that my graphs and meters are upside down. it starts at 0kwh and the graph drops down. How do i reverse this way of reporting?