mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 07:02:21 +01:00
Ensure components only powerdown after teardown (#9044)
This commit is contained in:
@@ -257,6 +257,8 @@ class Application {
|
||||
|
||||
void run_safe_shutdown_hooks();
|
||||
|
||||
void run_powerdown_hooks();
|
||||
|
||||
/** Teardown all components with a timeout.
|
||||
*
|
||||
* @param timeout_ms Maximum time to wait for teardown in milliseconds
|
||||
|
Reference in New Issue
Block a user