Hi everyone, I wanted to ensmartify the various battery chargers in my workshop and ended up with a Pico W and the Waveshare Pico-Relay-B to do the job. I couldn’t find the code I needed to integrate it into HA so I jumped in and made it myself: https://github.com/longmover/Pi_Pico_Relay_B_to_MQTT
Once running HA will discover the eight relays and present them as swiches, hopefully it will be of use to someone, if not I still enjoyed making it!