mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Minimize configuration sample
This commit is contained in:
parent
2005b310cc
commit
2aaffcade4
@ -25,19 +25,10 @@ To use the Flux switch in your installation, add the following to your `configur
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
platform: flux
|
||||
lights:
|
||||
- light.desk
|
||||
- light.lamp
|
||||
name: Fluxer
|
||||
start_time: '7:00'
|
||||
stop_time: '23:00'
|
||||
start_colortemp: 4000
|
||||
sunset_colortemp: 3000
|
||||
stop_colortemp: 1900
|
||||
brightness: 200
|
||||
disable_brightness_adjust: True
|
||||
mode: xy
|
||||
- platform: flux
|
||||
lights:
|
||||
- light.desk
|
||||
- light.lamp
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
@ -53,3 +44,23 @@ Configuration variables:
|
||||
- **disable_brightness_adjust** (*Optional*): If true, brightness will not be adjusted besides color temperature. Defaults to False.
|
||||
- **mode** (*Optional*): Select how color temperature is passed to lights. Valid values are `xy`, `mired` and `rgb`. Defaults to `xy`.
|
||||
|
||||
Full example:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
- platform: flux
|
||||
lights:
|
||||
- light.desk
|
||||
- light.lamp
|
||||
name: Fluxer
|
||||
start_time: '7:00'
|
||||
stop_time: '23:00'
|
||||
start_colortemp: 4000
|
||||
sunset_colortemp: 3000
|
||||
stop_colortemp: 1900
|
||||
brightness: 200
|
||||
disable_brightness_adjust: True
|
||||
mode: xy
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user