forked from home-assistant/intents
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
674 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: es | ||
responses: | ||
intents: | ||
HassGetWeather: | ||
default: > | ||
{% set weather_condition = { | ||
'clear': 'Cielo despejado', | ||
'clear-night': 'Cielo despejado', | ||
'cloudy': 'Cielo nuboso', | ||
'exceptional': 'Clima excepcionalmente adverso', | ||
'fog': 'Niebla', | ||
'hail': 'Precipitaciones en forma de granizo', | ||
'lightning': 'Tormentas eléctricas', | ||
'lightning-rainy': 'Lluvia y tormenta eléctrica', | ||
'partlycloudy': 'Cielos parcialmente nublados', | ||
'pouring': 'Lluvia copiosa', | ||
'rainy': 'Lluvia', | ||
'snowy': 'Precipitaciones en forma de nieve', | ||
'snowy-rainy': 'Precipitaciones en forma de aguanieve', | ||
'sunny': 'Sol', | ||
'windy': 'Vientos', | ||
'windy-variant': 'Vientos y nubes' | ||
} %} | ||
{{ weather_condition.get((state.state | string).lower(), "") }}, con una temperatura de {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: "es" | ||
responses: | ||
intents: | ||
HassListAddItem: | ||
item_added: "Se añadió {{ slots.item }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: ro | ||
responses: | ||
intents: | ||
HassGetWeather: | ||
default: > | ||
{% set weather_condition = { | ||
'clear': 'cu cer senin', | ||
'clear-night': 'cu cer senin', | ||
'cloudy': 'și înnorat', | ||
'exceptional': 'și exceptional', | ||
'fog': 'cu ceață', | ||
'hail': 'cu grindină', | ||
'lightning': 'cu descărcări electrice', | ||
'lightning-rainy': 'cu ploaie însoțită de descărcări electrice', | ||
'partlycloudy': 'și parțial noros', | ||
'pouring': 'cu averse de ploaie', | ||
'rainy': 'cu ploaie', | ||
'snowy': 'cu ninsoare', | ||
'snowy-rainy': 'cu lapoviță', | ||
'sunny': 'și însorit', | ||
'windy': 'cu intensificări ale vântului', | ||
'windy-variant': 'înnorat, cu intensificări ale vântului' | ||
} %} | ||
{{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), "") }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: "ro" | ||
responses: | ||
intents: | ||
HassListAddItem: | ||
item_added: "Am adăugat {{ slots.item }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
language: es | ||
intents: | ||
HassGetState: | ||
data: | ||
# https://www.home-assistant.io/integrations/person/ | ||
- sentences: | ||
- "[<dime> ]<donde_se_encuentra> <name>" | ||
response: where | ||
requires_context: | ||
domain: person | ||
slots: | ||
domain: person | ||
|
||
- sentences: | ||
- "[<dime> ]<se_encuentra> <name> [en] [el|la[s]|los] {zone:state}" | ||
response: one_yesno | ||
requires_context: | ||
domain: person | ||
slots: | ||
domain: person | ||
|
||
- sentences: | ||
- "[<dime> ](<se_encuentra>|hay) alguien [en] [el|la[s]|los] {zone:state}" | ||
response: any | ||
slots: | ||
domain: person | ||
|
||
- sentences: | ||
- "[<dime> ]<se_encuentra>[n] (todos|todo el mundo) en [el|la[s]|los] {zone:state}" | ||
response: all | ||
slots: | ||
domain: person | ||
|
||
- sentences: | ||
- "[<dime> ]quién[es] <se_encuentra>[n] [en] [el|la[s]|los] {zone:state}" | ||
response: which | ||
slots: | ||
domain: person | ||
|
||
- sentences: | ||
- "[<dime> ]cuánta[s] (gente|personas) (hay|<se_encuentra>[n]) [en] [el|la[s]|los] {zone:state}" | ||
response: how_many | ||
slots: | ||
domain: person |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: "es" | ||
intents: | ||
HassListAddItem: | ||
data: | ||
- sentences: | ||
- <añadir> <item> (a|en) [[mi|el] lista[do] [de|del|de la[s]|de los]] {name} | ||
- <añadir> (a|en) [[mi|el|la] lista[do] [de|del|de la[s]|de los]] {name} <item> | ||
response: item_added | ||
requires_context: | ||
domain: todo | ||
expansion_rules: | ||
item: "{shopping_list_item:item}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: es | ||
intents: | ||
HassGetWeather: | ||
data: | ||
- sentences: | ||
- "qué tiempo hace [en <name>]" | ||
requires_context: | ||
domain: weather |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.