Changed timing condition

This commit is contained in:
2022-08-29 03:29:43 -04:00
parent cd37b79780
commit e5672eaee0

View File

@ -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