mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Lights & GPIO Switch inverted restore mode (#1190)
This commit is contained in:
parent
db09f74caf
commit
8ac1308bb9
@ -38,6 +38,8 @@ Configuration variables:
|
|||||||
|
|
||||||
- ``RESTORE_DEFAULT_OFF`` (Default) - Attempt to restore state and default to OFF if not possible to restore.
|
- ``RESTORE_DEFAULT_OFF`` (Default) - Attempt to restore state and default to OFF if not possible to restore.
|
||||||
- ``RESTORE_DEFAULT_ON`` - Attempt to restore state and default to ON.
|
- ``RESTORE_DEFAULT_ON`` - Attempt to restore state and default to ON.
|
||||||
|
- ``RESTORE_INVERTED_OFF`` - Attempt to restore state inverted from the previous state and default to OFF.
|
||||||
|
- ``RESTORE_INVERTED_ON`` - Attempt to restore state inverted from the previous state and default to ON.
|
||||||
- ``ALWAYS_OFF`` - Always initialize the light as OFF on bootup.
|
- ``ALWAYS_OFF`` - Always initialize the light as OFF on bootup.
|
||||||
- ``ALWAYS_ON`` - Always initialize the light as ON on bootup.
|
- ``ALWAYS_ON`` - Always initialize the light as ON on bootup.
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ Configuration variables:
|
|||||||
|
|
||||||
- ``RESTORE_DEFAULT_OFF`` (Default) - Attempt to restore state and default to OFF if not possible to restore.
|
- ``RESTORE_DEFAULT_OFF`` (Default) - Attempt to restore state and default to OFF if not possible to restore.
|
||||||
- ``RESTORE_DEFAULT_ON`` - Attempt to restore state and default to ON.
|
- ``RESTORE_DEFAULT_ON`` - Attempt to restore state and default to ON.
|
||||||
|
- ``RESTORE_INVERTED_OFF`` - Attempt to restore state inverted from the previous state and default to OFF.
|
||||||
|
- ``RESTORE_INVERTED_ON`` - Attempt to restore state inverted from the previous state and default to ON.
|
||||||
- ``ALWAYS_OFF`` - Always initialize the pin as OFF on bootup.
|
- ``ALWAYS_OFF`` - Always initialize the pin as OFF on bootup.
|
||||||
- ``ALWAYS_ON`` - Always initialize the pin as ON on bootup.
|
- ``ALWAYS_ON`` - Always initialize the pin as ON on bootup.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user