Fix color temp units for strobe effect

Percentage is not acceptable per config validation (cv.color_temperature).  Must be mireds or Kelvin.
This commit is contained in:
Brian Kaufman 2022-10-20 13:00:21 -07:00 committed by GitHub
parent d8ecd9e175
commit 8478bb15de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 <https://en.wikipedia.org/wiki/Mired>`__ 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.