From 8478bb15de9a8cfa844af6dfee5e5feab841a54e Mon Sep 17 00:00:00 2001 From: Brian Kaufman Date: Thu, 20 Oct 2022 13:00:21 -0700 Subject: [PATCH] Fix color temp units for strobe effect Percentage is not acceptable per config validation (cv.color_temperature). Must be mireds or Kelvin. --- components/light/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/light/index.rst b/components/light/index.rst index 083af218b..24034a9f7 100644 --- a/components/light/index.rst +++ b/components/light/index.rst @@ -551,7 +551,7 @@ Configuration variables: - **green** (*Optional*, percentage): The green channel of the light, if applicable. Defaults to ``100%``. - **blue** (*Optional*, percentage): The blue channel of the light, if applicable. Defaults to ``100%``. - **white** (*Optional*, percentage): The white channel of the light, if applicable. Defaults to ``100%``. - - **color_temperature** (*Optional*, percentage): The color temperature of the light, if applicable. Defaults to ``100%``. + - **color_temperature** (*Optional*, float): The color temperature of the light (in `mireds `__ or Kelvin), if applicable. - **cold_white** (*Optional*, percentage): The cold white channel of the light, if applicable. Defaults to ``100%``. - **warm_white** (*Optional*, percentage): The warm white channel of the light, if applicable. Defaults to ``100%``. - **duration** (**Required**, :ref:`config-time`): The duration this color should be active.