#Override built-in intent response

1 messages · Page 1 of 1 (latest)

turbid ferry
#

It seems sentences can be overridden, but responses not so much?
I cannot seem to override intents/responses/en/HassGetState.yaml which uses, default: "{{ state.state_with_unit }}"

ebon snow
#

I'm guessing you have a sensor called "outside temperature".

You can override responses at intent level https://www.home-assistant.io/voice_control/custom_sentences/#customizing-responses but that will do it for any sentence that triggers the intent

In your case, you would need a custom sentence ("what is the temperature outside") that triggers a custom intent script (named anything other than the built-in intents, e.g. MyGetTempOutside) which responds with only the state, not the unit of measurement.

#

If you say that's being overridden bybthe built-in intent, then there is something a bit wrong. Share some code pls, and we will help you out

turbid ferry
#

yes, that was the cause. A sensor called "Outside Temperature".
But having a different intent name does not override the built in intent that seems to resolve first when it matches the sensor name.
I wish the debug log showed the Intent Name, but it only shows the intent input, conversation id, and other data not useful in this case of trying to troubleshoot intent conflicts