Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed change
Upgrades
paho-mqtt
from 1.5.1 to 1.6.1.Changelog:
v1.6.1 - 2021-10-21
v1.6.0 - 2021-10-20
incorrectly decoded. Closes There is an extra Byte in the payload if the properties packet length is greater or equal to 128 eclipse-paho/paho.mqtt.python#541.
now raise exceptions if called when the publish call produced an error.
Closes publish() never completes if done straight after connect_async() eclipse-paho/paho.mqtt.python#550.
that outgoing messages will only be retried on the client reconnecting to
the server. They will not be retried when the client is still connected.
rc
parameter in theon_disconnect
callback now has meaningful valuesin the case of an error. Closes fixed the rc parameter MQTT_ERR_CONN_LOST to be passed instead of 1 t… eclipse-paho/paho.mqtt.python#441.
callback has returned.
values. Closes Subscription packet never acknowledged by broker if properties.SubscriptionIdentifier==[0] eclipse-paho/paho.mqtt.python#586.
_out_packet queue use to thread safe.
Closes publish/subscribe helper functions break with MQTTv5 eclipse-paho/paho.mqtt.python#575.
call the MQTT v5 callback. Closes Wrong on_disconnect() being called for an MQTT v5 connection eclipse-paho/paho.mqtt.python#570.
SSL. Closes Unable to receive large payload messages with TLS (80MB+) eclipse-paho/paho.mqtt.python#571,
Closes Assertion error on CONACK eclipse-paho/paho.mqtt.python#566.
Closes Creating a paho.mqtt.client.Client with invalid client_id and clean_session=False raises an AttributeError on deletion eclipse-paho/paho.mqtt.python#520.
Closes WebSockets continuation frames are not supported eclipse-paho/paho.mqtt.python#89.
Properties.json()
now converts Correlation Data bytes() objects to hex.Closes Properties json() method doesn't return a valid json dictionnary eclipse-paho/paho.mqtt.python#555.
loop(). This removes problems when running with an external event loop.
timeouts. Closes What is the "proper" way to respond to a socket timeout when sending PINGREQ? eclipse-paho/paho.mqtt.python#563.
(source: https://github.com/eclipse/paho.mqtt.python/blob/v1.6.1/ChangeLog.txt)
Full compare view: eclipse-paho/paho.mqtt.python@v1.5.1...1.6.1
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: