Update Home Assistant repo instructions

This commit is contained in:
Carlo Costanzo
2026-05-03 15:52:51 -04:00
parent 8ea8fcd7f3
commit 8670d3892e
8 changed files with 216 additions and 39 deletions

View File

@@ -9,6 +9,7 @@
# Related Issue: 798
# Notes: Operates only when family/guest/vacation and speech notification
# guards allow it, with time-aware volume.
# Notes: Set `speech_direct: true` for exact visitor-facing announcements that should not be rewritten by the LLM.
# Notes: Garage Echo is an always-on announcement target. Office Echo is
# added when switch.office_lamp_switch is on, which tracks active PC work.
######################################################################
@@ -20,6 +21,11 @@ speech_processing:
- event: openai_instructions_sent
event_data:
instructions: "{{ speech_message | striptags }}"
- variables:
direct_speech: "{{ speech_direct | default(false) | bool }}"
routed_media_players: "{{ media_player | string | lower }}"
speech_response: "{{ speech_message | striptags | trim }}"
- condition: and
conditions:
@@ -67,16 +73,20 @@ speech_processing:
0.2
{% endif %}
- service: conversation.process
data:
agent_id: conversation.openai_conversation
text: >-
{{ speech_message }}
response_variable: agent
- choose:
- conditions:
- condition: template
value_template: "{{ not direct_speech }}"
sequence:
- service: conversation.process
data:
agent_id: conversation.openai_conversation
text: >-
{{ speech_message }}
response_variable: agent
- variables:
speech_response: "{{ agent.response.speech.plain.speech }}"
routed_media_players: "{{ media_player | string | lower }}"
- variables:
speech_response: "{{ agent.response.speech.plain.speech }}"
- service: tts.cloud_say
data: