Document flash_transition_length (#1420)

This commit is contained in:
Alex 2021-08-30 21:18:24 -05:00 committed by GitHub
parent 926eb31d39
commit 62f66f3c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@ Configuration variables:
Defaults to ``2.8``. Defaults to ``2.8``.
- **default_transition_length** (*Optional*, :ref:`config-time`): The default transition length - **default_transition_length** (*Optional*, :ref:`config-time`): The default transition length
to use when no transition length is set in the light call. Defaults to ``1s``. to use when no transition length is set in the light call. Defaults to ``1s``.
- **flash_transition_length** (*Optional*, :ref:`config-time`): The transition length to use when flash
is called. Defaults to ``0s``.
- **restore_mode** (*Optional*): Control how the light attempts to restore state on bootup. - **restore_mode** (*Optional*): Control how the light attempts to restore state on bootup.
For restoring on ESP8266s, also see ``esp8266_restore_from_flash`` in the For restoring on ESP8266s, also see ``esp8266_restore_from_flash`` in the
:doc:`esphome section </components/esphome>`. :doc:`esphome section </components/esphome>`.