1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00
This commit is contained in:
J. Nick Koston
2025-07-06 20:26:43 -05:00
parent fb3c092eaa
commit a0d2392344
3 changed files with 134 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
esphome:
name: scheduler-bulk-cleanup
external_components:
- source:
type: local
path: EXTERNAL_COMPONENT_PATH
host:
logger:
level: DEBUG
api:
services:
- service: trigger_bulk_cleanup
then:
- lambda: |-
auto component = id(bulk_cleanup_component);
component->trigger_bulk_cleanup();
scheduler_bulk_cleanup_component:
id: bulk_cleanup_component