Dear Community,
I read in some place here, that custom intents should have priority over standard intents.
I am struggling to understand, why it does not work for me this way.
For example, I defined custom sentence to move shades to specific percentage, which overlaps with built-in intent to control brightness.
My custom intent is defined as follows:
UstawRolety:
data:
- sentences:
- “(przesuń|przestań|przestaw) rolety na {zakres} [procent|%]”
The intent is matched as expected when I use verb “przesuń” (not used in built-in intents):
… but when I use verb “przestaw” (also used in built-in intent HassLightSet to control brightness), then the built-in intent HassLightSet is matched instead of my custom intent:
Does anyone know, whether this is a bug or a feature? Am I wrong assuming that custom intent should have higher priority over built-in intent?
Or maybe there is something I defined incorrectly?
Thanks in advance for any hint!
Collisions, in general, are a big problem of this system. Inside the Intens repository, they are determined at the testing stage. Try to avoid them, you can use domain filtering.
wait for the major HA update, it looks like your problem has already been solved
I think the priority should remain with the built-in intents. When they are written correctly, they do not create collisions due to the use of generalized templates.
Now there is a period of formation, so various mistakes happen. But you can always participate in their correction.
And yes, I would be happy to be able to help (if only I could be useful when not really having development skills and experience). I will go through the documentation to find out, if and how I can contribute.