iOS
iOS copied to clipboard
Wrong language from iOS Assist shortcut action pt-br
Model Name: IPhone 12 Pro Software Version: 17.1 App version: 2023.7 (2023.471)
Home Assistant Core Version Home Assistant OS 11.1 Home Assistant Core 2023.11.1
Describe the bug Following the instructions from https://www.home-assistant.io/voice_control/apple/
When using the provided shortcuts or creating a custom one just to invoke the Assist action, if you select "Portuguese (Brazil)" as the language but the intent is not recognized, according to https://github.com/home-assistant/intents/blob/main/sentences/pt-br/_common.yaml the error message should be:
Desculpe, não consegui entender seu pedido
However, I'm getting:
Desculpe, não percebi o pedido.
(from https://github.com/home-assistant/intents/blob/main/sentences/pt/_common.yaml)
Which indicates the wrong language code is being passed somewhere.
To Reproduce Install the iOS shortcut for "Assist" provided in the documentation or create a custom one to invoke the Assist action. Select the language "Portuguese (Brazil) Trigger the shortcut for something that does not exist (e.g. fly through the window :) )
Expected behavior Receive the message "Desculpe, não consegui entender seu pedido"
Screenshots
Additional context
Oi Luis, tudo bem? What happens if you use Assist on a browser? Do you get the same response?
Olá Bruno. Tudo jóia! Sorry for the delayed reply. If I use Assist anywhere else, I get the right answer (browser, esphome device with assitant, wyoming-stelitte). See the exemple below.
Browser via text (app / browser via voice has the same output):
Siri via shortcut:
Note that if the intent is recognized, everything works, even with custom intents for pt-BR. It's just the "sorry" message which seem to trigger from the "parent" language pt instead of pt-BR.