Shelly devices are not updating Energy entity (kWh) ?!

Interesting. This post was just made too:

https://community.home-assistant.io/t/shelly-em-power-kwh-always-zero-but-wattage-kw-reading-fine-why/434004

I suggest you make the same checks as detailed there. What devices are you using?