Refactor check_day_camp script to remove redundant value_template declaration

This commit is contained in:
2025-06-25 15:48:38 -04:00
parent 5e9cf011af
commit 0b4965a731

View File

@@ -5,7 +5,6 @@ check_day_camp:
- conditions:
- condition: template
value_template: >-
value_template: >
{{ states('calendar.family_events') == 'on' and
'camp' in (state_attr('calendar.family_events', 'message') | lower) and
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}