Refactor check_day_camp script to improve indentation and maintain consistency
This commit is contained in:
@@ -11,10 +11,10 @@ check_day_camp:
|
|||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.day_camp_today
|
entity_id: input_boolean.day_camp_today
|
||||||
default:
|
default:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.day_camp_today
|
entity_id: input_boolean.day_camp_today
|
||||||
- service: system_log.write
|
- service: system_log.write
|
||||||
data:
|
data:
|
||||||
message: "Calendar Check: State={{ states('calendar.family_events') }}, Message={{ state_attr('calendar.family_events', 'message') | default('') }}"
|
message: "Calendar Check: State={{ states('calendar.family_events') }}, Message={{ state_attr('calendar.family_events', 'message') | default('') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user