Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some more sentences to NL Broadcast intent. #2933

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcelveldt
Copy link
Member

Add a few more sentences to the NL/Dutch version of the broadcast intent, these are commonly used on Google Home and Apple Home.

@TheFes
Copy link
Contributor

TheFes commented Jan 30, 2025

Hi @marcelveldt
Can you add tests for the new sentences as well?

@@ -5,3 +5,5 @@ intents:
- sentences:
- "broadcast [overal] [dat] {message}"
- "roep [overal] ([dat] {message};om)"
- "roep om [in het huis] {message}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you add an optional [dat] you can say
roep om in het huis dat we gaan eten and it will broadcast we gaan eten

It makes the sentence more natural, and the dat part won't be included in the broadcast message. Without the optional dat it will broadcast dat we gaan eten

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can combine the 2nd and 3rd one in
- roep [overal|in het huis] ([dat] {message};om)

That will also match

  • roep in het huis [dat] {message} om
  • roep in het huis om [dat] {message}

@home-assistant home-assistant bot marked this pull request as draft January 30, 2025 10:00
@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants