v1.9.0
What's new
- Added
StatusCode.ANTI_LEGIONELLAto the status enum. - New
resolve_status(code, antileg_active)helper that combines the raw status code with thereq_antileg_1discrete input into a single unified status. Anti-legionella overrides every status exceptALARM. QubeState.statusis now populated automatically byQubeClient.get_all_data().
Why
Anti-legionella was previously only visible via a separate binary sensor, which was surprising to users watching the main status sensor. Surfacing it as a first-class status value keeps all consumers (HACS integration, HA core integration, other clients) in sync without each one duplicating the merge logic.