v0.1.2 — Silver quality tier
Highlights
- Silver quality tier achieved — declared in
manifest.jsonand audited against the full 27-rule Silver checklist viaquality_scale.yaml(validated by hassfest). - Test suite overhaul — 94 pytest cases, 99% line coverage across the integration package, all CI checks green.
- Code refactor — shared
CyberPowerEntitybase class,runtime_datastorage, consistentPARALLEL_UPDATES = 0,_attr_has_entity_name = True. - Local brand assets —
brand/*.pngbundled per HA 2026.3; integration logo shows up without any external PR.
Improvements
- Coordinator: power-outage event firing, repair-issue creation on auth/consecutive-error thresholds, graceful polling stop.
- Config flow: reauth + reconfigure + options flow (scan interval 60-3600s) fully covered by tests.
- Diagnostics: redacted SN, per-device snapshot.
- Number entity: configurable UPS rated power with RestoreEntity.
CI / DX
- Dependabot watching
actions/*and pip. - SonarCloud scanning, skipping on dependabot PRs (no secret access).
- Sensitive-data check with full fetch depth for PR diffs.
Install
Upgrade via HACS or download the attached cyberpower_cloud.zip and unzip into config/custom_components/cyberpower_cloud/, then restart Home Assistant.