How set up the "native Tasmota discovery"? - #9 by Johann_Obermeier is the best reference I can find. I would guess he’s a non-native English speaker, so the grammar isn’t completely clear. I read it as “Home Assistant [discover in Tasmota] has deprecated” not that “Home Assistant has deprecated MQTT discovery”. AFAICT MQTT discovery in Home Assistant is alive and well… there have been some recent additions to it. A bit of browsing around looks like the Tasmota was dissatisfied with how their specific features map to Home Assistant’s discovery “schema”, as well as how much code it took for them to implement it, so they made their own that maps more directly to their features, and is more compact. In Tasmota, this is implemented in Sonoff-Tasmota/tasmota/tasmota_xdrv_driver/xdrv_12_discovery.ino at development · stefanbode/Sonoff-Tasmota · GitHub, and it sounds like the Python library Home Assistant uses to parse it is GitHub - emontnemery/hatasmota. It looks like someone started implementing an openHAB binding at openhab-addons/bundles/org.openhab.binding.mqtt.tasmota at main · JoergOstertag/openhab-addons · GitHub, but looks abandoned. I don’t run Tasmota, so don’t have much interest in continuing that work. But if someone else were to finish that binding, I would definitely keep it in mind when doing other MQTT maintenance work.
2 Likes