From c18453b8608e0d6de5fb66320af0445bd5f2de4f Mon Sep 17 00:00:00 2001 From: HBDK Date: Wed, 3 Aug 2016 14:15:05 +0200 Subject: [PATCH] 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 --- source/_components/switch.flux.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/switch.flux.markdown b/source/_components/switch.flux.markdown index ddb70a13ced..b78679e6693 100644 --- a/source/_components/switch.flux.markdown +++ b/source/_components/switch.flux.markdown @@ -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'.