Sonoff rf switch to turn yeelight

I need some help
I have a yeelight ceiling light that works well with HA, however I want to be able to turn it on/off via a standard wall switch
I have a sonoff rf bridge and I can see the sensor turning on/ff on HA, however, I don’t seem to be able to “trigger” the light on ( I can actually turn on/off the lamp using the developer tools’s tates)
Here is my configuration.yaml:

binary sensor:

  • platform: mqtt
    name: “Spare switch”
    state_topic: “tele/sonoffrf/RESULT”
    value_template: ‘{{value_json.RfReceived.Data}}’
    payload_on: “36E358”
    payload_off: “36E358off”
    qos: 1
    off_delay: 1

automation.yaml:

- id: '1553198413246'

alias: jon_turn_light_on
trigger:

  • event_data:
    click_type: single
    entity_id: binary_sensor.spare_switch
    event_type: click
    platform: event
    action:
  • data:
    entity_id: light.jon_s_bedroom
    entity_id: light.jon_s_bedroom
    service: light.toggle

As I said, I can see the sensor on the HA Overview page turning on/off when I push the switch, but the light doesn’t turn at all
It seems to me that the trigger is not happening, but don’t know why

Any help will be appreciated