Modbus tcp/ip write_coil

Dear all,
Please help me with some advice related Modbus integration,I tried to write some coilr in HA,att code,but whith new update they is disabled,i tryed again but no entety found.Any sugestion?

code below…

‘’’’’’’’
modbus:
name: hub1
type: tcp
host: 192.168.0.22
port: 502
close_comm_on_error: true
delay: 5
timeout: 5

switch:
platform: modbus
coils:
- name: ‘Pompa panou’
slave: 1
write_coil: 32
- name: ‘Pompa gradina’
hub: hub1
slave: 1
write_coil: 33
- name: ‘Dimineata’
hub: hub1
slave: 1
write_coil: 34
- name: ‘Seara’
hub: hub1
slave: 1
write_coil: 35
‘’’’