Repository navigation
Hotfix for async update and colormode issues.
🛠 Improvements
Improved state handling:
Correct light state is now fetched at startup (no more always showing “off” on boot).
Entity state now updates immediately after sending on/off, brightness, or color commands.
Updated supported_color_modes to match Home Assistant Core requirements, removing deprecation warnings.
More reliable behavior when toggling brightness, color, and color temperature changes.
🐛 Bug Fixes
Fixed issue where lights could turn on but appear “off” in the dashboard.
Fixed issue where lights could be turned off physically, but HA would still show them as “on”.
Fixed a crash caused by missing keys (e.g. KeyError: 'online') when fetching device state.
Default polling behavior remains unchanged, but initial state is now synced more reliably.
If you had issues with entities reverting to the wrong state in 0.2.0, this update should resolve them.