How did you end up solving this? I have created an add-on for this purpose:Home Assistant Add-on: SMA Energy Meter emulator