[core] Skip copying entity automation and filter sources when unused (#18602)

This commit is contained in:
J. Nick Koston
2026-08-23 09:05:04 -05:00
committed by GitHub
parent e7574a574b
commit cf31c08a5c
13 changed files with 145 additions and 30 deletions
@@ -136,3 +136,19 @@ binary_sensor:
invalid_cooldown: 2s
then:
- logger.log: "Click with custom cooldown"
# Test on_click and on_double_click (compiles match_interval via
# USE_BINARY_SENSOR_CLICK_TRIGGER)
- platform: template
id: click_triggers
name: "Click Triggers"
on_click:
min_length: 50ms
max_length: 350ms
then:
- logger.log: "Clicked"
on_double_click:
min_length: 50ms
max_length: 350ms
then:
- logger.log: "Double clicked"