mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-16 08:44:03 +02:00
- troubleshooting.md: Remove manually written "Additional Tips" section - automation-examples.md: Remove duplicate "Additional Examples" section - configuration.md: Remove duplicate "Option Categories" tables - sleep-mode.md: Simplify to reference main config, remove duplicate examples - docs_gen.py: Remove unused get_troubleshooting() and get_sleep_mode_intro() This reduces duplication risk by keeping README as single source of truth. Docs pages now primarily pull content via markdown-code-runner.
2.1 KiB
2.1 KiB
| icon |
|---|
| lucide/settings |
Configuration
Adaptive Lighting supports configuration through both YAML and the Home Assistant UI, with identical option names in both methods.
Basic Configuration
The minimal configuration requires only adding the integration to your configuration.yaml:
adaptive_lighting:
You can then configure everything through the UI at Settings → Devices & Services → Adaptive Lighting → Configure.
YAML Configuration
For YAML configuration, you can specify lights and options directly:
adaptive_lighting:
- name: "Living Room"
lights:
- light.living_room_ceiling
- light.living_room_lamp
All Options
All configuration options are listed below with their default values. These options work identically in both YAML and the UI.
Full Configuration Example
Multiple Configurations
You can create multiple Adaptive Lighting configurations for different areas or use cases:
adaptive_lighting:
- name: "Daytime Spaces"
lights:
- light.living_room
- light.kitchen
- light.office
min_brightness: 30
max_brightness: 100
- name: "Bedroom"
lights:
- light.bedroom_ceiling
- light.bedroom_lamp
min_brightness: 5
max_brightness: 80
sleep_brightness: 1
sleep_color_temp: 1000
Related Topics
- Brightness Modes - Detailed explanation of brightness calculation modes
- Sleep Mode - Sleep mode configuration
- Manual Control - How manual control detection works