diff --git a/automations.yaml b/automations.yaml index a1ee332..0bddd3a 100644 --- a/automations.yaml +++ b/automations.yaml @@ -2997,7 +2997,18 @@ state: 'on' alias: We are home action: + - alias: Announce activation + service: script.status_annc + data: + call_interruption: 1 + call_give_me_darkness: 1 + - delay: + hours: 0 + minutes: 0 + seconds: 5 + milliseconds: 0 - service: script.give_me_darkness data: auto: 1 + alias: Run the original Give Me Darkness script mode: single diff --git a/packages/notify.yaml b/packages/notify.yaml index ff95a3d..0cf2307 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -1776,6 +1776,17 @@ script:

{% endmacro %} + {% macro give_me_darkness() %} + {{ [ + 'Automated give me darkness activation routine initiated. ', + 'You have not run the give me darkness script yet, so I will do it for you. ', + 'I am not sure why it is still so bright in here. Allow me to give you darkness. ', + 'It is dark outside. How about we make it dark inside as well. ' + 'Outdoor darkness detected. I will now provide indoor darkness. ', + 'Here is some automated darkness to accentuate our blackened souls. ', + ] | random }} + {% endmacro %} + {% macro server_maintenance() %} {{ [ 'The server will be going down for maintenance shortly. Prepare to activate caveman mode!', @@ -1902,6 +1913,10 @@ script: {{ kallen_dressed_reminder() }} {% endif %} + {% if call_give_me_darkness == 1 %} + {{ give_me_darkness() }} + {% endif %} + {% if call_server_maintenance == 1 %} {{ server_maintenance() }} {% endif %}