From d58e2a6ab04f806ff505cfbe2ce5dff7f23179f2 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 29 May 2023 11:56:46 -0400 Subject: [PATCH] Forgot to convert a timestamp to HH:MM --- packages/scheduling.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scheduling.yaml b/packages/scheduling.yaml index afe74f5..6b60888 100644 --- a/packages/scheduling.yaml +++ b/packages/scheduling.yaml @@ -575,7 +575,7 @@ script: data: time: > {% if is_state('input_boolean.work_today','on') %} - {{ state_attr('input_datetime.tina_workday_start','timestamp') | int - 1800 }} + {{ (state_attr('input_datetime.tina_workday_start','timestamp') | int - 1800) | timestamp_custom('%H:%M', false) }} {% else %} {{ states('input_datetime.master_bedroom_wakeup') }} {% endif %}