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

Vi intents #1

Merged
merged 73 commits into from
Mar 4, 2024
Merged

Vi intents #1

merged 73 commits into from
Mar 4, 2024

Conversation

dinhchinh82
Copy link
Owner

No description provided.

skynetua and others added 30 commits February 24, 2024 08:54
…istant#1978)

* [UK] Add new intents for cover, valve, vacuum, media player

* Fixed fixtures
…ed expansion rule for lights in plural/singular (home-assistant#1995)

* added turn on all lights

* fix tests

* add expansion for plural or singular lights
* Fix spacing in _common.yaml

* binary_sensor

* Climate

* Cover

* Fan

* homeassistant domain

* Light

* Lock

* Media player

* Scene & script

* List
* [PT-BR] add errors

* [PT-BR] expansion_rules adjustment

* add quotation marks

* remove space
…istant#1973)

* [Fr] Add new intents for cover, valve, vacuum, media player

I had to exclude the vacuum domain in homeassistant_HassTurnOff and homeassistant_HassTurnOn, not sure about the impact of that change.

* Roll back on test/en/media_player_HassMediaNext.yaml

* Update media_player_HassMediaNext.yaml

* [Fr] HassMediaPause.yaml

Changed response and test of HassMediaPause.yaml
--> replace "Pause" with "Lecture en pause"

* [Fr] Reviewed responses and removed expansion_rules

Removed <volume> and <position> expansion rules
Updated tests accordingly
use <regle>, <ouvre> and <ferme> in sentences

* [Fr] Update HassMediaNext

Update the response: Suivant --> Média suivant
Add an expansion_rule <media> with media types (chanson, film...)

* [Fr] Reviewed verbs in new intents

New expansion rules for handling infinitive form of verbs

In the expansion_rule <lire>, I added a nominal form of verbs (lecture, reprise) as they can be used as orders with media players (For example: "Lecture sur la TV" )

Note: I also sorted the expansion rules <capteur> that was in the questions category

* [Fr] fix HassVacuumReturnToBase verb + response update

Use the expansion_rule <renvoie>
Update responses for HassVacuumStart :
"démarré" --> "Nettoyage démarré
and HassMediaUnpause
"Reprise" --> "Lecture relancée"

* [Fr] adjustments on media_player_Hass...

- sentences/fr/_common: split verbs "lire" and "reprendre". add "média" value in <media> expansion_rule
- sentences/fr/media_player_HassUnpause: add an intent to cover "Reprends/reprendre la lecture sur [...]"
- sentences/fr/media_player_HassSetVolume : Deleted unuseful spaces in intent
- test/fr/media_player_HassMediaUnpause: add a test for covering all intents
* Warn if a test file is not being tested

* Black

* Isort

* Test all files for which we have YAML

* Remove unused import

* pylint

* Ununsed import.......
* Allow other files in intent foler too

* Test sentences dir yoooo
…assistant#2008)

I think it's also very common to say "Enciende el salón" as a way of turning all the lights of an area by name.
It's even more useful to turn things off.
…2007)

Lights are "encendidas", not "activadas".
Now voice assistant will say: "Luz de la cocina se ha encendido".
Add more natural sentences for media player control
…awareness (home-assistant#2002)

* Work complete, all back into a single file for now (Split Not working)

* Removed position. Useless (I checked how we were handling brightness)

* Small Fix on HassNeverMind to remove a warning.

* Splitting the work into domain files
…tant#2005)

* [FR] Add excluded domains in homeassistant_HassTurnOn/Off

I noticed problems on my HA main instance if a script name or alias matches homeassistant_HassTurnOn/Off intents.

This PR aligns with the English setup by excluding the following domains besides cover, vacuum, and valves:
            - binary_sensor
            - lock
            - scene
            - script
            - sensor

* [FR] Fix empty line in homeassistant_HassTurnOn.yaml

* [FR] Add empty line in homeassistant_HassTurnOff.yaml

* [FR] Test after lint has failed
…istant#1990)

* [FI] Add new intents for cover, valve, vacuum, media_player
lightningdhna and others added 29 commits March 1, 2024 11:11
* set position

* sensor

* fix broken lights

* fix entity name conflict with area

* weather

* selected binary sensors

* media player
…hould be split (home-assistant#2024)

* [HU[ valve_HassSetPosition.yaml and cover_HassSetPosition.yaml files should be split
* [SK] Add vacuum intents

* [SK] Add vacuum intents - fix lng
* [SK] Add vacuum intents

* [SK] Add vacuum intents - fix lng

* [SK] Add setPosition intents
* [SK] Add vacuum intents

* [SK] Add vacuum intents - fix lng

* [SK] Add setPosition intents

* [SK] Add setVolume intent
@dinhchinh82 dinhchinh82 merged commit 6805df1 into main Mar 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.