Home Assistant with WAGO PLC - not working

Hi,
i want to connect my wago with home assistant, but it is still not working.

at the Wago, MX Adresses are created for communication, this is working add fhem.

example:

SW_M_Output_O_WZ_S_TER AT %MX16.5 :BOOL; (12550)
SW_M_Output_O_DRAUSSEN_TOR AT %MX16.6 :BOOL; (12551)
SW_M_Output_O_Ter_S1 AT %MX16.7 :BOOL; (12552)
SW_M_Output_O_ArbeitBr_S AT %MX16.8 :BOOL; (12553)
SW_M_Output_O_SOUND_S AT %MX16.9 :BOOL; (12554)
SW_M_Output_O_48VNetzteil AT %MX16.10 :BOOL; (12555)
SW_M_Output_O_ArbeitLicht48 AT %MX16.11 :BOOL; (12556)
SW_M_Output_O_HausnummerLicht AT %MX16.12 :BOOL; (12557)
SW_M_Output_O_GaesteLicht48 AT %MX16.13 :BOOL; (12558)
SW_M_Output_O_ArbeitSW_S AT %MX16.14 :BOOL; (12559)
SW_M_Output_O_ArbeitWS_S AT %MX16.15 :BOOL; (12560)
SW_M_Output_O_FLObenLicht AT %MX17.0 :BOOL; (12561)
SW_M_Output_O_FLObenBewegungLicht AT %MX17.1 :BOOL; (12562)

How can i use it in home assistant?

this is not working:
modbus:

  • name: wago
    type: tcp
    host: 172.16.222.1
    port: 502
    timeout: 5
    delay: 5

switch:
platform: modbus

hub: wago

slave: 1
coils:
  - name: Licht Buero
    coil: 12288
  - name: Testing     # could be changed

slave: 1

    coil: 12562           # the register position of the variable
    address: 12562
  - name: SW_M_Output_O_FLObenBewegungLicht
    address: 12561
    command_on: 1
    command_off: 0
    write_type: coil
    verify:
        input_type: coil
        address: 12561
  - name: "2"
    address: 12563

write_type: coil

  - name: "3"
    address: 12560

write_type: coil

  - name: "4"
    address: 12562

write_type: coil

  - name: "5"
    address: 12563

write_type: coil

Hi,
Out of curiosity, did you fix this issue?
Regards!