mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
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 |
||
|---|---|---|
| .. | ||
| translations | ||
| __init__.py | ||
| _docs_helpers.py | ||
| adaptation_utils.py | ||
| color_and_brightness.py | ||
| config_flow.py | ||
| const.py | ||
| hass_utils.py | ||
| helpers.py | ||
| manifest.json | ||
| services.yaml | ||
| strings.json | ||
| switch.py | ||