Dies ist eine alte Version des Dokuments!
Go to your sonoff console and enter
SetOption19 1
This turns on auto discover.
Then in HA go to Configuration > Integrations > MQTT .
I had a similar experience with the Teckin plug. Autodiscovery wouldn’t work. I finally did this:
MQTT Discovery REMOVED~ Home Assistant MQTT Discovery is removed from all builds of Tasmota and development of this feature is halted! 1)
Tasmota-Version muss >9 sein!
https://tasmota.github.io/docs/Expanding-Tasmota
If you can avoid it, don't use GPIOs: 0, 1, 2, 6-11, 15 and 16. That leaves 4, 5, 12, 13, 14 as GPIOs without any constraints. 3 being RX is also good to avoid (PWM is not working on this GPIO).
Pull-UP 10k