Modbus RTU

Hello
this is my first experience with HA … and I already need help.

I would like read data from an industrial PLC with modbus TCP IP protocol
I have found examples of modbus integrations:


I implemented the code on configuration.yaml but but I have an error in entity menù (sorry for italian):
Questa entità non ha un ID univoco, pertanto le sue impostazioni non possono essere gestite dall’Interfaccia Utente- Translate = This entity does not have a unique ID, therefore its settings cannot be managed from the User Interface.

I have the same errors for coil and register.

Can you help me?
Thanks

I have the same problem. did u solve it ?

I have set the “port” parameter correctly (502 in my application)

modbus:

  • name: hub1
    type: tcp
    host: xxx.xxx.xxx.xxx
    port: 502