Modbus write value and reset to zero

Hello everyone, I’m new here and can’t get any further.
I have already successfully integrated my WAGO 750-841. Can also write and read.

Now in my PLC program I write Bool Register 8192… to control my lamps. The registers 512… are for the digital output. Since I have the lamps running as buttons, I would have to set the set value from 1 to 0. So with every action 1 and 0. So the whole thing runs as a toggle button. Can someone tell me how I should do this when switching, so the regsiter 8192 is only described with 1 then with 0. Do I have to do this with a script? I am despairing.

- unique_id: PCF_in_8213
  name: Küche
  slave: 1
  address: 8213
  scan_interval: 1
  command_on: 1
  command_off: 0
  write_type: coil
  verify:
      input_type: coil
      address: 533
- unique_id: PCF_in_8203     
  name: Wohnzimmer
  slave: 1
  address: 8203
  scan_interval: 1
  command_on: 1
  command_off: 0
  write_type: coil
  verify:
      input_type: coil
      address: 523

Many Thanks