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

[EL] Update HassTurnOff and LightsTurnOff #1801

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions responses/el/HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ responses:
intents:
HassTurnOff:
default: "Έκλεισε"
light_all: "Έκλεισαν όλα τα φώτα"
lights_area: "Έκλεισαν τα φώτα"
fans_area: "Έκλεισαν οι ανεμιστήρες"
cover: "{{ slots.name }} έκλεισε"
Expand Down
21 changes: 21 additions & 0 deletions sentences/el/light_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,24 @@ intents:
domain: light
name: all
response: "lights_area"

- sentences:
- "[<turn_off>] (όλα τα <lights> | <lights> παντού)"
- "Κλείσε (όλα τα <lights>|<lights> παντού)"
response: "light_all"
slots:
domain: "light"
name: "all"

# Turn off lights in the same area as a satellite device
- sentences:
- "<turn_off> [ <articles> ] ( <lights> )<in_here>"
- "<turn_off>[ αυτό | αυτά| εδώ ] ( <lights> )( <in_here> )"
response: "lights_area"
expansion_rules:
in_here: "[ στο δωμάτιο | στον χώρο | εδώ ]"
slots:
domain: "light"
requires_context:
area:
slot: true
5 changes: 0 additions & 5 deletions tests/el/light_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ tests:
- Κλείσε όλα τα φώτα στο σαλόνι
- Σβήσε όλα τα φώτα στο σαλόνι
- Απενεργοποίησε όλα τα φώτα στο σαλόνι
- Σβήσε τα φώτα στο σαλόνι
- Σβήσε τις λάμπες στο σαλόνι
- Σβήσε τα φωτιστικά στο σαλόνι

- Σβήσε στο σαλόνι όλες τις λάμπες
- Απενεργοποίησε στο σαλόνι όλα τα φωτιστικά
- Κλείσε στο σαλόνι τα φώτα
intent:
name: HassTurnOff
slots:
Expand Down