I think I am just too stupid to use Assist correctly.
I have a sensor with device class temperature assigned to my bedroom. When I ask assist “What is the temperature of bedroom” I get “Unexpected error during intent recognition” back. In the logs it is stated following: Unknown intent HassClimateGetTemperature.
Is it because it is just of type temperature and not in the domain climate?
I am very confused by how this should work and did not find any information that could help me either here or in the github repo.
Any help or more docs I could read into is appreaciated. Let me know if I should provide anything else.
The error message is a bit strange because it implies both knowledge and un-knowledge of the intent…
That could be part of it. There is currently an issue with a few intents like this and windows/doors because they only query one domain. In your case, only climate entities are queried for the HassClimateGetTemperature intent.
By changing your phrasing slightly and giving your temperature sensors Aliases, you may be able to work around this limitation. If you assign the alias “Bedroom Temperature” to the sensor entity you can get probably get the answer you need by asking “What is the Bedroom temperature”.
I have not tested this work around in other languages so YMMV.
yeah that workaround works in English but the problem I have (in German) is that “bedroom” is also an area which leads to the same problem with the unknown (but somehow known) intent of getclimate being tried to match.
But knowing that there is an ongoing discussion about this in general seems to be good information I will keep in mind. Thank you!
I definetly have to put more work into understanding intents and the whole assist thing in the future, way to go!
If I remember correctly, sentences used as triggers get priority over built-in intents, so you may be able to set up an automation to handle rooms that don’t have climate entity-based temperatures.
It’s a bit of a kludge (and it might be more effort than it’s worth), but you could setup “virtual” climate entities using the Generic Thermostat integration.
I decided to use a generic_thermostat and it seems to work perfectly. Just needed to set up a dummy switch and pass my temperature sensor to it. Now I get the correct answer when asking “What is the temperature in Bedroom”, thank you very much!
Sadly this is without °C but I guess I will figure out how to do that as well.