Releases: make-all/metlink-nz
1.1.1: Keeping up with HA
Changes in this release
- Fixed a deprecation warning in Home Assistant 2024.7 and later. #12
- Requires HA 2024.9 or later (purely a testing issue, but there is no urgent need to upgrade to this release if you are using older versions of HA)
1.1.0 Service alerts
1.0.9 Support HA 2023.6 and more data
Bugfix:
#7 - the async_get function that was introduced in 1.0.8 as a replacement for the removed async_get_registry function is not actually async. It worked in 2023.5, but in 2023.6 an optimisation was introduced that makes it not work any more if awaited.
Enhancement:
#8 - added vehicle_id
and the monitored
flag as attributes for each departure so the info can be tracked if desired
1.0.8 support HA 2023.5
2023.5 has removed the deprecated async_get_registry
function, which was silently replaced by an async_get function in 2021. A deprecation warning has been issued since 2022.6, but since this function is only used when setting up a new stop, it went unnoticed until it was removed in the latest version, causing the integration to fail to load.
1.0.7: support AVA station
1.0.6
1.0.5
1.0.4
1.0.3
This release requires Home Assistant 2021.12. The changes are only minor changes to silence deprecation warnings that are added in this version, and some that will be added in 2022.2 for newly deprecated things in 2021.12.
Compatibility improvements for HA 2021.12.
- State returns a datetime instead of a string
- replace deprecated device_state_attributes with extra_state_attributes
- replace deprecated DEVICE_CLASS_* constants with StrEnum based replacements