Sonoff Tasmota ZB Bridge and SNZB-02 sensors configured through MQTT Discovery

After exploring different blog posts and this forum, I found the best way to configure the bridge and the sensor is through a MQTT server and not directly via ZHA since I already have a Zigbee2MQTT setup.

By using SetOption89 to split message directly on the mqtt server and then configuring the right discovery messages for home assistant allows you to use everything without automation.

To help generate the required JSON message to be publish I built a helper tool. Maybe it is useful to someone else.

The tool is not limited to Tasmota ZB Bridge and can also help create the right messages for other devices, as well as explore the MQTT topics.