Warning
This release contains a lot of under-the-hood improvements, including major updates to the gli4py library. This has been tested extensively against two GL-iNet devices but there is a chance that if your device responds to requests differently that it may cause new errors. Please report these in a new issue at https://github.com/HarvsG/ha-glinet4-integration/issues.
New features
- feat: add disabled-by-default connected clients sensors (total + wired / wireless / guest breakdown) by @Max-src in #207
- feat: add router LED control switch by @Max-src in #206
- Update gli4py to v0.1.0-beta.5 which includes a new mock server and static type checking and strongly typed API responses
Code Quality
- feat: strict typing for glinet by @HarvsG in #195
- refactor: import API response models from gli4py.models by @HarvsG in #202
- test: migrate test suite to gli4py MockRouter and real fixtures by @HarvsG in #198
- ci: add upstream gli4py testing, PR template, mypy in tests, and coverage floor by @HarvsG in #193
- chore(deps-dev): update ruff requirement from >=0.12.0 to >=0.16.9 and format code by @dependabot[bot] in #224
- chore(deps-dev): update mypy requirement from >=1.16.1 to >=2.3.1 and type
ConfigEntry.optionsby @dependabot[bot] in #221
Documentation
Fixes
- fix: handle connection errors and debounce router polling failures by @HarvsG in #201
- Fix Brands by @HarvsG in #213
Chores
- chore: remove redundant ignore rules to align with Home Assistant core by @HarvsG in #218
- Update pre-commit requirement from >=4.0.0 to >=4.6.2 by @dependabot[bot] in #210
- Update pytest-cov requirement from >=7.0.0 to >=7.1.0 by @dependabot[bot] in #211
- chore(deps-dev): update codespell requirement from >=2.4.1 to >=2.4.3 by @dependabot[bot] in #223
- chore(deps-dev): update pylint requirement from >=3.3.7 to >=4.0.9 by @dependabot[bot] in #222
- glinet 0.1.12-beta.1: update gli4py to v0.1.0-beta.1 by @HarvsG in #194
- Delete .vscode/launch.json by @HarvsG in #200
- Release v0.1.12-beta.2 by @HarvsG in #199
- Update version to 0.1.12-beta.3 by @HarvsG in #203
- Bump urllib3 from 2.7.0 to 2.8.0 by @dependabot[bot] in #216
- Update prek requirement from >=0.2.0 to >=0.5.3 by @dependabot[bot] in #215
- chore: remove redundant transitive dev dependencies by @HarvsG in #217
- ci: group testing dependencies in dependabot by @HarvsG in #219
- chore(deps-dev): bump the testing group with 3 updates by @dependabot[bot] in #220
- ci: ignore pytest and pytest-cov in dependabot by @HarvsG in #225
New Contributors
Full Changelog: v0.1.11...v0.1.12