Refoss EM06 power meter - how to accumulate energy month after month

Hello! I own a Refoss EM06 power meter, which provides me with the readings of electrical power (kW) consumption on 6 channels. Each channel also has an energy reading (kWh). However, this energy reading resets to zero every month, so I have no history of my energy consumption month after month. Therefore, the history looks like this, and my data is completely useless.

How can I workaround this problem?

Thank you!

I strongly suspect this is due to the counters being of type “total”, rather than “total increasing”, defined here. And described here: New sensor state class: total | Home Assistant Developer Docs

I have no idea how this could be addressed unless one is the developer of the plugin, and whether or not this might cause issues with electricity being fed back (maybe two separate counters are needed).