v2.9.4 — Skip light group for lightless areas
Pre-release
Pre-release
Fixes
Don't drive the light group for areas without lights (#238)
AutoLights runs for every area, but the light.area_lights_<area> group is only created when an area actually has light entities. Areas without lights — or a group still finishing setup during startup — caused light.turn_on/off calls against a non-existent entity, logging Referenced entities light.area_lights_<area> are missing or not currently available on every presence change (and contributing to "logging too frequently" throttle warnings).
_turn_lights_on/_turn_lights_off now skip (debug-log) when the group entity doesn't exist. No behavior change for areas that have lights.
Full Changelog: v2.9.3...v2.9.4