Skip to content

Commit 2aaffca

Browse files
committed
Minimize configuration sample
1 parent 2005b31 commit 2aaffca

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

source/_components/switch.flux.markdown

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,10 @@ To use the Flux switch in your installation, add the following to your `configur
2525
```yaml
2626
# Example configuration.yaml entry
2727
switch:
28-
platform: flux
29-
lights:
30-
- light.desk
31-
- light.lamp
32-
name: Fluxer
33-
start_time: '7:00'
34-
stop_time: '23:00'
35-
start_colortemp: 4000
36-
sunset_colortemp: 3000
37-
stop_colortemp: 1900
38-
brightness: 200
39-
disable_brightness_adjust: True
40-
mode: xy
28+
- platform: flux
29+
lights:
30+
- light.desk
31+
- light.lamp
4132
```
4233
4334
Configuration variables:
@@ -53,3 +44,23 @@ Configuration variables:
5344
- **disable_brightness_adjust** (*Optional*): If true, brightness will not be adjusted besides color temperature. Defaults to False.
5445
- **mode** (*Optional*): Select how color temperature is passed to lights. Valid values are `xy`, `mired` and `rgb`. Defaults to `xy`.
5546

47+
Full example:
48+
49+
```yaml
50+
# Example configuration.yaml entry
51+
switch:
52+
- platform: flux
53+
lights:
54+
- light.desk
55+
- light.lamp
56+
name: Fluxer
57+
start_time: '7:00'
58+
stop_time: '23:00'
59+
start_colortemp: 4000
60+
sunset_colortemp: 3000
61+
stop_colortemp: 1900
62+
brightness: 200
63+
disable_brightness_adjust: True
64+
mode: xy
65+
```
66+

0 commit comments

Comments
 (0)