From 29a3856af484efeeddbb30971f615e7c6ea1d5a4 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 9 May 2023 00:51:32 -0400 Subject: [PATCH] Account for K staying elsewhere in his med report --- custom_templates/status.jinja | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_templates/status.jinja b/custom_templates/status.jinja index 43430dd..58e4ec8 100644 --- a/custom_templates/status.jinja +++ b/custom_templates/status.jinja @@ -116,7 +116,11 @@ {% endmacro %} {% macro medReportKallen() %} +{% if is_state('input_boolean.kallen_overnight','on') %} +Kallen is staying elsewhere overnight. +{% else %} {{ kallen_morning_meds() }} {{ kallen_night_meds() }} +{% endif %} {% endmacro %}