Hello, I have a value of energy system that can be positive as well as negative. I would like to create two counters that separately store the sum of all negative values and the sum of all positive values. Does anyone have a solution for this? Thanks already.
You can use a template sensor to split the energy values into two sensors then use utility meters to track them.