I reckon comment out all the optional MODBUS lines and just enable one at a time until it works.
I think my issue was scripts spamming different write registers without delay. I gave it some slack adding 1 minute delay between all actions so the write registers had enough time to register. Working better for now
I can add to this that I still had issues with my SRNE inverter with a waveshare modbus gateway connected to it. It was slow and a register write could take 10 minutes. This weekend I tried to add other attributes to the config:
Added these lines and after that everything got responsive again
message_wait_milliseconds: 30
timeout: 5
- type: rtuovertcp
host: 192.168.1.30
port: 8888
name: modbus_tcp
message_wait_milliseconds: 30
timeout: 5