11-28-2025, 06:29 AM
(11-27-2025, 10:30 AM)admin Wrote: there is "restore_mode" option for ESPHome.After adding the above lines in the YAML file, the board cannot flash, always displaying an error.
RESTORE_DEFAULT_OFF - Attempt to restore state and default to OFF if not possible to restore.
here is the detail: https://esphome.io/components/switch/

