1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00

Fix scheduler race conditions and add comprehensive test suite (#9348)

This commit is contained in:
J. Nick Koston
2025-07-07 14:57:55 -05:00
committed by GitHub
parent 138ff749f3
commit 3ef392d433
45 changed files with 2686 additions and 102 deletions

View File

@@ -0,0 +1,23 @@
esphome:
name: sched-simul-callbacks-test
external_components:
- source:
type: local
path: EXTERNAL_COMPONENT_PATH
components: [scheduler_simultaneous_callbacks_component]
host:
logger:
level: INFO
scheduler_simultaneous_callbacks_component:
id: simultaneous_callbacks
api:
services:
- service: run_simultaneous_callbacks_test
then:
- lambda: |-
id(simultaneous_callbacks)->run_simultaneous_callbacks_test();