Changed security condition
This commit is contained in:
@ -50,9 +50,8 @@ give_me_darkness:
|
||||
- downstairs_bathroom
|
||||
data: {}
|
||||
- condition: template
|
||||
value_template: "{% if is_state('input_boolean.work_today','on') and state_attr('input_datetime.tina_workday_end','timestamp')
|
||||
> state_attr('input_datetime.kallen_bedtime','timestamp') %}\n false\n{% else
|
||||
%}\n true\n{% endif %}\n"
|
||||
value_template: "{% if is_state('person.tony_stork','home') and is_state('person.christina_stork','home')
|
||||
%}\n true\n{% else %}\n false\n{% endif %}"
|
||||
- service: script.activate_alexa_actionable_notification
|
||||
data_template:
|
||||
text: Would you like me to arm the security system?
|
||||
|
Reference in New Issue
Block a user