Added announcement when HA reboots

This commit is contained in:
2022-07-02 19:16:27 -04:00
parent fe2f955eca
commit 944cc9dc60
2 changed files with 17 additions and 0 deletions

View File

@ -296,6 +296,11 @@
target:
entity_id:
- switch.presence_simulation
data: {}
- service: script.status_annc
data_template:
who: basement
call_ha_started: 1
- if:
- condition: trigger
id: hass_stop

View File

@ -903,6 +903,18 @@ script:
] | random}}
{% endmacro %}
{% macro ha_started() %}
<p>
{{ [
'All systems are operational again. ',
'I am back, sir. Not to worry. ',
'I am back online. Nice to see you, sir. ',
'Your home assistant is back online, sir. ',
'My systems are back online. Hello, sir. '
] | random }}
</p>
{% endmacro %}
{%- macro snark_door_motion() -%}
{{ [
'Do you want me to send them away?',