mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-16 00:34:04 +02:00
docs: clarify that UI setup needs no YAML entry (#1031)
* Fixed outdated info in README.md The README says to always add an adaptive_lighting: entry in the YAML, where this seems to be no longer needed (or even preferred). * docs: clarify YAML is optional for UI setup --------- Co-authored-by: Bas Nijholt <basnijholt@users.noreply.github.com> Co-authored-by: Bas Nijholt <bas@nijho.lt>
This commit is contained in:
parent
edc8f70996
commit
8f78233e11
4 changed files with 18 additions and 50 deletions
|
|
@ -34,40 +34,23 @@ Or use this button to open HACS directly:
|
|||
|
||||
## Configuration
|
||||
|
||||
### Step 1: Add to configuration.yaml
|
||||
|
||||
Add the following to your `configuration.yaml`:
|
||||
|
||||
```yaml
|
||||
adaptive_lighting:
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> This entry is required even if you plan to configure everything through the UI.
|
||||
|
||||
### Step 2: Restart Home Assistant
|
||||
|
||||
Restart Home Assistant for the changes to take effect.
|
||||
|
||||
### Step 3: Add the Integration
|
||||
|
||||
1. Go to **Settings** → **Devices & Services**
|
||||
2. Click **+ Add Integration**
|
||||
3. Search for "Adaptive Lighting"
|
||||
4. Follow the setup wizard to select your lights
|
||||
|
||||
### Step 4: Configure Your Lights
|
||||
|
||||
You can configure Adaptive Lighting in two ways:
|
||||
Choose one of two configuration methods:
|
||||
|
||||
=== "Via UI"
|
||||
|
||||
1. Go to **Settings** → **Devices & Services**
|
||||
2. Find Adaptive Lighting and click **Configure**
|
||||
3. Adjust settings as needed
|
||||
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"
|
||||
|
|
@ -80,7 +63,9 @@ You can configure Adaptive Lighting in two ways:
|
|||
max_color_temp: 5500
|
||||
```
|
||||
|
||||
## Basic Configuration Example
|
||||
Restart Home Assistant after changing the YAML configuration.
|
||||
|
||||
## Basic YAML Configuration Example
|
||||
|
||||
Here's a simple configuration to get you started:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue