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