Adjust Andreas motion light schedule
This commit is contained in:
1 parent
5109b5b38d
commit
f949b35edf
1 file changed
+1
-1
@@ -35,7 +35,7 @@
|
||||
value_template: >
|
||||
{% set t = now().strftime('%H%M') | int %}
|
||||
{% if is_state('binary_sensor.arbejdsdag','on') %}
|
||||
{{ 630 <= t <= 1945 }}
|
||||
{{ 700 <= t <= 1945 }}
|
||||
{% else %}
|
||||
{{ 1000 <= t <= 2030 }}
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user