Skip to content

Commit

Permalink
Minimize configuration sample
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Oct 21, 2017
1 parent 2005b31 commit 2aaffca
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions source/_components/switch.flux.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
```

0 comments on commit 2aaffca

Please sign in to comment.