Shelly uni plus mqtt config

Hi, has anyone already integrated the Shelly Uni Plus with mqtt? Can you share the configuration for MQTT?
I only need the part for the two dry contacts used as relays.
thanks

You can use GitHub - bieniu/ha-shellies-discovery-gen2: Script that adds MQTT discovery support for Shellies Gen2 devices to configure the device with MQTT automatically.

Shelly uni plus is not on the list of compatible devices…

Oh, this is a gap in the docs. The device is supported ha-shellies-discovery-gen2/python_scripts/shellies_discovery_gen2.py at 8b63f1c92a79a502714fe2da0ec8a13fd4a1d891 · bieniu/ha-shellies-discovery-gen2 · GitHub