Repository navigation
Relax over-strict validation models to fields api.py actually uses (fixes #359) #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
rhammen
wants to merge
33
commits into
custom-components:master
from
rhammen:fix/issue-359-validation-audit
Closed
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b618340
Add offline unit tests for the Zaptec API client
rhammen c8f18eb
Extend api.py offline tests to the command/poll/lifecycle wrappers
rhammen 7423998
Retry transient server errors (429/502/503/504) with backoff
rhammen 08e4f59
Map transient setup errors to ConfigEntryNotReady (#392)
rhammen 2e1993b
Use named constants in retry tests and fix docstring (ruff check)
rhammen ebac029
test: add fake hass/config_entry fixtures for coordinator/entity tests
rhammen 957abde
test: add ZaptecUpdateCoordinator init/validation tests
rhammen 887fdcd
test: add ZaptecUpdateCoordinator.set_update_interval tests
rhammen 2922bab
test: add ZaptecUpdateCoordinator._async_update_data tests
rhammen 2219d93
test: add ZaptecUpdateCoordinator.trigger_poll tests
rhammen bea3338
test: add ZaptecBaseEntity init and _get_zaptec_value tests
rhammen 6559f54
test: add ZaptecBaseEntity update-handling and logging tests
rhammen 290af38
test: add ZaptecBaseEntity.trigger_poll delegation test
rhammen 8ab7b49
test: address final-review polish findings (is_stopping pin, exceptio…
rhammen 9797c59
test: add sensor.py entity tests
rhammen c6ad343
test: add switch.py entity tests
rhammen 3469b9a
test: add number.py entity tests
rhammen d5efed8
test: add button.py entity tests
rhammen d66cd0f
test: add services.py tests, fix upgrade_firmware/update_firmware yam…
rhammen 65d1b8f
test: add binary_sensor.py entity tests
rhammen b183167
test: add update.py entity tests
rhammen 267a373
Merge pull request #2 from rhammen/api-offline-tests
rhammen 2c2cb5c
Merge pull request #3 from rhammen/fix/issue-392-retry-transient
rhammen 2f4e9cc
Merge pull request #4 from rhammen/test/coordinator-entity-coverage
rhammen c8b6a1e
Merge pull request #5 from rhammen/test/platform-entity-coverage
rhammen 7feb36b
fix: relax Installation validation to fields api.py actually uses
rhammen e4a06e4
fix: add missing Circuit.MaxCurrent validation, split hierarchy charg…
rhammen 3fcc101
docs: disclose Circuit.Name's Task-3 api.py dependency
rhammen 1166ec3
fix: tolerate a null Chargers/Name on a hierarchy Circuit
rhammen b801a61
fix: relax ChargerFirmware validation to match its own defensive call…
rhammen efb4518
fix: require DeviceType on hierarchy-sourced chargers, fix stale comment
rhammen 2c1ad5e
docs: add implementation plan for validation model audit
rhammen f0bafa6
docs: remove planning docs (archived to docs/ai-planning-archive)
rhammen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.