diff --git a/scripts.yaml b/scripts.yaml index 3918173..7b8878c 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -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?