Sonoff t1 UK 2 channel MQTT configuration help please

Thanks for the help guys. I just got them to work using:

  • platform: mqtt
    name: “Workshop lights”
    state_topic: “stat/OfficeSwitch/POWER1”
    command_topic: “cmnd/OfficeSwitch/POWER1”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true

  • platform: mqtt
    name: “Office lights”
    state_topic: “stat/OfficeSwitch/POWER2”
    command_topic: “cmnd/OfficeSwitch/POWER2”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true

I’m not sure why that’s different from my original version but it’s working!