mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-09 13:24:04 +02:00
3 KiB
3 KiB
| icon |
|---|
| lucide/rocket |
Getting Started
This guide will help you install and configure Adaptive Lighting for the first time.
Prerequisites
- Home Assistant 2025.9.0 or newer
- HACS (Home Assistant Community Store) installed
Installation
Via HACS (Recommended)
- Open HACS in your Home Assistant instance
- Click on Integrations
- Click the + Explore & Download Repositories button
- Search for "Adaptive Lighting"
- Click Download
- Restart Home Assistant
Or use this button to open HACS directly:
Manual Installation
- Download the latest release from GitHub
- Extract the
adaptive_lightingfolder to yourconfig/custom_components/directory - Restart Home Assistant
Configuration
Choose one of two configuration methods:
=== "Via UI"
1. Go to **Settings** → **Devices & Services**
2. Click **+ Add Integration**
3. Search for "Adaptive Lighting"
4. Follow the setup wizard to name your Adaptive Lighting instance
5. Find Adaptive Lighting and click **Configure**
6. Select your lights and adjust the settings
No `adaptive_lighting:` entry is needed in `configuration.yaml`.
=== "Via YAML"
Instances configured through YAML must be edited in YAML.
```yaml
adaptive_lighting:
- name: "Living Room"
lights:
- light.living_room_ceiling
- light.living_room_lamp
min_brightness: 20
max_brightness: 100
min_color_temp: 2200
max_color_temp: 5500
```
Restart Home Assistant after changing the YAML configuration.
Basic YAML Configuration Example
Here's a simple configuration to get you started:
adaptive_lighting:
- name: "Main Lights"
lights:
- light.living_room
- light.bedroom
- light.kitchen
transition: 30
min_brightness: 10
max_brightness: 100
min_color_temp: 2000
max_color_temp: 5500
Verifying Installation
After configuration, you should see new switches in Home Assistant:
switch.adaptive_lighting_main_lightsswitch.adaptive_lighting_sleep_mode_main_lightsswitch.adaptive_lighting_adapt_brightness_main_lightsswitch.adaptive_lighting_adapt_color_main_lights
Turn on switch.adaptive_lighting_main_lights to start adapting your lights!
Next Steps
- Configuration Reference - Explore all available options
- Services - Learn about service calls for automations
- Automation Examples - See real-world automation recipes
- Troubleshooting - Common issues and solutions