Modbus: Noob script fault

Hello all, I am a noob to HA and programming.
Could anyone tell me what I’m doing wrong? I have it working in Domoticz but I’m having a hard time getting it to work in HA.
I’m trying to read my energy meter trough a tcp server? This one below:

Domoticz looks like the below and is working:

In my configuration file I have this:

Screenshot 2022-09-17 132135

What am I doing wrong?
Thanks for the help.

  type: tcp
#
    slave: 27
    address: 8

Thanks for the help nikito7.

1 Like