Skip to content

v2.9.5 — Fix light-group warnings on restart

Pre-release
Pre-release

Choose a tag to compare

@c-st c-st released this 02 Jul 19:28
d4a95df

Fixes

Follow-up to v2.9.4. Restart logs showed Referenced entities light.area_lights_<area> are missing or not currently available warnings still firing for areas with lights.

  • Ordering: platform setups are now forwarded before async_initialize(), so the light group and presence sensor exist and are available before the initial light state is applied. Previously the initial light.turn_on/off ran before the light platform created the group.
  • Restored state: the guard now also treats unavailable/unknown group state as "not available" — on restart the entity registry yields a restored unavailable placeholder that defeated the v2.9.4 is None check.

Full Changelog: v2.9.4...v2.9.5