I tried to follow the official doc to configure a tasmota (sonoff mini) switch on HA but just nothing happens.
I can see it in the state pages but is displayed as unavailable and I am not able to trigger it. I also don’t see any message in the mqtt topic when I try to trigger it through the states page.
If i trigger it manually everything works just fine and I see messges in the related mqqt topic
Here is my config
# Lights out
- platform: "mqtt"
name: Lumières extérieur
state_topic: "stat/sonoff-lights-out/RESULT"
command_topic: "cmnd/sonoff-lights-out/power"
availability_topic: "tele/sonoff-lights-out/STATE"
# availability_topic: "tele/sonoff-lights-out/LWT"
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
value_template: "{{ value_json.POWER }}"
retain: false
I also did tried to configured the mqtt autodiscover through yaml files (only using yaml) but nothing more happens. Any help would be greatly appreciated.