[script] Use register_apply_action for script.stop (#19599)

This commit is contained in:
J. Nick Koston
2026-09-25 10:23:33 -04:00
committed by GitHub
parent a17285afc7
commit 3fb48e0bfa
3 changed files with 4 additions and 18 deletions
+2
View File
@@ -15,6 +15,8 @@ esphome:
strings: ["a", "b"]
- script.wait: my_script
- script.stop: my_script
- script.stop:
id: my_script_queued
- if:
condition:
- script.is_running: my_script