Closed wittypluck closed 3 weeks ago
Hey there @engrbm87, mind taking a look at this pull request as it has been labeled with an integration (glances
) you are listed as a code owner for? Thanks!
I think CI is failing because the test_entry_deprecated_version
assumes that only 2 versions are being tested. This needs to be updated as we are now testing 3 versions.
Good point, should be fixed now.
LGTM
Thank you!
Proposed change
This PR adds support for Glances v4. Glances v4 is the new default version in dockerhub since may 2024, so people updating their Glances docker instance to "latest" get an error in Home Assistant (unable to connect).
Glances v4 also introduces a change on network sensor naming, which needs to be handled in the underlying python-glances-api library: https://github.com/home-assistant-ecosystem/python-glances-api/pull/40
Consequently, this PR upgrades the library glances-api from version 0.6.0 to version 0.7.0. Changelog:
https://github.com/home-assistant-ecosystem/python-glances-api/releases/tag/0.7.0
No change in the support of previous versions of Glances.
Type of change
Additional information
Checklist
ruff format 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
.To help with the load of incoming pull requests: