HA Mqtt to domoticz

I have a relay board with a rpi 3b running domoticz and working. Now i want to control the relay’s and some dummy switches on domoticz from home assistant.

I can get is to show up on mqtt with the output below. Butt everything i try to add to my configuration.yaml results in to a bad configuration. any help is welcome.

{
    "Battery": 255,
    "LastUpdate": "2022-04-03 22:34:26",
    "RSSI": 12,
    "description": "",
    "dtype": "Lighting 2",
    "hwid": "2",
    "id": "30E0E02",
    "idx": 3,
    "name": "CH1",
    "nvalue": 1,
    "stype": "AC",
    "svalue1": "0",
    "switchType": "On/Off",
    "unit": 5
}