fl4p / batmon-ha

Add-on for Home Assistant to connect JK, JBD, Daly, ANT, SOK and Supervolt BMS via Bluetooth
MIT License
292 stars 55 forks source link

fix issue #195 caused by paho 2.0.0 #196

Closed peteretep closed 7 months ago

peteretep commented 7 months ago

This fixes the issue in the simplest possible way - simply by adding the paho.CallbackAPIVersion.VERSION1 argument. I don't know what the callback api is all about or if we can move to version2, but this gets it working again without any hassle. I've also pinned the paho-mqtt package to >=2.0.0

fl4p commented 7 months ago

thanks