Ok, what I’m seeing is that it’s not updating the state. If the sonoff is off and I click on it it will turn on, but the state is not changed in HA. so I can’t turn it off again.
I’ve been playing with the retains and such as recommended in the video, but nothing changed.
There is a Home Assistant auto discovery config in Tasmota. It is much easier to set up, it will always set up the correct entities and most of all, it will set up all of the available entities.
E.g. if you have a TH-16 it means you will have a switch and 2 sensors, if configured individually this means you will need 3 config entries. With discovery only the discovery config is needed and it will send all 3 entities to HA.
Entities will then just popup in your setup, no restart required and if you add new devices, all you have to do is configure it from the sonoff web interface.
For this you will need to do everything in the config of tasmota (webinterface)
To do this you will have to reset the sonoff to a basic module and restart.
Then go to console and type the following: SetOption19 on
Now change the module to the desired device (in your case TH16)
Change the mqtt config and set it to your own
Restart once more and voila your device is ready for use. To check if it actually worked go to the configuration screen in your Home Assistant setup and go to integrations. Click on the mqtt integration and find your new devices there.
This is the simplest way to do it as far as I know and a great way to use if if you want to swap around your sonoffs later on (as you do not need the individual setup anymore). Just change from tasmota and ready!