Skip to content

Releases: Csontikka/ha-cyberpower-cloud

v0.1.3

Choose a tag to compare

@Csontikka Csontikka released this 16 Apr 20:30

Változások

Teljes belső típusszigorítás — a kódbázis átment a mypy --strict ellenőrzésen.

Minőségi

  • quality_scale.yaml: strict-typingdone (Platinum-képes)
  • Megerősített teszt-asszertációk (payload, identity, side-effect verifikáció)
  • Teszt coverage: 99% (100 teszt)

Megjegyzés

User-visible viselkedés nem változott — ez tisztán belső minőségi javítás.
A manifest.json továbbra is quality_scale: silver (Gold todo-k miatt).

v0.1.2 — Silver quality tier

Choose a tag to compare

@Csontikka Csontikka released this 16 Apr 19:54

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.

v0.1.0 - Initial release

Choose a tag to compare

@Csontikka Csontikka released this 14 Apr 14:54

Initial public release of the CyberPower PowerPanel Cloud integration for Home Assistant.

Highlights

  • Config flow login with automatic multi-UPS discovery
  • 12 sensors per device (battery, power, voltage, frequency, temperature, humidity, status)
  • On Battery binary sensor for power outage detection
  • cyberpower_cloud_power_outage_started / _ended events for fast automation triggers
  • Per-device UPS Rated Power configuration for Load % calculation
  • Configurable polling interval (60–3600 s)
  • Reconfigure, reauth, diagnostics, repair issues
  • HACS-compatible structure

Install

HACS (custom repository, until accepted in HACS default)

  1. HACS → Integrations → three-dot menu → Custom repositories
  2. URL: https://github.com/Csontikka/ha-cyberpower-cloud, Category: Integration
  3. Install, restart Home Assistant, add the integration

Manual

Download cyberpower_cloud.zip from this release and extract to config/custom_components/cyberpower_cloud/.

Requirements

  • PowerPanel Cloud account with 2FA disabled
  • Temperature unit set to Celsius in the PowerPanel Cloud app

See the README for full details.