1
0
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:
J. Nick Koston
2025-06-10 23:21:22 -05:00
committed by GitHub
parent ad37f103fa
commit 0e27ac281f
9 changed files with 22 additions and 5 deletions

View File

@@ -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