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

[IT] Add alternative name for cover blinds #1929

Merged
merged 9 commits into from
Mar 12, 2024
4 changes: 2 additions & 2 deletions sentences/it/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ lists:
values:
- in: "tend(a|e) da sole"
out: awning
- in: "persian(a|e)"
- in: "(persian(a|e)|oscurant(e|i))"
out: blind
- in: "tend(a|e)"
out: curtain
Expand Down Expand Up @@ -316,7 +316,7 @@ expansion_rules:
set: "(impost(a|are) | cambi(a|are) | mett(i|ere) | modific(a|are))"
temp: "[la] (temperatura)"
temperature: "{temperature}[°| gradi] [{temperature_unit}]"
cover: "(tend(a|e)[ da sole]|serrand(a|e)|tapparell(a|e)|persian(a|e)|port(a|e)|saracinesc(a|he)|venezian(a|e)|cancell(o|i)|finestr(a|e))"
cover: "(tend(a|e)[ da sole]|serrand(a|e)|tapparell(a|e)|persian(a|e)|port(a|e)|saracinesc(a|he)|venezian(a|e)|cancell(o|i)|finestr(a|e)|oscurant(e|i))"
climate: "(clima|climatizzator(e|i)|condizionator(e|i)|aria condizionata)"
fan: "(ventol(a|e) | ventilator(e|i) | ventilazione | climatizzator(e|i) | condizionator(e|i))"
all: "tutt(o|e|i|a)"
Expand Down
11 changes: 11 additions & 0 deletions tests/it/cover_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ tests:
domain: "cover"
response: "Ho chiuso tutte le tende"

- sentences:
- "chiudi oscurante in cucina"
- "abbassa oscurante cucina"
intent:
name: "HassTurnOff"
slots:
area: "Cucina"
device_class: "blind"
context:
domain: "cover"

- sentences:
- "chiudi tutte le tapparelle in soggiorno"
- "abbassa tapparelle soggiorno"
Expand Down
12 changes: 12 additions & 0 deletions tests/it/cover_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ tests:
device_class: "curtain"
domain: "cover"
response: "Ho aperto tutte le tende"

- sentences:
- "apri oscurante in bagno"
- "alza oscurante bagno"
intent:
name: "HassTurnOn"
slots:
area: "Bagno"
device_class: "blind"
context:
domain: "cover"

- sentences:
- "apri le tapparelle nel bagno"
intent:
Expand Down