mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-15 01:31:35 +01:00
Remove restore_state from template switch (#3070)
This commit is contained in:
parent
2499e19657
commit
65844ba677
@ -43,8 +43,6 @@ Configuration variables:
|
||||
be performed when the remote (like Home Assistant's frontend) requests the switch to be turned on.
|
||||
- **turn_off_action** (*Optional*, :ref:`Action <config-action>`): The action that should
|
||||
be performed when the remote (like Home Assistant's frontend) requests the switch to be turned off.
|
||||
- **restore_state** (*Optional*, boolean): Sets whether ESPHome should attempt to restore the
|
||||
state on boot-up and call the turn on/off actions with the recovered values. Defaults to ``no``.
|
||||
- **optimistic** (*Optional*, boolean): Whether to operate in optimistic mode - when in this mode,
|
||||
any command sent to the template switch will immediately update the reported state.
|
||||
Defaults to ``false``.
|
||||
|
Loading…
Reference in New Issue
Block a user