TWCManager
TWCManager copied to clipboard
MQTT Fixes from Abstract
This PR attempts to pull out all the MQTT-related changes from #483, other than #492. This without #492 might be somewhat inconsistent.
Draft because I haven't explicitly tested this yet, just done the work in git to lift it out.
I took a quick look and these changes are not compatible with paho mqtt client v2 and the MQTTv5 protocol. So this PR will probably only work for installs that are still using paho mqtt client v1.
I will fix this when I have more time.
It turned out to be an easy fix, see https://github.com/RichieB2B/TWCManager/commit/69027ca4936320fc8ae10658bc211b9271d95c0a and the paho migration documentation for reference.
Incorporated -- thank you!
Looks good, thanks @MikeBishop and @RichieB2B
I tried this merged into my working branch (main + some PRs) and it seems to be working. Appreciate it if someone else can give it a try before we merge.