Refactor check_day_camp script to remove redundant value_template declaration
This commit is contained in:
@@ -5,7 +5,6 @@ check_day_camp:
|
|||||||
- conditions:
|
- conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >-
|
value_template: >-
|
||||||
value_template: >
|
|
||||||
{{ states('calendar.family_events') == 'on' and
|
{{ states('calendar.family_events') == 'on' and
|
||||||
'camp' in (state_attr('calendar.family_events', 'message') | lower) and
|
'camp' in (state_attr('calendar.family_events', 'message') | lower) and
|
||||||
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
|
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user