Switch on off through Sonoff RF Bridge

Managed to flash it to tasmota and then create a binary sensor in home assistant. But what I want to is setup a 433mhz switch and then turn it on and off through home assistant. Anyone got any examples of code for this.

manage to answer this myself.

  - service: mqtt.publish
      payload: '#AABBCCD'
      qos: 1
      topic: cmnd/rfbridge/rfcode