The switch works fine to switch the power plug on, but it cannot be switched off. The switch in the home assistant UI immediately gets back to off state after switching it on. I guess something is wrong with the state topic, but I cannot figure out what.
The sensors are not appearing within home assistant
I will give the auto-detection a try, but however, it also must work this way. I mean, what prevents the trigger from appearing in the home assistant. After adding the switch, it immediately was visible…
I used autodiscovery to pick up a number of Sonoff Minis on my HA set up.
Obviously I typed “SelectOption19 1” on the console and the devices turned up shown as “switch.sonoff_mini_1” along with a “sensor.sonoff_mini_1_status” which basically shows the RSSI. I was expecting to get a binary sensor too so that I could get other information.
On the Tasmota Git hub (https://tasmota.github.io/docs/Home-Assistant/) there is a bunch of information about SwitchMode and SwitchTopic. So I tried setting both of those to 1 on the console but it isn’t making any difference. I’m probably missing something really obvious but any help would be appreciated.
FWIW my automations are all running fine but I want something to put into my UI without writing YAML into the binarysensor file.
Looks like they were autodiscovered if I set the SwitchTopic to a text value AND deleted the device in HA configuration AND deleted then discovered the device in TasmoAdmin. Happy days