From 52c0c3c7a673380f065fca3214fd6d459419e07c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Fri, 19 May 2023 21:17:39 -0400 Subject: [PATCH] Handle the scenario where I quit streaming. --- custom_templates/status.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_templates/status.jinja b/custom_templates/status.jinja index 2e7b33f..9bcd93c 100644 --- a/custom_templates/status.jinja +++ b/custom_templates/status.jinja @@ -147,7 +147,7 @@ Tony is currently streaming. The current stream category is {{ game }}. The curr {% elif method == 'text' %} Tony will be streaming today. Stream starts at {{ streamstart }}. {% endif %} -{% else %} +{% elif state_attr('calendar.tony_s_twitch_schedule','start_time') != none %} Tony does not have a stream scheduled today. The next scheduled stream is in {{ next_twitch_stream() }} approximately. {% endif %} {% endmacro %}