Skip to content

Refactor device handling, update tests, and improve documentation - #51

Merged
MSL-DA merged 47 commits into
mainfrom
beta
Sep 4, 2026
Merged

Refactor device handling, update tests, and improve documentation#51
MSL-DA merged 47 commits into
mainfrom
beta

Conversation

@MSL-DA

@MSL-DA MSL-DA commented Sep 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

Clarified the description of device naming in Brunata Online.
Remove placeholder text from the version input field in the bug report template.
Removed placeholder text for Home Assistant version field.
Add tests for handling non-finite reading values and update meter type parsing.
Add test for handling unreadable 'expires_in' values in token storage.
Added a test for diagnostics when an entry has not loaded, ensuring proper error handling and data redaction.
Add a test to verify the issue tracker URL matches the manifest.
Added parameterization to test for rate limits exceeding a day, ensuring proper handling of extreme values.
Refactor device retrieval for meter to avoid deprecated method and update tests for rate limiting behavior.
Refactor test to use _device_for_meter function for device lookup.
Refactor device deletion logic to improve clarity and handling of meter absence. Update comments to clarify conditions under which devices can be removed.
Added ParseReport to the imports and updated the mock for last_parse_report.
Added tests for handling meter removals and update failures.
Add tests for meter availability handling in sensor.
Add test for diagnostics reporting dropped items.
Fix indentation and add comment for clarity in test_api.py.
Add beta branch to pull request triggers and workflow
Added logging and updated meter types and units in tests.
Enhance test_api with logging and meter updates
Enhanced comments for clarity on display precision conditions.
Refactor device name check and clean up comments.
Add test to ignore negative decimals in parsing.
Add a test to ensure polling window stays within valid limits.
Refactor logic and improve comments for decimal handling and polling
Updated Home Assistant version and modified comments for clarity.
…rectly

Chore/pin homeassistant version directly
@MSL-DA
MSL-DA merged commit 70ba6df into main Sep 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant