T1 3Gang MQTT HA

Hello,
i’m triyng to configure a sonoff t1 3 gang with HA;

i have already several sonoffs basic with following setup:

- platform: mqtt
name: "Luci Balcone Cucina"
state_topic: "stat/Sonoff_Luci_Balcone_Cucina/POWER"
command_topic: "cmnd/Sonoff_Luci_Balcone_Cucina/POWER"
availability_topic: "tele/Sonoff_Luci_Balcone_Cucina/LWT" 
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true

then i have bought a t1 gang 3:
With the following setup dont works:

 - platform: mqtt
name: "Luci Divano"
state_topic: "stat/Sonoff_Luci_Soggiorno/POWER1"
command_topic: "cmnd/Sonoff_Luci_Soggiorno/POWER1"
availability_topic: "tele/Sonoff_Luci_Soggiorno/LWT1"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true

same for other two switch in T1.

If i remove

availability_topic: "tele/Sonoff_Luci_Soggiorno/LWT1"

It come back to works. Please Help, i dont understand why it doesnt work.

This is my setup for the 2 gang and that works for me. This is for the left and the right button, with the 3 gang you also need to setup another with power3

Thank you! It works! I thinked that LWT was like POWER with separate component! I was wrong! Thank you again!

No problem! Glad to be of service :smile: