Modbus SDM120 through TCP Gateway not working

Hello,
I have an SDM120m for current measurement. I have connected this via Modbus to a Waveshare RS485 to ETH gateway.
When I use the QModMaster tool to query input register 12 (Decimal), I get the correct current measured in watts.
image

Unfortunately, this does not work at all in Home Assistant 2024.2.x and 2024.3.0.
I tested it with the following configuration:

- name: "Waveshare"
    type: tcp
    host: 192.168.178.210
    port: 502
    sensors:
      - name: "Buro_instant_power"
        unit_of_measurement: W
        slave: 1
        address: 30012
        input_type: input
        precision: 3
        scan_interval: 10
        device_class: Power
        state_class: measurement
        data_type: float32

Unfortunately, it always returns a value of 107,000,674,000 or 231,000,456,334 or sometimes a minus value, or simply 0.0

So basically the Waveshare Gateway seems to work, otherwise QModMaster would not deliver the correct value. However, Home Assistant seems to tick differently in the configuration.
I have the registers from the instructions here

image

Thanks for your help

Have you tried setting the Transfer Protocol in the waveshare device to Modbus_TCP_Protocol?