This commit is contained in:
Bill Adams 2024-05-07 14:45:01 +02:00 committed by GitHub
commit f7d8f39a46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ Configuration variables:
- ``ALWAYS_OFF`` (Default) - Always initialize the light as OFF on bootup.
- ``ALWAYS_ON`` - Always initialize the light as ON on bootup.
.. note::
If you want a custom power-on state, for example a specific color or effect, edit the
``on_boot`` automation script and set the restore mode to ``ALWAYS_OFF`` to let the
script set the state.
- **on_turn_on** (*Optional*, :ref:`Action <config-action>`): An automation to perform
when the light is turned on. See :ref:`light-on_turn_on_off_trigger`.
- **on_turn_off** (*Optional*, :ref:`Action <config-action>`): An automation to perform