Hello, I have integrated a tasmota sonoff ch pro 4 that appears in the entities, but it does not show me enabled its functionalities, I have applied the following code

light:

  • platform: mqtt
    name: “Channel 1”
    state_topic: “stat/sonoff4Chan/POWER1”
    command_topic: “cmnd/sonoff4Chan/POWER1”
    availability_topic: “tele/sonoff4Chan/LWT”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    payload_available: “Online”
    payload_not_available: “Offline”
    retain: false

  • platform: mqtt
    name: “Channel 2”
    state_topic: “stat/sonoff4Chan/POWER2”
    command_topic: “cmnd/sonoff4Chan/POWER2”
    availability_topic: “tele/sonoff4Chan/LWT”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    payload_available: “Online”
    payload_not_available: “Offline”
    retain: false

  • platform: mqtt
    name: “Channel 3”
    state_topic: “stat/sonoff4Chan/POWER3”
    command_topic: “cmnd/sonoff4Chan/POWER3”
    availability_topic: “tele/sonoff4Chan/LWT”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    payload_available: “Online”
    payload_not_available: “Offline”
    retain: false

  • platform: mqtt
    name: “Channel 4”
    state_topic: “stat/sonoff4Chan/POWER4”
    command_topic: “cmnd/sonoff4Chan/POWER4”
    availability_topic: “tele/sonoff4Chan/LWT”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    payload_available: “Online”
    payload_not_available: “Offline”
    retain: false

I have changed the topics for my own assigned in tasmota it does not occur to me that another fault may have

example

Please post your code properly.

I just need to activate its features because I can already see them integrated into homeaistant,

I also looked at the tasmota configuration and I can see that it is connected

Is this what I have in the yam configuration that I could do?

What I would do is

open the tasmota web page for that Sonoff 4 channel

and goto the consloe and press the R1 R2 R3 R4 and see what the console is showing and paste then here