Refactor check_day_camp script to remove redundant value_template declaration
This commit is contained in:
@@ -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) }}
|
||||
|
||||
Reference in New Issue
Block a user