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
I have an automation for assist that looks like this (simplified for example):
triggers:
- trigger: conversation
command:
- play music by {artist_name} [(in|on) [the ]{area_name}]
actions:
- set_conversation_response: >-
Playing music by {{ trigger.slots.artist_name }} in the {{ trigger.slots.area_name }}
When I give the command "Play music by Jason Mraz" the intent processing is splitting in the middle of the word "Jason" such that it tries to play music by "Jas" ON the area "Mraz." Similarly, "Play music by Justin Timberlake in the Office" returns "Playing music by Just in the Timberlake in the Office"
The returned (simplified) trigger data looks like:
trigger:
platform: conversation
sentence: Play music by Jason Mraz
details:
artist_name:
name: artist_name
text: Jas
value: Jas
area_name:
name: area_name
text: Mraz
value: Mraz
slots:
artist_name: Jas
area_name: Mraz
user_input:
text: Play music by Jason Mraz
language: en
agent_id: conversation.home_assistant
I cannot find any way to structure the sentence such that it only matches "on" or "in" when preceded by a space and not when "on" or "in" is found at the end of part of the artist's name.
The text was updated successfully, but these errors were encountered:
I have an automation for assist that looks like this (simplified for example):
When I give the command "Play music by Jason Mraz" the intent processing is splitting in the middle of the word "Jason" such that it tries to play music by "Jas" ON the area "Mraz." Similarly, "Play music by Justin Timberlake in the Office" returns "Playing music by Just in the Timberlake in the Office"
The returned (simplified) trigger data looks like:
I cannot find any way to structure the sentence such that it only matches "on" or "in" when preceded by a space and not when "on" or "in" is found at the end of part of the artist's name.
The text was updated successfully, but these errors were encountered: