Performance Modbus to WAGO PLS´s

Hi,
i am using Home Assistant for my private Home project.
before starting HomeAssistant i was using IO-Broker.

in my house i have 3 floors.
for each floor / level i have a separate VAGO Controller to do my electricity stuf
means:

  • blinds
  • lights
  • Heating on or of
  • Window open close sensor
    etc. is handled by WAGO / Codesys

For sure there are also other technologies in use e.g. Zigbee or MQTT.

So what i am now doing:
I am switching over from IO-Broker to Home Assistant.
Since the last 3 days my family complains:
the switch is reacting slower than before.
Switch means in real pushbutton in the wall (reals Hardware connected to a digital input of my WAGO Controller)

What hapens 3 day before?
I started moving the MODBUS configuration into the home Assistant…
to see my update of a switch / or a opened window emediately i did the configuration as followed: (just parts )

modbus:
    # WAGO UG
    - name: "WAGO_UG"
      host: 192.168.178.99
      type: tcp
      port: 502
    # schalter für Automatische Beschattung Rolladen / Raffstores
      switches:   
        - name: Beschattung Kueche 
          write_type: coil
          address: 12304
          scan_interval: 1 
          verify:
            input_type: coil
            address: 12304

        - name: Beschattung EssZimmer (Treppe) 
          write_type: coil
          address: 12305
          scan_interval: 1 
          verify:
            input_type: coil
            address: 12305

        - name: Beschattung EssZimmer (Tal) 
          write_type: coil
          address: 12306
          scan_interval: 1 
          verify:
            input_type: coil
            address: 12306

here are a lot of variables sonfigured (600 lines of code… like theese and still not everything moved to HA)
and each is polled separately.
inside my IO-Broker i did not have to take care about scan interval… i saw a change in the Modbus directly.
in HomeAssistant i have to do the Scan, otherwhise

I am also loosing the connection to my Shelly EM3Pro since then every 3 hours…
(I belive als the shelly is able to do modbus…)
So my feeling is:
The configuration i sid above to use MODBUS is not quite perfect.

is ther someone who uses similar setups
i am looking forward for new ideas / optimizations

Best Regards

Brenny