adaptive-lighting/custom_components
Bas Nijholt 4e27938381
Fix options flow hanging by refactoring _build_options_schema
The _build_options_schema method was calling _get_lights_schema internally,
causing it to be called multiple times redundantly. This refactoring:

- Renames _get_lights_schema to _prepare_lights_schema for clarity
- Changes _build_options_schema to accept to_replace as a parameter
- Updates all callers to prepare lights schema first and pass it
- Fixes async_step_advanced which was broken due to missing parameter
2025-11-27 14:03:11 -08:00
..
adaptive_lighting Fix options flow hanging by refactoring _build_options_schema 2025-11-27 14:03:11 -08:00