You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "on_publish" event callback is missing in the class IO_MQTT which is defined in the library module adafruit_io.py. This for the latest library version: adafruit-circuitpython-bundle-py-20240702.zip
classIO_MQTT:
...
def__init__(self, mqtt_client):
...
# User-defined MQTT callback methods must be init'd to Noneself.on_connect=Noneself.on_disconnect=Noneself.on_message=Noneself.on_subscribe=Noneself.on_unsubscribe=None# MQTT event callbacksself._client.on_connect=self._on_connect_mqttself._client.on_disconnect=self._on_disconnect_mqttself._client.on_message=self._on_message_mqttself._client.on_subscribe=self._on_subscribe_mqttself._client.on_unsubscribe=self._on_unsubscribe_mqttself._connected=False
...
...
It is defined in the class MQTT in library module adafruit_minimqtt.py
The "on_publish" event callback is missing in the class IO_MQTT which is defined in the library module adafruit_io.py. This for the latest library version: adafruit-circuitpython-bundle-py-20240702.zip
It is defined in the class MQTT in library module adafruit_minimqtt.py
The text was updated successfully, but these errors were encountered: