1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[factory_reset] Allow factory reset by rapid power cycle (#9749)

This commit is contained in:
Clyde Stubbs
2025-07-24 21:21:59 +10:00
committed by GitHub
parent ba1de5feff
commit ba72298a63
7 changed files with 222 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings
factory_reset:
resets_required: 5
max_delay: 10s

View File

@@ -0,0 +1 @@
<<: !include common.yaml

View File

@@ -1 +1,4 @@
esp8266:
restore_from_flash: true
<<: !include common.yaml

View File

@@ -1 +1,3 @@
<<: !include common.yaml
button:
- platform: factory_reset
name: Reset to Factory Default Settings