mirror of
https://github.com/dlitz/esphome-configs-dlitz.git
synced 2026-04-15 22:03:26 -06:00
Import YAML files into repository
This commit is contained in:
13
common/factory-reset.yaml
Normal file
13
common/factory-reset.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
factory_reset:
|
||||
resets_required: 10
|
||||
max_delay: 10s
|
||||
on_increment:
|
||||
- logger.log:
|
||||
format: "(factory_reset) Fast power cycle count now %u, target %u"
|
||||
args: [x, target]
|
||||
|
||||
button:
|
||||
- platform: factory_reset
|
||||
id: button_factory_reset
|
||||
name: Factory reset
|
||||
disabled_by_default: true
|
||||
Reference in New Issue
Block a user