From fa2f486cb9acc196ad478de4fd84ae2cf991e589 Mon Sep 17 00:00:00 2001 From: Trick van Staveren Date: Wed, 13 Apr 2022 23:32:24 -0500 Subject: [PATCH] Update ref to esp8266 restore_from_flash (#1957) --- components/switch/gpio.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/switch/gpio.rst b/components/switch/gpio.rst index 445d4df13..29ebf0819 100644 --- a/components/switch/gpio.rst +++ b/components/switch/gpio.rst @@ -29,8 +29,8 @@ Configuration variables: - **name** (**Required**, string): The name for the switch. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - **restore_mode** (*Optional*): Control how the GPIO Switch attempts to restore state on bootup. - For restoring on ESP8266s, also see ``esp8266_restore_from_flash`` in the - :doc:`esphome section `. + For restoring on ESP8266s, also see ``restore_from_flash`` in the + :doc:`esp8266 section `. - ``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.