home-assistant / intents

Intents to be used with Home Assistant
https://developers.home-assistant.io/docs/voice/overview/
Creative Commons Attribution 4.0 International
444 stars 503 forks source link

Add expansion rule for luz #2353

Closed P2mb2 closed 1 month ago

P2mb2 commented 1 month ago

Simple addition on expansion rules to avoid using multiple times the same alternates for luz.

Summary by CodeRabbit

coderabbitai[bot] commented 1 month ago

[!WARNING]

Rate limit exceeded

@home-assistant[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 28 minutes and 34 seconds before requesting another review.

How to resolve this issue? After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.
How do rate limits work? CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.
Commits Files that changed from the base of the PR and between 82432de5a82192ff4a670f35101a7d59aa894e1e and 246ed1013db0a3b5e8e2c4ce4963eee6da99941f.
Walkthrough ## Walkthrough The changes involve significant enhancements to the YAML configuration for handling light-related commands in Portuguese. New vocabulary has been introduced for lighting terms, specifically focusing on the singular term "luz." Additionally, the sentence structures for both turning on and off lights have been simplified, improving clarity and consistency. This streamlining is expected to enhance user interactions and improve the system's ability to accurately recognize and process voice commands. ## Changes | Files | Change Summary | |-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------| | `sentences/pt/_common.yaml` | Added a new entry for "luz" and its variations in the `expansion_rules`, enhancing vocabulary related to lighting. | | `sentences/pt/light_HassTurnOff.yaml` | Simplified sentence patterns for turning off lights by consolidating terms to a single reference for "luz," enhancing clarity and usability of commands. | | `sentences/pt/light_HassTurnOn.yaml` | Streamlined sentence structures for turning on lights, focusing on a singular term for "luz" to reduce variability and improve command recognition. |

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)