mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-24 17:08:15 +01:00
Add FastLED color correction option (#64)
This commit is contained in:
parent
5ed373913b
commit
a5f07bf923
@ -40,6 +40,8 @@ Configuration variables:
|
|||||||
- **gamma_correct** (*Optional*, float): The `gamma correction
|
- **gamma_correct** (*Optional*, float): The `gamma correction
|
||||||
factor <https://en.wikipedia.org/wiki/Gamma_correction>`__ for the
|
factor <https://en.wikipedia.org/wiki/Gamma_correction>`__ for the
|
||||||
light. Defaults to ``2.8``.
|
light. Defaults to ``2.8``.
|
||||||
|
- **color_correct** (*Optional*, list of percentages): The color correction for each channel. This denotes
|
||||||
|
the maximum brightness of the red, green and blue channel. Defaults to ``color_correct: [100%, 100%, 100%]``.
|
||||||
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
|
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
|
||||||
the transition if no transition parameter is provided by Home
|
the transition if no transition parameter is provided by Home
|
||||||
Assistant. Defaults to ``1s``.
|
Assistant. Defaults to ``1s``.
|
||||||
|
@ -41,6 +41,8 @@ Configuration variables:
|
|||||||
16ms will limit the light to a refresh rate of about 60Hz. Defaults to the default value for the used chipset.
|
16ms will limit the light to a refresh rate of about 60Hz. Defaults to the default value for the used chipset.
|
||||||
- **gamma_correct** (*Optional*, float): The `gamma correction
|
- **gamma_correct** (*Optional*, float): The `gamma correction
|
||||||
factor <https://en.wikipedia.org/wiki/Gamma_correction>`__ for the light. Defaults to ``2.8``.
|
factor <https://en.wikipedia.org/wiki/Gamma_correction>`__ for the light. Defaults to ``2.8``.
|
||||||
|
- **color_correct** (*Optional*, list of percentages): The color correction for each channel. This denotes
|
||||||
|
the maximum brightness of the red, green and blue channel. Defaults to ``color_correct: [100%, 100%, 100%]``.
|
||||||
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
|
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
|
||||||
the transition if no transition parameter is provided by Home Assistant. Defaults to ``1s``.
|
the transition if no transition parameter is provided by Home Assistant. Defaults to ``1s``.
|
||||||
- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/esphomeyaml/components/power_supply` to connect to
|
- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/esphomeyaml/components/power_supply` to connect to
|
||||||
|
Loading…
Reference in New Issue
Block a user