What's Changed
Bug Fixes
-
Fixed parsing crashes and inverted guards across multiple device types (#595)
- Air conditioner: \supported_features\ used .count\ method reference instead of \len()\
- Evaporative cooler: \preset_mode\ returned raw int instead of string
- Tower fan: WebSocket oscillation handler wrote to wrong field
- Air circulator: \�ertically_oscillating\ setter checked wrong backing field; angle setters had inverted
ot x is None\ guards - Removed dead Panel Mute switch entry that matched no device property
- Added .get()\ for dict lookups to prevent KeyError on unexpected values
- AC timer and temp_target_reached now guard against None values
-
Fixed heater set_temperature silently dropping commands in non-HEAT mode (#597) — \set_temperature()\ now unconditionally sends \�colevel\ so ECO mode temperature changes actually reach the device
-
Fixed silent failure in command send retries (#596) — After exhausting WebSocket send retries the transport now raises an exception instead of silently succeeding. Also split broad exception handling in the WS consumer to avoid masking transport errors.
-
Fixed HAF004S allowing negative vertical oscillation angles (#600) — Added \DR-HAF004S\ model entry with \VERTICAL_ANGLE_RANGE: (0, 90). The Dreo app does not allow positioning below horizontal.
-
Fixed angle entity step not copied on range override (#600) — When a device had a range override from \models.py, the step value was silently lost, reverting to 1-degree increments.
-
Fixed
ame_value_list is None\ error spam (#578) — Eliminated noisy error log messages occurring every ~1 minute from malformed WebSocket state updates. -
Fixed \get_state_update_value\ crash on malformed payloads (#595) — Now handles missing or malformed state update data defensively.
-
*Fixed thread safety in \�dd_attr_callback* (#595) — Callback registration now acquires a lock to prevent race conditions.
New Features
-
Light platform enabled for air circulators (#594) — Air circulators with atmosphere lights (e.g., DR-HPF008S) now expose RGB light entities in Home Assistant. Fixes #485.
-
Added DR-HPF025S air circulator support (#577)
Improvements
-
5-degree step on angle entities (#600) — All angle number entities (horizontal/vertical position and oscillation angles) now use 5-degree steps matching the device hardware.
-
Security: diagnostics data leak and log redaction (#593) — Diagnostics output no longer leaks sensitive data; log redaction improved.
-
Deploy tooling improvements (#595) — Windows deployment via robocopy, Unicode fixes for Windows console, lint cleanup in test scripts.