From cc37f43e58de244704c282e5068e5a576842694c Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Tue, 10 Mar 2020 02:05:14 +0200 Subject: [PATCH] Fix volume threshold --- packages/modules/speech.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modules/speech.yaml b/packages/modules/speech.yaml index 145afef..97816de 100644 --- a/packages/modules/speech.yaml +++ b/packages/modules/speech.yaml @@ -63,7 +63,7 @@ script: entity_id: media_player.master_bedroom data_template: volume_level: >- - {% if now().strftime('%H')|int < 6 and now().strftime('%H')|int > 1 %} + {% if now().strftime('%H')|int < 6 and now().strftime('%H')|int > 0 %} 0.2 {% else %} 0.5