Fix volume threshold

This commit is contained in:
2020-03-10 02:05:14 +02:00
parent 37ca89fa04
commit cc37f43e58
+1 -1
View File
@@ -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