Minimize configuration sample

This commit is contained in:
Fabian Affolter 2017-10-18 14:57:21 +02:00
parent 2005b310cc
commit 2aaffcade4
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -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
```