Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Hotfix for async update and colormode issues.

Choose a tag to compare

@TheOneOgre TheOneOgre released this 07 Sep 23:13
· 6 commits to master since this release
36ccaa5

🛠 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.

⚠️ Notes

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.