Pulse light effect transition updates (#3321)
This commit is contained in:
parent
72ca479e8d
commit
31165f4ed2
|
@ -492,11 +492,21 @@ This effect makes a pulsating light. The period can be defined by ``update_inter
|
||||||
name: "Slow Pulse"
|
name: "Slow Pulse"
|
||||||
# transition_length: 1s # defaults to 1s
|
# transition_length: 1s # defaults to 1s
|
||||||
update_interval: 2s
|
update_interval: 2s
|
||||||
|
- pulse:
|
||||||
|
name: "Asymmetrical Pulse"
|
||||||
|
transition_length:
|
||||||
|
on_length: 1s
|
||||||
|
off_length: 500ms
|
||||||
|
update_interval: 1.5s
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **name** (*Optional*, string): The name of the effect. Defaults to ``Pulse``.
|
- **name** (*Optional*, string): The name of the effect. Defaults to ``Pulse``.
|
||||||
- **transition_length** (*Optional*, :ref:`config-time`): The duration of each transition. Defaults to ``1s``.
|
- **transition_length** (*Optional*, :ref:`config-time`): The duration of each transition.
|
||||||
|
Defaults to ``1s``. Can be a single time or split for on and off using these nested options.
|
||||||
|
|
||||||
|
- **on_length** (*Optional*, :ref:`config-time`): The duration of the transition when the light is turned on.
|
||||||
|
- **off_length** (*Optional*, :ref:`config-time`): The duration of the transition when the light is turned off.
|
||||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval when the new transition is started. Defaults to ``1s``.
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval when the new transition is started. Defaults to ``1s``.
|
||||||
- **min_brightness** (*Optional*, percentage): The minimum brightness value. Defaults to ``0%``
|
- **min_brightness** (*Optional*, percentage): The minimum brightness value. Defaults to ``0%``
|
||||||
- **max_brightness** (*Optional*, percentage): The maximum brightness value. Defaults to ``100%``
|
- **max_brightness** (*Optional*, percentage): The maximum brightness value. Defaults to ``100%``
|
||||||
|
|
Loading…
Reference in New Issue