Releases: hostcc/energomera-hass-mqtt
Releases · hostcc/energomera-hass-mqtt
1.10.0
What's Changed
- Github: use
docker/metadata-action
for Docker image metadata by @hostcc in #27 - Gihub: set image
latest
tag only for releases by @hostcc in #28 - Fix for MQTT reconnect by @hostcc in #26
- [Snyk] Security upgrade requests from 2.31.0 to 2.32.0 by @hostcc in #29
- [Snyk] Security upgrade requests from 2.31.0 to 2.32.0 by @hostcc in #30
Full Changelog: 1.9.0...1.10.0
1.9.0
1.8.1
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.3
1.3.2
What's Changed
- Using combination of
self._connected
andself._disconnected
(both inherited fromasyncio_mqtt.client
) to detect of MQTT client needs a re-connection upon a network error isn't reliable - the former isn't finished even after a disconnect, while the latter stays with exception after a successful reconnect. Neitherself._client.is_connected
(from Paho client) is - is returns True if socket is disconnected due to network error. Only testing forself._client.socket()
(from Paho client as well) fits the purpose - None indicates the client needsconnect
Additionally
- Github Actions:
- Updated to most recent version of
actions/setup-python
to avoid warnings re: usingset-output
- Migrated away from
set-output
to$GITHUB_OUTPUT
variable
- Updated to most recent version of
- Packaging: pinned dependency versions
- Dropped support for Python 3.6
- Tests:
- Allow DOCKER_ environment variables for Docker client for Docker-based tests (for
podman
compatibility) - Migrated away from deprecated
unfiltered_messages()
method ofasyncio_mqtt
client tests/test_online_sensor.py
: Introducedread_online_sensor_states
function that attempts to read online sensor state from MQTT broker for allotted period of time. The function replaces version-dependent monkeypatching ofasyncio_mqtt.Client
of same purpose- Added testing with Python 3.10
- Allow DOCKER_ environment variables for Docker client for Docker-based tests (for
Full Changelog: 1.3.1...1.3.2