Skip to content

Conversation

@tyeth
Copy link
Member

@tyeth tyeth commented Jul 12, 2024

Adds callback method for on_publish, and updates examples to use it.

Fixes #122

Needs retesting on monday, marking draft until then

@github-actions
Copy link

👋 Thanks for this pull request! Unfortunately, it looks like the automated continuous integration (CI) test(s) failed. These can be tricky to fix so we've written a guide on how to fix them locally. It has pages about running pre-commit locally and another about building the docs locally with sphinx. Thanks for contributing to CircuitPython! If you have more questions, feel free to join the Adafruit Discord and post in #circuitpython-dev.

@tyeth tyeth marked this pull request as ready for review July 15, 2024 18:07
@tyeth tyeth requested a review from brentru July 15, 2024 18:07
@tyeth
Copy link
Member Author

tyeth commented Jul 15, 2024

Hey @brentru I've retested the S2 demo, and added the on_publish logging example to the mqtt examples. Think that solves it.

Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tyeth LGTM!

@tyeth tyeth merged commit e0779b3 into main Jul 16, 2024
@tyeth tyeth deleted the tyeth/issue122 branch July 16, 2024 17:12
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 20, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO to 5.9.0 from 5.8.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#125 from adafruit/update_batch_send_to_take_dict
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#124 from adafruit/tyeth/issue97
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#123 from adafruit/tyeth/issue122

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing "on_publish" event callback in the class IO_MQTT - adafruit_io.py

3 participants