From 0b64012de7d0f47280b85db2476bae9d82a4474f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20=C3=81rkosi=20R=C3=B3bert?= Date: Fri, 12 Jul 2024 23:18:42 +0200 Subject: [PATCH] Remove `esp8266_restore_from_flash` reference (#4041) --- components/globals.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/components/globals.rst b/components/globals.rst index fae21191c..6097d95fe 100644 --- a/components/globals.rst +++ b/components/globals.rst @@ -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 ` 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