mirror of
https://github.com/esphome/esphome.git
synced 2026-10-03 17:55:57 +00:00
[safe_mode] Use register_apply_action for safe_mode.mark_successful (#19605)
This commit is contained in:
@@ -3,6 +3,7 @@ wifi:
|
||||
password: password1
|
||||
|
||||
safe_mode:
|
||||
id: safe_mode_1
|
||||
boot_is_good_after: 2min
|
||||
num_attempts: 3
|
||||
reboot_timeout: 2min
|
||||
@@ -20,3 +21,5 @@ switch:
|
||||
esphome:
|
||||
on_boot:
|
||||
- safe_mode.mark_successful
|
||||
- safe_mode.mark_successful:
|
||||
id: safe_mode_1
|
||||
|
||||
Reference in New Issue
Block a user