-
Notifications
You must be signed in to change notification settings - Fork 600
[FR] Add "ouvrir" and "fermer" to light intents #3153
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
[FR] Add "ouvrir" and "fermer" to light intents #3153
Conversation
augmente: "(augmente|augmenter|monte|monter)" | ||
demarre: "(démarre|démarrer|lance|lancer)" | ||
diminue: "(diminue|diminuer|baisse|baisser)" | ||
eclaire: "(éclaire|éclairer|illumine|illuminer)" | ||
eteins: "(éteint|eteint|éteins|eteins|éteindre|eteindre|désactive|désactiver|stoppe|stopper|arrête|arrêter|coupe|couper|<eteins_dirty>)" | ||
eteins: "(éteint|eteint|éteins|eteins|éteindre|eteindre|désactive|désactiver|stoppe|stopper|arrête|arrêter|coupe|couper|ferme|fermer|<eteins_dirty>)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added ferme
and fermer
here instead of <ferme>
, because the definition of <ferme>
includes .
@@ -493,12 +493,12 @@ expansion_rules: | |||
|
|||
# Verbs | |||
active: "(active|activer|joue|jouer|exécute|exécuter|démarre|démarrer|lance|lancer)" | |||
allume: "(allume|allumer|active|activer|démarre|démarrer)" | |||
allume: "(allume|allumer|active|activer|démarre|démarrer|ouvre|ouvrir)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as ferme
below, didn't want to include <monte>
by transitivity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cool! Thx
@piitaya Let's keep an eye on collision with other intent when this drops out. |
Add "ouvrir" and "fermer" to turn lights on and off, to support French Canadians specificity.
Reference:
I didn't add any tests around setting light color. I wouldn't use "ouvrir" in that context.