home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.12k stars 31.11k forks source link

Alexa - Scenes and scripts do not execute when using Dutch as the language. #131917

Open gggerdy opened 2 days ago

gggerdy commented 2 days ago

The problem

When Alexa is set to Dutch, scripts configured in Home Assistant fail to run, even though they work as expected in other supported languages (e.g., English). This appears to be a localization or integration issue.

What version of Home Assistant Core has the issue?

core-2024.11.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Alexa

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Alexa's response in English: "OK", then she executes the script Alexa's response in Dutch: "Niet ondersteund"

home-assistant[bot] commented 2 days ago

Hey there @home-assistant/cloud, @ochlocracy, @jbouwh, mind taking a look at this issue as it has been labeled with an integration (alexa) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `alexa` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign alexa` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


alexa documentation alexa source (message by IssueLinks)

jbouwh commented 1 day ago

Can you give some more insight about the setup. I know some Dutch localization was was implemented.

doubleGG82 commented 1 day ago

@jbouwh off course, I'm happy to provide you with some more information

Steps to Reproduce:

  1. Set Alexa’s language to English.
  2. Create a routine that triggers a Home Assistant scene (in HA core I used a “script” because automation/scene does not work) using a specific voice command.
  3. Voice command "Alexa, battery Audi"
  4. Observe Alexa's response: “OK”
  5. The script in HA runs successfully, in my case I send a variable to via tts, Alexa replies with the message I want
  6. See the scripts below for the response
  7. Change Alexa to Dutch: "Alexa, speak Dutch"
  8. Do the same steps as above, but in Dutch
  9. Voice command: "Aelxa, batterij Audi"
  10. Alexa’s response is: “niet ondersteund”
  11. The HA script does not run

Script code in English `alias: alexavoice - battery audi description: battery percentage audi sequence:

script code in Dutch: `alias: alexavoice - batterij audi NL description: Geeft het batterijpercentage van de audi sequence: