Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request V1 Paho API #529

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tstabrawa
Copy link
Contributor

Fixes missing 1 required positional argument: 'callback_api_version' error.

Introduces DeprecationWarning: Callback API version 1 is deprecated, update to latest version warning.

Breaking change

Proposed change

This is a (temporary?) change to fix errors encountered with the latest version of paho-mqtt (2.0). A more complete/permanent fix would be to update to use the new 2.0 API.

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
    • New test warning introduced: DeprecationWarning: Callback API version 1 is deprecated, update to latest version
  • Tests have been added to verify that the new code works. - N/A
  • Code documentation was added where necessary - N/A

If user exposed functionality or configuration variables are added/changed:

  • Documentation added/updated - N/A

Fixes "missing 1 required positional argument: 'callback_api_version'" error.
@f1d094
Copy link

f1d094 commented Feb 25, 2024

Until someone has the time to fix, I found it easiest to pin the version to 1.6.1 (https://github.com/f1d094/insteon-mqtt_with_paho-mqtt-1.6.1)

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.

2 participants