Added condition for when wife works late
This commit is contained in:
@ -49,6 +49,13 @@ give_me_darkness:
|
|||||||
- nursery
|
- nursery
|
||||||
- downstairs_bathroom
|
- downstairs_bathroom
|
||||||
data: {}
|
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
|
- service: script.security_arm_home
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:weather-night
|
icon: mdi:weather-night
|
||||||
|
Reference in New Issue
Block a user