From abc247bb6f2d1053da95713b0826890fcae8758b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 12 Nov 2022 19:27:16 -0500 Subject: [PATCH] F*ck this indeed... --- templates/speech/nightly_briefing.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index 1b9cae8..73b8ae4 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -18,17 +18,7 @@ {% else %} "Colin does not have school tomorrow. " {% endif %} - {% if is_state('input_boolean.work_today','on') and states('person.christina_stork') in ['Bob Evans','BobEvans'] %} - "Tina is at work right now, she will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " - {% elif is_state('input_boolean.work_today','on') %} - "Tina has work today at {{ (state_attr('input_datetime.tina_workday_start','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " - {% elif is_state('input_boolean.work_today','off') and is_state('binary_sensor.tina_work_tomorrow','on') %} - "Tina has work tomorrow at {{ as_timestamp(strptime(state_attr('calendar.family_tinawork','start_time'), '%Y-%m-%d %H:%M:%S')) | timestamp_custom("%I:%M %p") }}. " - {% elif is_state('input_boolean.work_today','off') and is_state('binary_sensor.tina_work_tomorrow','off') %} - "Tina appears to have tomorrow off from work. " - {% else %} - "Tony is an idiot and appears to have broken my awareness of Tina's schedule. Boo this man. " - {% endif %} + "I am tired of the stupid fucking calendar for Tina's work schedule breaking, so fuck this. "