Releases: Csontikka/ha-cyberpower-cloud
Releases · Csontikka/ha-cyberpower-cloud
Release list
v0.1.3
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-typing→ done (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
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.
v0.1.0 - Initial release
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 Batterybinary sensor for power outage detectioncyberpower_cloud_power_outage_started/_endedevents 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)
- HACS → Integrations → three-dot menu → Custom repositories
- URL:
https://github.com/Csontikka/ha-cyberpower-cloud, Category: Integration - 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.