mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-20 10:44:05 +02:00
Extract the light group turn-on detection logic into _member_turn_on_explains_group_turn_on() for better clarity: - Each method now has a single responsibility - The helper method has a descriptive name and docstring - The code flow is easier to follow This is a refactoring of the fix for issue #1378 with no behavior changes. |
||
|---|---|---|
| .. | ||
| translations | ||
| __init__.py | ||
| _docs_helpers.py | ||
| adaptation_utils.py | ||
| color_and_brightness.py | ||
| config_flow.py | ||
| const.py | ||
| docs_gen.py | ||
| hass_utils.py | ||
| helpers.py | ||
| manifest.json | ||
| services.yaml | ||
| strings.json | ||
| switch.py | ||