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