After reading this thread, I picked up one of these sockets yesterday. Impressed, especially given the price. I’ve taken the stock HA
broadlink component, incorporated the updated
python-broadlink library, and extended it to support these sockets. I’ve not used this in anger yet (like I said, I only got the socket yesterday) but so far so good.
You can add this as a custom component to HA, and add switches directly without needing an MQTT bridge. Note; it polls every 30 seconds (default for the component), so if you use the switches on the socket there will be a delay before it’s reflected in HA.
python-broadlink library with the BG1 support is released to pip I’ll create a PR into HA so you won’t need a custom component I can’t do that yet AFAIK because of the way HA installs libraries for components.
Here’s my custom component for in the meantime: https://github.com/b4dpxl/custom_broadlink