Does anyone know how to define platform that fired the intent?
There is documentation here https://home-assistant.io/developers/intent/
However it’s unclear for me if it is possible to use something like this:
I don’t think Intent_scripts: have states or have a specific platform to fire it. I understood that Intent_scripts could be called from any of the 4 platforms like Alexa but not from the front end. I note that on my state page there are no intents. Also, with alexa, i setup the platform like below. I am positive that there isn’t a way for Alexa to get pushed an intent if called from HA front end instead of alexa.
I use two platforms (Snips and Api.ai) and my question is how to distinguish which of those two fires some of my intents.
It is mentioned in the documentation:
Intents are implemented using the homeassistant.helpers.intent.Intent class. It contains the following properies: platform the platform that fired the intent