Added condition for when wife works late

This commit is contained in:
2022-06-29 15:18:20 -04:00
parent 7e66cd46a0
commit f8a433823e

View File

@ -49,6 +49,13 @@ give_me_darkness:
- nursery
- downstairs_bathroom
data: {}
- condition: template
value_template: >
{% if is_state('input_boolean.work_today','on') and state_attr('input_datetime.tina_workday_end','timestamp') > 75600 %}
false
{% else %}
true
{% endif %}
- service: script.security_arm_home
mode: single
icon: mdi:weather-night