Added announcement when HA reboots
This commit is contained in:
@ -296,6 +296,11 @@
|
|||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.presence_simulation
|
- switch.presence_simulation
|
||||||
|
data: {}
|
||||||
|
- service: script.status_annc
|
||||||
|
data_template:
|
||||||
|
who: basement
|
||||||
|
call_ha_started: 1
|
||||||
- if:
|
- if:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: hass_stop
|
id: hass_stop
|
||||||
|
@ -903,6 +903,18 @@ script:
|
|||||||
] | random}}
|
] | random}}
|
||||||
{% endmacro %}
|
{% 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() -%}
|
{%- macro snark_door_motion() -%}
|
||||||
{{ [
|
{{ [
|
||||||
'Do you want me to send them away?',
|
'Do you want me to send them away?',
|
||||||
|
Reference in New Issue
Block a user