You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a sentence triggered automation that has conditions is triggered but does not fire because of the conditions, there is neither LLM fallback (new 2024.12 feature) nor is the sentence processed by internal intents. Instead an empty Assist response is sent, which then results in it being overwritten with "Done" (see code).
What version of Home Assistant Core has the issue?
core-2024.12.0b2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
conversation
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
triggers:
- trigger: conversationcommand:
- "{sentence}"conditions:
- condition: andconditions:
- condition: templatevalue_template: "{{ floor_name(trigger.device_id) is not none }}"
- condition: orconditions:
- condition: stateentity_id: input_boolean.guest_modestate: "on"
- condition: stateentity_id: alarm_control_panel.housestate: armed_vacation
- condition: stateentity_id: alarm_control_panel.housestate: armed_away
- condition: stateentity_id: alarm_control_panel.housestate: triggeredenabled: trueactions:
- set_conversation_response: I'm not allowed to speak to youmode: single
Anything in the logs that might be useful for us?
No response
Additional information
Let me explain why I want to use a sentence trigger with conditions:
I want to "disable" Assist for all inhouse satellites when we are away and the sitter is here. I still want to be able to use Assist on my mobile phone during these times though. Based on an approach by @jlpouffier I created a sentence trigger for "{sentence}" matching everything and respond with "I'm not allowed to speak to you". To only let this affect requests from the inhouse satellites, I added conditions regarding the triggering device's area and guest/alarm mode.
The text was updated successfully, but these errors were encountered:
andreasbrett
changed the title
Sentence Trigger only work without automation conditions
Sentence Trigger only works without automation conditions
Dec 2, 2024
The problem
When a sentence triggered automation that has conditions is triggered but does not fire because of the conditions, there is neither LLM fallback (new 2024.12 feature) nor is the sentence processed by internal intents. Instead an empty Assist response is sent, which then results in it being overwritten with "Done" (see code).
What version of Home Assistant Core has the issue?
core-2024.12.0b2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
conversation
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
Let me explain why I want to use a sentence trigger with conditions:
I want to "disable" Assist for all inhouse satellites when we are away and the sitter is here. I still want to be able to use Assist on my mobile phone during these times though. Based on an approach by @jlpouffier I created a sentence trigger for "{sentence}" matching everything and respond with "I'm not allowed to speak to you". To only let this affect requests from the inhouse satellites, I added conditions regarding the triggering device's area and guest/alarm mode.
The text was updated successfully, but these errors were encountered: