v0.8.2
This commit is contained in:
@@ -1,3 +1,42 @@
|
||||
# GREE Controller v0.8.2 - build and validation report
|
||||
|
||||
## 0.8.2 UI/i18n + Home Assistant sensor freshness
|
||||
|
||||
Source baseline: v0.8.1.
|
||||
|
||||
### Changes
|
||||
|
||||
- Fixed the 0.8.x ownership translations: `zones.controlOwner`, owner labels and owner timing labels are now inside each language pack's `translations` object, so the Web UI receives translated values instead of raw translation keys.
|
||||
- Simplified the Polish owner caption from `Właściciel sterowania` to `Sterowanie` and allowed the owner/timing line to wrap instead of truncating.
|
||||
- Added `home_assistant.sensor_stale_after_seconds` with a serde-compatible 300 s default. The Home Assistant / Sensors page exposes it as minutes (1-1440 min); the backend clamps API/env values to 30-86400 s.
|
||||
- The configured freshness limit is used by room HA sensors, the outdoor HA sensor and the HA connection test. Existing non-default `zone.sensor_stale_after_seconds` values remain per-zone API overrides; the historical hidden/default 300 s value inherits the global HA setting.
|
||||
- Added `HA_SENSOR_STALE_AFTER_SECONDS` as an optional environment override.
|
||||
- Quick Thermostat and Direct Device dashboard grids now use `align-items:start`, so a taller manual/ownership panel no longer visually stretches neighbouring cards in the same row.
|
||||
- `build.rs` now rejects unexpected top-level language-pack keys, preventing translation keys from being accidentally stored outside `translations` again.
|
||||
- Added a Rust regression test for global/per-zone stale-timeout resolution.
|
||||
- Bumped controller and Home Assistant integration version to 0.8.2 and changed the service-worker cache key.
|
||||
|
||||
### Validation executed in this environment
|
||||
|
||||
- `node --check web/app.js`
|
||||
- `node --check web/theme-init.js`
|
||||
- `node --check web/sw.js`
|
||||
- parsed all JSON files
|
||||
- verified both language packs contain only `meta` + `translations`
|
||||
- verified all 564 statically referenced UI translation keys exist in both English and Polish packs
|
||||
- parsed `web/index.html`
|
||||
- `python3 -m compileall -q home-assistant scripts make_zip.py`
|
||||
- `bash -n scripts/*.sh`
|
||||
- checked version consistency across Cargo.toml, Cargo.lock, README and Home Assistant manifest
|
||||
- checked that no HA temperature read still uses a hardcoded `Some(300)` freshness limit
|
||||
- reviewed the complete 0.8.1 -> 0.8.2 source diff for unintended file changes
|
||||
|
||||
### Rust toolchain note
|
||||
|
||||
This execution environment does not contain `cargo`, `rustc` or `rustfmt`, so the Rust regression test and full compilation cannot be executed here. The existing installer/updater still runs `cargo test --all-targets` before touching the running service and then performs the release build. If Rust compilation or tests fail on the target host, the running service is not replaced.
|
||||
|
||||
---
|
||||
|
||||
# GREE Controller v0.8.1 - build and validation report
|
||||
|
||||
## 0.8.1 Rust borrow-checker hotfix
|
||||
|
||||
Reference in New Issue
Block a user