Skip to content

v0.1.2 — Silver quality tier

Choose a tag to compare

@Csontikka Csontikka released this 16 Apr 19:54
· 17 commits to master since this release

Highlights

  • Silver quality tier achieved — declared in manifest.json and audited against the full 27-rule Silver checklist via quality_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 CyberPowerEntity base class, runtime_data storage, consistent PARALLEL_UPDATES = 0, _attr_has_entity_name = True.
  • Local brand assetsbrand/*.png bundled 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.