This repository was archived by the owner on Nov 26, 2025. It is now read-only.
Repository navigation
Reliable Color Temp + Rate‑Limit Friendly Control + New devices configurability
Pre-release
Pre-release
·
6 commits
to master
since this release
What’s Changed
Main Changes:
- New Color Temperature correctness and control, better rate-limit handling, newer devices, that don't use supportCmds (such as: H705D, H705E, H6169, H702A) should now be discovered from their capabilities.
Color temperature (Kelvin) correctness
- Parse newer capability schema (colorTemperatureK) and clamp to true per‑device min/max/step.
- Always send Kelvin (no “percent” mode). Avoids 400 “Unsupported Cmd Value”.
Better device recognition
- Derive support from capabilities when supportCmds is missing (power, brightness, color, color temp).
- Add a small per‑model quirks table for sane defaults and future LAN routing.
New/updated model support
- Quirks added for H705D, H705E, H6169, H702A (plus many LAN‑capable models).
- Log now shows applied quirks for visibility.
Robust rate‑limit handling
- Per‑device 10/min token bucket for control and state; retries are bucket‑gated.
- Coalesce rapid slider moves (latest value only); skip no‑op writes.
- Treat 429 as a soft UI update and reconcile state shortly after.
- Fixes the “retry after 0s” spam and “stuck on earlier value” behavior.
Smoother UI and state sync
- Serialize all control per device to prevent interleaving commands.
- Short delayed post‑control state poll to reflect actual device state.
- Clear active scene when setting color/CT so scenes don’t snap values back.
Polling and API usage
- Coordinator now polls per‑device state on intervals (no repeated DeviceList calls).
- Keeps within minute and daily quotas while staying responsive.
Stability fixes
- Fixed “cannot unpack non‑iterable NoneType object” during control coalescing.
- Power‑on before CT for devices that ignore CT while off.
Notes
-
If any automations still use color_temp (mireds), switch to color_temp_kelvin.
-
Please restart Home Assistant after updating to ensure the new modules load.
-
I am also looking for users to test releases for devices I do not have access to, so that I can properly address them.
If you run into issues, or you're still facing no devices, please enable debug logs and paste them here, thanks for hanging in there y'all!