added kelvin and mired mode to flux (#703)

* added kelvin and mired mode to flux

changed to suit proposed changes to the flux switch in this pull:
https://github.com/home-assistant/home-assistant/pull/2665

* changed as requsted
This commit is contained in:
HBDK 2016-08-03 14:15:05 +02:00 committed by Fabian Affolter
parent 64e63e42e4
commit c18453b860

View File

@ -35,6 +35,7 @@ switch:
sunset_colortemp: 3000
stop_colortemp: 1900
brightness: 200
mode: xy
```
Configuration variables:
@ -47,4 +48,5 @@ Configuration variables:
- **sunset_colortemp** (*Optional*): The sun set color temperature. Defaults to `3000`.
- **stop_colortemp** (*Optional*): The color temperature at the end. Defaults to `1900`.
- **brightness** (*Optional*): The brightness of the lights. Calculated with `RGB_to_xy` by default.
- **mode** (*Optional*): Select how color temperature is passed to lights. Valid values are 'xy', 'mired' and 'kelvin'. Defaults to 'xy'.