Skip to content

Releases: hostcc/energomera-hass-mqtt

1.10.0

24 May 19:04
2d01a86
Compare
Choose a tag to compare

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

16 May 21:10
10b2c3c
Compare
Choose a tag to compare

What's Changed

  • [Snyk] Security upgrade python from 3.13.0a4-alpine to 3.13.0b1-alpine by @hostcc in #24
  • Migrate to aiomqtt by @hostcc in #25

Full Changelog: 1.8.1...1.9.0

1.8.1

01 Apr 11:30
245e0b6
Compare
Choose a tag to compare

What's Changed

  • Prevent callback_api_version related error from paho-mqtt by @hostcc in #22
  • [Snyk] Security upgrade python from 3.13.0a3-alpine to 3.13.0a4-alpine by @hostcc in #23

Full Changelog: 1.8.0...1.8.1

1.8.0

21 Jan 15:18
0458134
Compare
Choose a tag to compare

What's Changed

  • Source code restructure by @hostcc in #16
  • Fixed generating API documentation by @hostcc in #17
  • [Snyk] Security upgrade python from 3.10-alpine to 3.13.0a3-alpine by @hostcc in #18

Full Changelog: 1.7.0...1.8.0

1.7.0

01 May 07:28
38b76ab
Compare
Choose a tag to compare

What's Changed

  • (Re)send the configuration payload once it changes by @hostcc in #15

Full Changelog: 1.6.0...1.7.0

1.6.0

13 Mar 07:10
1186a27
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.0...1.6.0

1.5.0

11 Mar 20:41
a8c6501
Compare
Choose a tag to compare

What's Changed

  • Allow including default parameters by @hostcc in #13

Full Changelog: 1.4.0...1.5.0

1.4.0

11 Mar 19:29
74d04ed
Compare
Choose a tag to compare

What's Changed

  • Interpolation expression arguments by @hostcc in #12

Full Changelog: 1.3.3...1.4.0

1.3.3

08 Feb 22:09
97c81bd
Compare
Choose a tag to compare

What's Changed

  • [Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1 by @hostcc in #11

Full Changelog: 1.3.2...1.3.3

1.3.2

29 Dec 07:02
d1a0912
Compare
Choose a tag to compare

What's Changed

  • Using combination of self._connected and self._disconnected (both inherited from asyncio_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. Neither self._client.is_connected (from Paho client) is - is returns True if socket is disconnected due to network error. Only testing for self._client.socket() (from Paho client as well) fits the purpose - None indicates the client needs connect

Additionally

  • Github Actions:
    • Updated to most recent version of actions/setup-python to avoid warnings re: using set-output
    • Migrated away from set-output to $GITHUB_OUTPUT variable
  • 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 of asyncio_mqtt client
    • tests/test_online_sensor.py: Introduced read_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 of asyncio_mqtt.Client of same purpose
    • Added testing with Python 3.10

by @hostcc in #10

Full Changelog: 1.3.1...1.3.2