Some workarounds for current sensor logic

This commit is contained in:
2022-04-21 14:11:38 -04:00
parent 73a7940113
commit 3b34204c4b

View File

@ -63,16 +63,8 @@ automation:
- service: input_boolean.turn_off
entity_id: input_boolean.audible_notifications
- id: b8d21d04-c263-4d33-9590-9fb1e76b0de8
alias: Kallen Nightly Report
trigger:
platform: time
at: input_datetime.kallen_nightly_briefing
action:
- service: script.kallen_nightly_briefing
- id: c772b54d-6448-4d74-a0c2-32998f49b17c
alias: Kallen Scheduling
alias: Kallen Scheduling - Morning
trigger:
platform: time
at: '06:05:00'
@ -86,6 +78,22 @@ automation:
{% else %}
08:00
{% endif %}
- service: input_datetime.set_datetime
entity_id: input_datetime.kallen_morning_briefing
data_template:
time: >
{% if is_state('input_boolean.school_today', 'on') %}
07:40
{% else %}
10:00
{% endif %}
- id: 0335656c-b5cf-4983-bbac-a2d71ca2b74e
alias: Kallen Scheduling - Evening
trigger:
platform: time
at: '16:00:00'
action:
- service: input_datetime.set_datetime
entity_id: input_datetime.kallen_bedtime
data_template:
@ -104,18 +112,9 @@ automation:
{% else %}
21:40
{% endif %}
- service: input_datetime.set_datetime
entity_id: input_datetime.kallen_morning_briefing
data_template:
time: >
{% if is_state('input_boolean.school_today', 'on') %}
07:40
{% else %}
10:00
{% endif %}
- id: 1c9f7e4b-2d5a-4b95-bd80-d9aa2244a6db
alias: House Scheduling
alias: House Scheduling - Morning
trigger:
platform: time
at: '06:10:00'
@ -129,6 +128,13 @@ automation:
{% else %}
09:00
{% endif %}
- id: 55293e9a-ec3b-46bb-af47-94e95f3c9951
alias: House Scheduling - Evening
trigger:
platform: time
at: '16:05:00'
action:
- service: input_datetime.set_datetime
entity_id: input_datetime.audible_notification_off
data_template:
@ -147,6 +153,14 @@ automation:
action:
- service: script.kallen_morning_briefing
- id: b8d21d04-c263-4d33-9590-9fb1e76b0de8
alias: Kallen Nightly Briefing
trigger:
platform: time
at: input_datetime.kallen_nightly_briefing
action:
- service: script.kallen_nightly_briefing
script:
reset_annc_switches:
sequence: