Repository navigation
Upgrade paho mqtt #3663
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
Upgrade paho mqtt #3663
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,7 +126,7 @@ def __init__(self) -> None: | |
| except Exception: | ||
| log.exception("Fehler im Werte-Logging-Modul für SmartHome") | ||
|
|
||
| def on_connect(self, client: MqttClient, userdata, flags: dict, rc: int): | ||
| def on_connect(self, client: MqttClient, userdata, flags, reason_code, properties): | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Schade, dass die Type-Info "dran glauben" musste...
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Der PR hat sich leider als Problem herausgestellt, wenn ein älteres Backup eingespielt wird. Die Anpassungen kommen im Zuge der Umstellung auf ein VENV mit rein. Dann spendiere ich auch die Typehints wieder. |
||
| client.subscribe("openWB/LegacySmartHome/#", 2) | ||
|
|
||
| def on_message(self, client: MqttClient, userdata, msg: MQTTMessage): | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wäre dass nicht auch ein Kandidat für eine parametrisierte Funktion?