Hello, I am trying to setup assist with mitigated results: what is the temp in hall? results in selectingHassClimateGetTemperature intent, which is correct. But what is the temperature in hall? selects the intent HassGetState and it does not work anymore. The answer is only temperature is is the target does not match any device. Would you have any advice to understand this and potential mis-configuration on my side ? Thanks
#Assist intents for temperature
1 messages · Page 1 of 1 (latest)
Hmm tried this with one of my areas and worked fine for both. Maybe a custom intent somewhere causing a problem? Can double check with the assist tab in developer tools
is any of your entities called "temp" or "temperature"?
Oh thanks @peak path indeed I had some entities friendly names set to temperature 😦 I guess that I need to go back to documentation and best way to name things 🙂
Well I actually I still have issue when using French language:
- I have an area called
salonwhich I associated a temperature entity - I am testing this intent. Which is
Quelle est la température dans le salon? - dev. tools->assist->sentence parser seems to correctly parse it as the intent
HassClimateGetTemperatureis recognized and the areasalonis parsed (See full yaml following). Is it expected to have such target list and not the temperature entity associated to this area? - Nevertheless if I ask assist I have the answer
I did not understand😦
What did I missed? Thanks
intent:
name: HassClimateGetTemperature
slots:
area: salon
details:
area:
name: area
value: salon
text: salon
targets:
sensor.salon_battery_level:
matched: true
sensor.salon_relative_humidity:
matched: true
binary_sensor.salon_opening:
matched: true
binary_sensor.salon_motion:
matched: true
sensor.salon_temperature:
matched: true
sensor.salon_wmotemp_temperature:
matched: true
sensor.salon_wmotemp_relative_humidity:
matched: true
match: true
sentence_template: Quelle est la température <dans> [<le>]{area}
unmatched_slots: {}
source: builtin
It is interesting that debug in assist reports No valid target Why?
intent:
engine: conversation.home_assistant
language: fr
intent_input: Quelle est la température du salon?
conversation_id: 01JNXR0NTKZ7YKKBQRKNFZ4FH1
device_id: null
prefer_local_intents: true
done: true
processed_locally: true
intent_output:
response:
speech:
plain:
speech: Désolé, je n'ai pas compris
extra_data: null
card: {}
language: fr
response_type: error
data:
code: no_valid_targets
conversation_id: 01JNXR0NTKZ7YKKBQRKNFZ4FH1
Ok answer is here, it is only looking into climate domain, not sensors. Nevertheless it is surprising that dev tools sentence parser reports several targets...