2 way switching again with RF

Hi All

Hopefully someone can help me here. I must have read all the 2 way topics on here and many elsewhere several times.
I am trying to configure a tasmota sonoff 3 gang T1 light switch to control my outside, hall and landing lights. all works perfectly apart from the RF switch on the landing. I am trying to use a tasmota sonoff RF bridge and an RF lightswitch to do the ‘2 way’ bit. Currently the RF switch will turn on the landing light, but will not turn it off. I then have to restart Home Assistant and then i can turn the light back on.
Here is my current config.
Thanks SImon

switch:
  • platform: mqtt
    icon: mdi:lightbulb
    name: “Landing Light”
    command_topic: “cmnd/hall_lights/power1”
    state_topic: “stat/hall_lights/POWER1”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: false

    • platform: mqtt
      icon: mdi:lightbulb
      name: “Hall Lights”
      command_topic: “cmnd/hall_lights/power2”
      state_topic: “stat/hall_lights/POWER2”
      qos: 1
      payload_on: “ON”
      payload_off: “OFF”
      retain: false
  • platform: mqtt
    icon: mdi:lightbulb
    name: “Outside Light”
    command_topic: “cmnd/hall_lights/power3”
    state_topic: “stat/hall_lights/POWER3”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: false

binary_sensor:

  • platform: mqtt
    state_topic: tele/RF_Bridge/RESULT
    name: Landing
    value_template: ‘{{value_json.RfReceived.Data}}’
    payload_on: ‘0763C2’
    payload_off: ‘0763C2’
    device_class: light
    optomistic: true
    qos: 1
    retain: true

  • id: Landing_Light_Off
    alias: Landing Light Off
    hide_entity: true
    initial_state: ‘on’
    trigger:

    • platform: state
      entity_id: binary_sensor.landing
      from: ‘on’
      to: ‘off’
      action:
    • service: switch.turn_off
      data:
      entity_id: switch.landing_light
  • id: Landing_Light_On
    alias: Landing Light On
    hide_entity: true
    initial_state: ‘on’
    trigger:

    • platform: state
      entity_id: binary_sensor.landing
      to: ‘on’
      condition:
    • condition: state
      entity_id: switch.landing_light
      state: ‘off’
      action:
      service: switch.turn_on
      data:
      entity_id: switch.landing_light

I used the formatting button, but it appears to have shifted some to the right. not sure why, but is correct in my setup.