alias: Smart Follow-Up Conversation (final with agent check)
description: containue conversation without wake word if containue conversation true.
triggers:
- event_type: assist_tts_done
trigger: event
conditions:
- condition: template
value_template: >
{% set cont = state_attr('conversation.last_response',
'continue_conversation') %} {% set resp =
state_attr('conversation.last_response', 'response') %} {% set text =
resp.get('speech', {}).get('plain', {}).get('speech', '') if resp else ''
%} {{ cont == true or ('?' in text) }}
actions:
- delay: "00:00:01"
- target:
entity_id: assist_satellite.assist_microphone
data:
pipeline: Home Assistant
start_listening: true
action: assist_satellite.start_conversation
- wait_for_trigger:
- event_type: conversation_process_response
event_data:
text: זהו
trigger: event
- event_type: conversation_process_response
event_data:
text: סיימנו
trigger: event
- event_type: conversation_process_response
event_data:
text: תודה
trigger: event
timeout: "00:00:10"
continue_on_timeout: false
- target:
entity_id: assist_satellite.assist_microphone
action: assist_satellite.stop_listening
mode: restart
Does this look okay?