Actionable notification to optionally arm security on "Give Me Darkness"

This commit is contained in:
2022-08-29 03:30:24 -04:00
parent e5672eaee0
commit 7f0513a129
2 changed files with 42 additions and 1 deletions

View File

@ -56,7 +56,11 @@ give_me_darkness:
{% else %}
true
{% endif %}
- service: script.security_arm_home
- service: script.activate_alexa_actionable_notification
data_template:
text: 'Would you like me to arm the security system?'
event_id: 'actionable_notification_night_security_arm'
alexa_device: "{{ states('sensor.last_alexa') }}"
mode: single
icon: mdi:weather-night
start_youtube: