Bewildered:
https://www.se.com/nz/en/product/A9C15030/ict-plus-20a-1p-uc-230vac/
A year ago I had the thought about Modbus energy meters... Such as the iEM2455 - 230V - 100A (https://www.se.com/nz/en/product/A9MEM2455/)
Modbus also gives the option to have multiple of these energy meters on a single communication line (they each have an address).
I've used a cheap DC voltage/current meter which outputs as RS485 'Modbus' into a ESP32 running ESPHome into Home Assistant. It works perfectly fine and modbus is a supported communication within ESPHome.
Not something as easy as a Shelley EM sorry.