From f944d1d1fec0808359170979eaea86f7acff1b0d Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 19 Apr 2023 20:40:22 -0400 Subject: [PATCH] Not all sports have a kickoff... --- custom_templates/sports.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_templates/sports.jinja b/custom_templates/sports.jinja index 20f3257..f2b6168 100644 --- a/custom_templates/sports.jinja +++ b/custom_templates/sports.jinja @@ -3,7 +3,7 @@ {% set date = state_attr(team,'date') | as_timestamp | timestamp_custom('%m-%d') %} {% if date == now().strftime('%m-%d') %} "The {{ state_attr(team,'friendly_name') }} will be playing today against the {{ state_attr(team,'opponent_name') }} at {{ state_attr(team,'venue') }}. " - "Kickoff will be at {{ state_attr(team,'date') | as_timestamp | timestamp_custom('%I:%M %p') }}. " + "Start time is at {{ state_attr(team,'date') | as_timestamp | timestamp_custom('%I:%M %p') }}. " {% endif %} {% endif %} {% endmacro %}