diff --git a/sentences/it/_common.yaml b/sentences/it/_common.yaml index f1851218b9..e94425e1f2 100644 --- a/sentences/it/_common.yaml +++ b/sentences/it/_common.yaml @@ -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 @@ -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)" diff --git a/tests/it/cover_HassTurnOff.yaml b/tests/it/cover_HassTurnOff.yaml index 2dfd48f0a5..f55f1f8e8d 100644 --- a/tests/it/cover_HassTurnOff.yaml +++ b/tests/it/cover_HassTurnOff.yaml @@ -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" diff --git a/tests/it/cover_HassTurnOn.yaml b/tests/it/cover_HassTurnOn.yaml index 40a98c93d5..1711e2d696 100644 --- a/tests/it/cover_HassTurnOn.yaml +++ b/tests/it/cover_HassTurnOn.yaml @@ -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: