mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-12 10:24:00 +01:00
Remove esp8266_restore_from_flash
reference (#4041)
This commit is contained in:
parent
aacf4a0865
commit
0b64012de7
@ -40,7 +40,6 @@ Configuration variables:
|
||||
``int`` (for integers), ``float`` (for decimal numbers), ``int[50]`` for an array of 50 integers, etc.
|
||||
- **restore_value** (*Optional*, boolean): Whether to try to restore the state on boot up.
|
||||
Be careful: on the ESP8266, you only have a total of 96 bytes available for this! Defaults to ``no``.
|
||||
This will use storage in "RTC memory", so it won't survive a power-cycle unless you use the ``esp8266_restore_from_flash`` option to save to flash. See :doc:`esp8266_restore_from_flash </components/esphome>` for details.
|
||||
- **max_restore_data_length** (*Optional*, integer): Only applies to variables of type ``std::string``. ESPHome will allocate enough space for this many characters,
|
||||
plus single character of overhead. Strings longer than this will not be saved. The max value of this variable is 254 characters, and the default is 63 characters.
|
||||
- **initial_value** (*Optional*, string): The value with which to initialize this variable if the state
|
||||
|
Loading…
Reference in New Issue
Block a user