On Raspberry Pi Bullseye, fresh install I get:
AttributeError: module 'paho.mqtt.client' has no attribute 'Mosquitto'
Changing line 56 in swutil/pwmqtt.py from
self.mqttc = mosquitto.Mosquitto(self.name)
to
self.mqttc = mosquitto.Client(self.name)
then it works :-)
On Raspberry Pi Bullseye, fresh install I get:
AttributeError: module 'paho.mqtt.client' has no attribute 'Mosquitto'
Changing line 56 in swutil/pwmqtt.py from
self.mqttc = mosquitto.Mosquitto(self.name)
to
self.mqttc = mosquitto.Client(self.name)
then it works :-)