Changed timing condition
This commit is contained in:
@ -51,7 +51,7 @@ give_me_darkness:
|
|||||||
data: {}
|
data: {}
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% if is_state('input_boolean.work_today','on') and state_attr('input_datetime.tina_workday_end','timestamp') > 75600 %}
|
{% if is_state('input_boolean.work_today','on') and state_attr('input_datetime.tina_workday_end','timestamp') > state_attr('input_datetime.kallen_bedtime','timestamp') %}
|
||||||
false
|
false
|
||||||
{% else %}
|
{% else %}
|
||||||
true
|
true
|
||||||
|
Reference in New Issue
Block a user