home-assistant-intents 2024.3.12__tar.gz → 2024.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {home-assistant-intents-2024.3.12/home_assistant_intents.egg-info → home-assistant-intents-2024.4.3}/PKG-INFO +1 -1
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/__init__.py +24 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/bg.json +22 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ca.json +204 -7
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/cs.json +4 -1
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/en.json +96 -17
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/fr.json +33 -4
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/it.json +293 -71
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/nb.json +256 -11
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/nl.json +5 -4
- home-assistant-intents-2024.4.3/home_assistant_intents/data/pl.json +2457 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/pt.json +10 -6
- home-assistant-intents-2024.4.3/home_assistant_intents/data/ru.json +3114 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/sl.json +583 -7
- home-assistant-intents-2024.4.3/home_assistant_intents/data/sw.json +578 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3/home_assistant_intents.egg-info}/PKG-INFO +1 -1
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/pyproject.toml +1 -1
- home-assistant-intents-2024.3.12/home_assistant_intents/data/pl.json +0 -1024
- home-assistant-intents-2024.3.12/home_assistant_intents/data/ru.json +0 -1524
- home-assistant-intents-2024.3.12/home_assistant_intents/data/sw.json +0 -43
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/LICENSE.md +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/MANIFEST.in +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/README.md +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/af.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ar.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/bn.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/da.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/de-CH.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/de.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/el.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/es.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/et.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/eu.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/fa.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/fi.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/fr-CA.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/gl.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/gu.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/he.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/hi.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/hr.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/hu.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/id.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/is.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ka.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/kn.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ko.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/lb.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/lt.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/lv.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ml.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/mn.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ms.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/pt-br.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ro.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/sk.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/sr.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/sv.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/te.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/tr.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/uk.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/ur.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/vi.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/zh-cn.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/zh-hk.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/data/zh-tw.json +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents/languages.py +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents.egg-info/SOURCES.txt +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents.egg-info/dependency_links.txt +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents.egg-info/top_level.txt +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/home_assistant_intents.egg-info/zip-safe +0 -0
- {home-assistant-intents-2024.3.12 → home-assistant-intents-2024.4.3}/setup.cfg +0 -0
|
@@ -26,6 +26,9 @@ class ErrorKey(str, Enum):
|
|
|
26
26
|
NO_AREA = "no_area"
|
|
27
27
|
"""Area does not exist."""
|
|
28
28
|
|
|
29
|
+
NO_FLOOR = "no_floor"
|
|
30
|
+
"""Floor does not exist."""
|
|
31
|
+
|
|
29
32
|
NO_DOMAIN = "no_domain"
|
|
30
33
|
"""No devices exist for a domain."""
|
|
31
34
|
|
|
@@ -38,6 +41,12 @@ class ErrorKey(str, Enum):
|
|
|
38
41
|
NO_DOMAIN_IN_AREA_EXPOSED = "no_domain_in_area_exposed"
|
|
39
42
|
"""No devices in an area are exposed for a domain."""
|
|
40
43
|
|
|
44
|
+
NO_DOMAIN_IN_FLOOR = "no_domain_in_floor"
|
|
45
|
+
"""No devices in an floor exist for a domain."""
|
|
46
|
+
|
|
47
|
+
NO_DOMAIN_IN_FLOOR_EXPOSED = "no_domain_in_floor_exposed"
|
|
48
|
+
"""No devices in an floor are exposed for a domain."""
|
|
49
|
+
|
|
41
50
|
NO_DEVICE_CLASS = "no_device_class"
|
|
42
51
|
"""No devices of a class exist."""
|
|
43
52
|
|
|
@@ -50,6 +59,12 @@ class ErrorKey(str, Enum):
|
|
|
50
59
|
NO_DEVICE_CLASS_IN_AREA_EXPOSED = "no_device_class_in_area_exposed"
|
|
51
60
|
"""No devices of a class are exposed in an area."""
|
|
52
61
|
|
|
62
|
+
NO_DEVICE_CLASS_IN_FLOOR = "no_device_class_in_floor"
|
|
63
|
+
"""No devices of a class exist in an floor."""
|
|
64
|
+
|
|
65
|
+
NO_DEVICE_CLASS_IN_FLOOR_EXPOSED = "no_device_class_in_floor_exposed"
|
|
66
|
+
"""No devices of a class are exposed in an floor."""
|
|
67
|
+
|
|
53
68
|
NO_ENTITY = "no_entity"
|
|
54
69
|
"""Entity does not exist."""
|
|
55
70
|
|
|
@@ -62,12 +77,21 @@ class ErrorKey(str, Enum):
|
|
|
62
77
|
NO_ENTITY_IN_AREA_EXPOSED = "no_entity_in_area_exposed"
|
|
63
78
|
"""Entity in area is not exposed."""
|
|
64
79
|
|
|
80
|
+
NO_ENTITY_IN_FLOOR = "no_entity_in_floor"
|
|
81
|
+
"""Entity does not exist in floor."""
|
|
82
|
+
|
|
83
|
+
NO_ENTITY_IN_FLOOR_EXPOSED = "no_entity_in_floor_exposed"
|
|
84
|
+
"""Entity in floor is not exposed."""
|
|
85
|
+
|
|
65
86
|
DUPLICATE_ENTITIES = "duplicate_entities"
|
|
66
87
|
"""More than one entity matched with the same name."""
|
|
67
88
|
|
|
68
89
|
DUPLICATE_ENTITIES_IN_AREA = "duplicate_entities_in_area"
|
|
69
90
|
"""More than one entity in an area matched with the same name."""
|
|
70
91
|
|
|
92
|
+
DUPLICATE_ENTITIES_IN_FLOOR = "duplicate_entities_in_floor"
|
|
93
|
+
"""More than one entity in an floor matched with the same name."""
|
|
94
|
+
|
|
71
95
|
|
|
72
96
|
def get_intents(
|
|
73
97
|
language: str,
|
|
@@ -82,6 +82,25 @@
|
|
|
82
82
|
}
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
|
+
"HassGetWeather": {
|
|
86
|
+
"data": [
|
|
87
|
+
{
|
|
88
|
+
"sentences": [
|
|
89
|
+
"<what_is>[ е] времето [ навън]",
|
|
90
|
+
"как[ е] времето [ навън]"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"sentences": [
|
|
95
|
+
"<what_is>[ е] времето (за|в) <name>",
|
|
96
|
+
"как[ е] времето (за|в) <name>"
|
|
97
|
+
],
|
|
98
|
+
"requires_context": {
|
|
99
|
+
"domain": "weather"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
85
104
|
"HassTurnOn": {
|
|
86
105
|
"data": [
|
|
87
106
|
{
|
|
@@ -1016,6 +1035,9 @@
|
|
|
1016
1035
|
"cover_area": "Отворих {{ slots.area }}",
|
|
1017
1036
|
"cover_device_class": "Отворих {{ slots.device_class }}"
|
|
1018
1037
|
},
|
|
1038
|
+
"HassGetWeather": {
|
|
1039
|
+
"default": "{% set weather_condition = {\n 'clear': 'и ясно',\n 'clear-night': 'и ясно',\n 'cloudy': 'и облачно',\n 'exceptional': 'and exceptional',\n 'fog': 'с мъгла',\n 'hail': 'с градушка',\n 'lightning': 'с грамотевици',\n 'lightning-rainy': 'с грамотевици и дъжд',\n 'partlycloudy': 'и с частична облачност',\n 'pouring': 'и обилни дъждове',\n 'rainy': 'и дъждовно',\n 'snowy': 'и снеговалеж',\n 'snowy-rainy': 'със сняг и дъжд',\n 'sunny': 'и слънчево',\n 'windy': 'и ветровито',\n 'windy-variant': 'with wind and clouds'\n} %} {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), \"\") }}\n"
|
|
1040
|
+
},
|
|
1019
1041
|
"HassLightSet": {
|
|
1020
1042
|
"brightness": "Яркостта на {{ slots.name }} е настроена на {{ slots.brightness }}",
|
|
1021
1043
|
"brightness_area": "Яркостта в {{ slots.area }} е настроена на {{ slots.brightness }}",
|
|
@@ -85,13 +85,32 @@
|
|
|
85
85
|
}
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
|
+
"HassGetWeather": {
|
|
89
|
+
"data": [
|
|
90
|
+
{
|
|
91
|
+
"sentences": [
|
|
92
|
+
"quin temps fa",
|
|
93
|
+
"com és el temps"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"sentences": [
|
|
98
|
+
"quin temps fa (a |al |a l'){name}",
|
|
99
|
+
"com és el temps (a |al |a l'){name}"
|
|
100
|
+
],
|
|
101
|
+
"requires_context": {
|
|
102
|
+
"domain": "weather"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
88
107
|
"HassTurnOn": {
|
|
89
108
|
"data": [
|
|
90
109
|
{
|
|
91
110
|
"sentences": [
|
|
92
|
-
"<engega> tots els llums [<area>]",
|
|
93
|
-
"<engega> totes les llums [<area>]",
|
|
94
|
-
"<engega> [els|les] llums [<area>]"
|
|
111
|
+
"(<engega>|<obre>) tots els llums [<area>]",
|
|
112
|
+
"(<engega>|<obre>) totes les llums [<area>]",
|
|
113
|
+
"(<engega>|<obre>) [els|les] llums [<area>]"
|
|
95
114
|
],
|
|
96
115
|
"slots": {
|
|
97
116
|
"domain": "light",
|
|
@@ -154,7 +173,8 @@
|
|
|
154
173
|
"excludes_context": {
|
|
155
174
|
"domain": [
|
|
156
175
|
"cover",
|
|
157
|
-
"lock"
|
|
176
|
+
"lock",
|
|
177
|
+
"vacuum"
|
|
158
178
|
]
|
|
159
179
|
}
|
|
160
180
|
},
|
|
@@ -199,6 +219,18 @@
|
|
|
199
219
|
}
|
|
200
220
|
]
|
|
201
221
|
},
|
|
222
|
+
"HassMediaUnpause": {
|
|
223
|
+
"data": [
|
|
224
|
+
{
|
|
225
|
+
"sentences": [
|
|
226
|
+
"(<reactiva> [<pronom>] <name>)"
|
|
227
|
+
],
|
|
228
|
+
"requires_context": {
|
|
229
|
+
"domain": "media_player"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
},
|
|
202
234
|
"HassShoppingListAddItem": {
|
|
203
235
|
"data": [
|
|
204
236
|
{
|
|
@@ -213,6 +245,54 @@
|
|
|
213
245
|
}
|
|
214
246
|
]
|
|
215
247
|
},
|
|
248
|
+
"HassNevermind": {
|
|
249
|
+
"data": [
|
|
250
|
+
{
|
|
251
|
+
"sentences": [
|
|
252
|
+
"<cancela> [la comanda|l'ordre]",
|
|
253
|
+
"[no|res] res",
|
|
254
|
+
"no facis (cas|res)",
|
|
255
|
+
"(deixa|oblida)-ho [tot]"
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"HassSetPosition": {
|
|
261
|
+
"data": [
|
|
262
|
+
{
|
|
263
|
+
"sentences": [
|
|
264
|
+
"(<obre>|<configura>) [la posició] [de] <name> a[l] <posició>"
|
|
265
|
+
],
|
|
266
|
+
"requires_context": {
|
|
267
|
+
"domain": "valve"
|
|
268
|
+
},
|
|
269
|
+
"slots": {
|
|
270
|
+
"domain": "valve"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"sentences": [
|
|
275
|
+
"(<obre>|<pujar>|<baixar>|<configura>) <name> [<area>] [al] {position}[<percent>]"
|
|
276
|
+
],
|
|
277
|
+
"requires_context": {
|
|
278
|
+
"domain": "cover"
|
|
279
|
+
},
|
|
280
|
+
"slots": {
|
|
281
|
+
"domain": "cover"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"sentences": [
|
|
286
|
+
"(<obre>|<pujar>|<baixar>|<configura>) la posició de[ la|l| l'] {cover_classes:device_class} a[l] <posició>",
|
|
287
|
+
"(<obre>|<pujar>|<baixar>|<configura>) <pronom> {cover_classes:device_class} <area> a[l] <posició>",
|
|
288
|
+
"(<obre>|<pujar>|<baixar>|<configura>) <pronom> {cover_classes:device_class} a[l] <posició> <area>"
|
|
289
|
+
],
|
|
290
|
+
"slots": {
|
|
291
|
+
"domain": "cover"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
216
296
|
"HassLightSet": {
|
|
217
297
|
"data": [
|
|
218
298
|
{
|
|
@@ -224,6 +304,30 @@
|
|
|
224
304
|
}
|
|
225
305
|
]
|
|
226
306
|
},
|
|
307
|
+
"HassMediaNext": {
|
|
308
|
+
"data": [
|
|
309
|
+
{
|
|
310
|
+
"sentences": [
|
|
311
|
+
"[<reproduir> (<preposicio>|<pronom>)]<seguent>[ <element>][ <preposicio>]<name>"
|
|
312
|
+
],
|
|
313
|
+
"requires_context": {
|
|
314
|
+
"domain": "media_player"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
"HassMediaPause": {
|
|
320
|
+
"data": [
|
|
321
|
+
{
|
|
322
|
+
"sentences": [
|
|
323
|
+
"(pausa[r]) [<pronom>] <name>"
|
|
324
|
+
],
|
|
325
|
+
"requires_context": {
|
|
326
|
+
"domain": "media_player"
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
227
331
|
"HassClimateGetTemperature": {
|
|
228
332
|
"data": [
|
|
229
333
|
{
|
|
@@ -236,6 +340,19 @@
|
|
|
236
340
|
}
|
|
237
341
|
]
|
|
238
342
|
},
|
|
343
|
+
"HassVacuumReturnToBase": {
|
|
344
|
+
"data": [
|
|
345
|
+
{
|
|
346
|
+
"sentences": [
|
|
347
|
+
"(torn(a|i)) <name> [a [la] (base|casa)]",
|
|
348
|
+
"fes que <name> ([re]torni|vagi) [a [la] (base|casa)]"
|
|
349
|
+
],
|
|
350
|
+
"requires_context": {
|
|
351
|
+
"domain": "vacuum"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
]
|
|
355
|
+
},
|
|
239
356
|
"HassGetState": {
|
|
240
357
|
"data": [
|
|
241
358
|
{
|
|
@@ -288,6 +405,31 @@
|
|
|
288
405
|
"response": "how_many"
|
|
289
406
|
}
|
|
290
407
|
]
|
|
408
|
+
},
|
|
409
|
+
"HassVacuumStart": {
|
|
410
|
+
"data": [
|
|
411
|
+
{
|
|
412
|
+
"sentences": [
|
|
413
|
+
"<engega> <name> [en marxa]",
|
|
414
|
+
"(arrenca|pasa)[r] <name> [en marxa]"
|
|
415
|
+
],
|
|
416
|
+
"requires_context": {
|
|
417
|
+
"domain": "vacuum"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
"HassSetVolume": {
|
|
423
|
+
"data": [
|
|
424
|
+
{
|
|
425
|
+
"sentences": [
|
|
426
|
+
"(<pujar>|<baixar>|<configura>) [el] volum [<preposicio>] {name} [a|al] {volume:volume_level}[<percent>]"
|
|
427
|
+
],
|
|
428
|
+
"requires_context": {
|
|
429
|
+
"domain": "media_player"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
]
|
|
291
433
|
}
|
|
292
434
|
},
|
|
293
435
|
"responses": {
|
|
@@ -330,14 +472,41 @@
|
|
|
330
472
|
"script": "Iniciant",
|
|
331
473
|
"lock": "Tancant"
|
|
332
474
|
},
|
|
475
|
+
"HassMediaPause": {
|
|
476
|
+
"default": "Reproducció en pausa"
|
|
477
|
+
},
|
|
478
|
+
"HassNevermind": {
|
|
479
|
+
"default": "No res, doncs"
|
|
480
|
+
},
|
|
481
|
+
"HassGetWeather": {
|
|
482
|
+
"default": "{% set weather_condition = {\n 'clear': 'Cel clar',\n 'clear-night': 'Cel clar',\n 'cloudy': 'Cel ennuvolat',\n 'exceptional': 'Clima excepcionalment advers',\n 'fog': 'Boira',\n 'hail': 'Precipitacions de calamarsa',\n 'lightning': 'Tempesta',\n 'lightning-rainy': 'Pluja i tempesta',\n 'partlycloudy': 'Cels parcialment ennuvolats',\n 'pouring': 'Plugim',\n 'rainy': 'Pluja',\n 'snowy': 'Precipitacions de neu',\n 'snowy-rainy': 'Precipitacions de aiguaneu',\n 'sunny': 'Sol',\n 'windy': 'Vent',\n 'windy-variant': 'Vent i núvols'\n} %}\n {{ weather_condition.get((state.state | string).lower(), \"\") }}, amb una temperatura de {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }}\n"
|
|
483
|
+
},
|
|
333
484
|
"HassLightSet": {
|
|
334
485
|
"brightness": "Brillantor de {{ slots.name }} posat a {{ slots.brightness }}",
|
|
335
486
|
"brightness_area": "Brillantor a {{ slots.area }} posat a {{ slots.brightness }}",
|
|
336
487
|
"color": "{{ slots.name }} ara té el color {{ slots.color }}",
|
|
337
488
|
"color_area": "{{ slots.area }} ara té el color {{ slots.color }}"
|
|
338
489
|
},
|
|
490
|
+
"HassVacuumStart": {
|
|
491
|
+
"default": "Comença la neteja"
|
|
492
|
+
},
|
|
493
|
+
"HassMediaUnpause": {
|
|
494
|
+
"default": "Continuant amb la reproducció"
|
|
495
|
+
},
|
|
496
|
+
"HassSetPosition": {
|
|
497
|
+
"default": "Posició establerta"
|
|
498
|
+
},
|
|
499
|
+
"HassMediaNext": {
|
|
500
|
+
"default": "Reproduint el següent"
|
|
501
|
+
},
|
|
339
502
|
"HassClimateGetTemperature": {
|
|
340
503
|
"default": "{{ state.state | float | abs | round(2) }} {{ 'grau' if state.state | float | abs == 1 else 'graus' }} {{ 'sota zero' if state.state | float < 0 else '' }}"
|
|
504
|
+
},
|
|
505
|
+
"HassSetVolume": {
|
|
506
|
+
"default": "Volum establert"
|
|
507
|
+
},
|
|
508
|
+
"HassVacuumReturnToBase": {
|
|
509
|
+
"default": "Tornant a la base"
|
|
341
510
|
}
|
|
342
511
|
}
|
|
343
512
|
},
|
|
@@ -524,11 +693,30 @@
|
|
|
524
693
|
},
|
|
525
694
|
"shopping_list_item": {
|
|
526
695
|
"wildcard": true
|
|
696
|
+
},
|
|
697
|
+
"position": {
|
|
698
|
+
"range": {
|
|
699
|
+
"type": "percentage",
|
|
700
|
+
"from": 0,
|
|
701
|
+
"to": 100
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"volume": {
|
|
705
|
+
"range": {
|
|
706
|
+
"type": "percentage",
|
|
707
|
+
"from": 0,
|
|
708
|
+
"to": 100
|
|
709
|
+
}
|
|
527
710
|
}
|
|
528
711
|
},
|
|
529
712
|
"expansion_rules": {
|
|
530
|
-
"
|
|
531
|
-
"
|
|
713
|
+
"pronom_singular": "(el|la|l')[ ]",
|
|
714
|
+
"pronom_plural": "(els|les)[ ]",
|
|
715
|
+
"pronom": "(<pronom_singular>|<pronom_plural>)",
|
|
716
|
+
"preposicio_singular": "(en|de|a)[l|ls][ <pronom_singular>][ ]",
|
|
717
|
+
"preposicio": "(en|de|a)[l|ls][ <pronom>][ ]",
|
|
718
|
+
"name": "[<pronom_singular>]{name}",
|
|
719
|
+
"area": "[<preposicio_singular>]{area}",
|
|
532
720
|
"quin_es": "(quin és|quina és|que es)",
|
|
533
721
|
"lluentor": "{brightness} [per cent]",
|
|
534
722
|
"engega": "(encén|encendre|engega[r]|posa|activa[r])",
|
|
@@ -538,7 +726,16 @@
|
|
|
538
726
|
"llums": "(la llum|les llums|el llum|els llums)",
|
|
539
727
|
"temp": "(temperatura)",
|
|
540
728
|
"graus": "{temperature} [graus] [{temperature_unit}]",
|
|
541
|
-
"
|
|
729
|
+
"pujar": "(puja|aixeca)[r]",
|
|
730
|
+
"baixar": "([a]baixa[r])",
|
|
731
|
+
"configura": "(posa[r]|configura[r]|ajusta[r]|canvia[r]|establ(ir|eix))",
|
|
732
|
+
"posició": "{position}[ ][%|per[ ]cent]",
|
|
733
|
+
"percent": "[ ](%|per[ ]cent)",
|
|
734
|
+
"cancela": "cancel[·l]a[r]",
|
|
735
|
+
"seguent": "(següent|proper[a]|pròxim[a])",
|
|
736
|
+
"element": "(element|ítem|pista|cançó|tema|tonada|mitjà|canal|recurs|vídeo|clip|film)",
|
|
737
|
+
"reproduir": "(reprodu(ir|eix)|posa[r]|fica[r]|salta[r]|passa[r]|canvia[r])",
|
|
738
|
+
"reactiva": "(reactiva[r]|continua[r]|segu(ir|eix))"
|
|
542
739
|
},
|
|
543
740
|
"skip_words": [
|
|
544
741
|
"si us plau",
|
|
@@ -1069,6 +1069,7 @@
|
|
|
1069
1069
|
{
|
|
1070
1070
|
"sentences": [
|
|
1071
1071
|
"je {name} {cover_states:state} [<area>]",
|
|
1072
|
+
"je {cover_states:state} {name} [<area>]",
|
|
1072
1073
|
"{cover_states:state} {name} [<area>]"
|
|
1073
1074
|
],
|
|
1074
1075
|
"response": "one_yesno",
|
|
@@ -1088,6 +1089,7 @@
|
|
|
1088
1089
|
{
|
|
1089
1090
|
"sentences": [
|
|
1090
1091
|
"(je|jsou) někter(é|á) {cover_classes:device_class} [<area>] {cover_states:state}",
|
|
1092
|
+
"(je|jsou) {cover_states:state} někter(é|á) {cover_classes:device_class} [<area>]",
|
|
1091
1093
|
"{cover_states:state} někter(é|á) {cover_classes:device_class}"
|
|
1092
1094
|
],
|
|
1093
1095
|
"response": "any",
|
|
@@ -1097,7 +1099,8 @@
|
|
|
1097
1099
|
},
|
|
1098
1100
|
{
|
|
1099
1101
|
"sentences": [
|
|
1100
|
-
"jsou všechn(a|y) {cover_classes:device_class} [<area>] {cover_states:state}"
|
|
1102
|
+
"jsou všechn(a|y) {cover_classes:device_class} [<area>] {cover_states:state}",
|
|
1103
|
+
"jsou {cover_states:state} všechn(a|y) {cover_classes:device_class} [<area>]"
|
|
1101
1104
|
],
|
|
1102
1105
|
"response": "all",
|
|
1103
1106
|
"slots": {
|
|
@@ -49,25 +49,36 @@
|
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"sentences": [
|
|
52
|
-
"
|
|
53
|
-
"
|
|
52
|
+
"<turn> <all> <light> off <everywhere>",
|
|
53
|
+
"<turn> off <all> <light> <everywhere>",
|
|
54
|
+
"deactivate <all> <light> <everywhere>",
|
|
55
|
+
"<turn> <light> off <everywhere>",
|
|
56
|
+
"<turn> off <light> <everywhere>",
|
|
57
|
+
"deactivate <light> <everywhere>",
|
|
58
|
+
"<turn> <all> <light> off",
|
|
59
|
+
"<turn> off <all> <light>",
|
|
60
|
+
"deactivate <all> <light>"
|
|
54
61
|
],
|
|
55
62
|
"response": "light_all",
|
|
56
63
|
"slots": {
|
|
57
|
-
"domain": "light"
|
|
58
|
-
"name": "all"
|
|
64
|
+
"domain": "light"
|
|
59
65
|
}
|
|
60
66
|
},
|
|
61
67
|
{
|
|
62
68
|
"sentences": [
|
|
63
|
-
"<turn>
|
|
64
|
-
"<turn>
|
|
65
|
-
"<turn>
|
|
69
|
+
"<turn> <all> <light> off <here>",
|
|
70
|
+
"<turn> <light> off <here>",
|
|
71
|
+
"<turn> <all> <light> <here> off",
|
|
72
|
+
"<turn> <light> <here> off",
|
|
73
|
+
"<turn> off <all> <light> <here>",
|
|
74
|
+
"<turn> off <light> <here>",
|
|
75
|
+
"deactivate <all> <light> <here>",
|
|
76
|
+
"deactivate <light> <here>",
|
|
77
|
+
"<turn> <light> off",
|
|
78
|
+
"<turn> off <light>",
|
|
79
|
+
"deactivate <light>"
|
|
66
80
|
],
|
|
67
81
|
"response": "lights_area",
|
|
68
|
-
"expansion_rules": {
|
|
69
|
-
"in_here": "[ in] here"
|
|
70
|
-
},
|
|
71
82
|
"slots": {
|
|
72
83
|
"domain": "light"
|
|
73
84
|
},
|
|
@@ -77,6 +88,21 @@
|
|
|
77
88
|
}
|
|
78
89
|
}
|
|
79
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"sentences": [
|
|
93
|
+
"<turn> off <all> <light> (on|in) <floor>",
|
|
94
|
+
"<turn> off <all> <light> <floor>",
|
|
95
|
+
"<turn> off <all> <floor> <light>",
|
|
96
|
+
"<turn> <floor> <light> off",
|
|
97
|
+
"<floor> <light> off",
|
|
98
|
+
"deactivate <all> <floor> <light>",
|
|
99
|
+
"deactivate <all> <light> (on|in) <floor>"
|
|
100
|
+
],
|
|
101
|
+
"response": "lights_floor",
|
|
102
|
+
"slots": {
|
|
103
|
+
"domain": "light"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
80
106
|
{
|
|
81
107
|
"sentences": [
|
|
82
108
|
"<close> <name> [in <area>]"
|
|
@@ -2479,14 +2505,36 @@
|
|
|
2479
2505
|
},
|
|
2480
2506
|
{
|
|
2481
2507
|
"sentences": [
|
|
2482
|
-
"<turn>
|
|
2483
|
-
"<turn>
|
|
2484
|
-
"<
|
|
2508
|
+
"<turn> <all> <light> on <everywhere>",
|
|
2509
|
+
"<turn> on <all> <light> <everywhere>",
|
|
2510
|
+
"activate <all> <light> <everywhere>",
|
|
2511
|
+
"<turn> <light> on <everywhere>",
|
|
2512
|
+
"<turn> on <light> <everywhere>",
|
|
2513
|
+
"activate <light> <everywhere>",
|
|
2514
|
+
"<turn> <all> <light> on",
|
|
2515
|
+
"<turn> on <all> <light>",
|
|
2516
|
+
"activate <all> <light>"
|
|
2517
|
+
],
|
|
2518
|
+
"response": "light_all",
|
|
2519
|
+
"slots": {
|
|
2520
|
+
"domain": "light"
|
|
2521
|
+
}
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"sentences": [
|
|
2525
|
+
"<turn> <all> <light> on <here>",
|
|
2526
|
+
"<turn> <light> on <here>",
|
|
2527
|
+
"<turn> <all> <light> <here> on",
|
|
2528
|
+
"<turn> <light> <here> on",
|
|
2529
|
+
"<turn> on <all> <light> <here>",
|
|
2530
|
+
"<turn> on <light> <here>",
|
|
2531
|
+
"activate <all> <light> <here>",
|
|
2532
|
+
"activate <light> <here>",
|
|
2533
|
+
"<turn> <light> on",
|
|
2534
|
+
"<turn> on <light>",
|
|
2535
|
+
"activate <light>"
|
|
2485
2536
|
],
|
|
2486
2537
|
"response": "lights_area",
|
|
2487
|
-
"expansion_rules": {
|
|
2488
|
-
"in_here": "[ in] here"
|
|
2489
|
-
},
|
|
2490
2538
|
"slots": {
|
|
2491
2539
|
"domain": "light"
|
|
2492
2540
|
},
|
|
@@ -2496,6 +2544,21 @@
|
|
|
2496
2544
|
}
|
|
2497
2545
|
}
|
|
2498
2546
|
},
|
|
2547
|
+
{
|
|
2548
|
+
"sentences": [
|
|
2549
|
+
"<turn> on <all> <light> (on|in) <floor>",
|
|
2550
|
+
"<turn> on <all> <light> <floor>",
|
|
2551
|
+
"<turn> on <all> <floor> <light>",
|
|
2552
|
+
"<turn> <floor> <light> on",
|
|
2553
|
+
"<floor> <light> on",
|
|
2554
|
+
"activate <all> <floor> <light>",
|
|
2555
|
+
"activate <all> <light> (on|in) <floor>"
|
|
2556
|
+
],
|
|
2557
|
+
"response": "lights_floor",
|
|
2558
|
+
"slots": {
|
|
2559
|
+
"domain": "light"
|
|
2560
|
+
}
|
|
2561
|
+
},
|
|
2499
2562
|
{
|
|
2500
2563
|
"sentences": [
|
|
2501
2564
|
"<turn> on [all] [the] fan[s] in <area>",
|
|
@@ -2989,20 +3052,28 @@
|
|
|
2989
3052
|
"no_intent": "Sorry, I couldn't understand that",
|
|
2990
3053
|
"handle_error": "An unexpected error occurred",
|
|
2991
3054
|
"no_area": "Sorry, I am not aware of any area called {{ area }}",
|
|
3055
|
+
"no_floor": "Sorry, I am not aware of any floor called {{ floor }}",
|
|
2992
3056
|
"no_domain": "Sorry, I am not aware of any {{ domain }}",
|
|
2993
3057
|
"no_domain_in_area": "Sorry, I am not aware of any {{ domain }} in the {{ area }} area",
|
|
3058
|
+
"no_domain_in_floor": "Sorry, I am not aware of any {{ domain }} on the {{ floor }} floor",
|
|
2994
3059
|
"no_device_class": "Sorry, I am not aware of any {{ device_class }}",
|
|
2995
3060
|
"no_device_class_in_area": "Sorry, I am not aware of any {{ device_class }} in the {{ area }} area",
|
|
3061
|
+
"no_device_class_in_floor": "Sorry, I am not aware of any {{ device_class }} in the {{ floor }} floor",
|
|
2996
3062
|
"no_entity": "Sorry, I am not aware of any device called {{ entity }}",
|
|
2997
3063
|
"no_entity_in_area": "Sorry, I am not aware of any device called {{ entity }} in the {{ area }} area",
|
|
3064
|
+
"no_entity_in_floor": "Sorry, I am not aware of any device called {{ entity }} in the {{ floor }} floor",
|
|
2998
3065
|
"no_entity_exposed": "Sorry, {{ entity }} is not exposed",
|
|
2999
3066
|
"no_entity_in_area_exposed": "Sorry, {{ entity }} in the {{ area }} area is not exposed",
|
|
3067
|
+
"no_entity_in_floor_exposed": "Sorry, {{ entity }} in the {{ floor }} floor is not exposed",
|
|
3000
3068
|
"no_domain_exposed": "Sorry, no {{ domain }} is exposed",
|
|
3001
3069
|
"no_domain_in_area_exposed": "Sorry, no {{ domain }} in the {{ area }} area is exposed",
|
|
3070
|
+
"no_domain_in_floor_exposed": "Sorry, no {{ domain }} in the {{ floor }} floor is exposed",
|
|
3002
3071
|
"no_device_class_exposed": "Sorry, no {{ device_class }} is exposed",
|
|
3003
3072
|
"no_device_class_in_area_exposed": "Sorry, no {{ device_class }} in the {{ area }} area is exposed",
|
|
3073
|
+
"no_device_class_in_floor_exposed": "Sorry, no {{ device_class }} in the {{ floor }} floor is exposed",
|
|
3004
3074
|
"duplicate_entities": "Sorry, there are multiple devices called {{ entity }}",
|
|
3005
|
-
"duplicate_entities_in_area": "Sorry, there are multiple devices called {{ entity }} in the {{ area }} area"
|
|
3075
|
+
"duplicate_entities_in_area": "Sorry, there are multiple devices called {{ entity }} in the {{ area }} area",
|
|
3076
|
+
"duplicate_entities_in_floor": "Sorry, there are multiple devices called {{ entity }} in the {{ floor }} floor"
|
|
3006
3077
|
},
|
|
3007
3078
|
"intents": {
|
|
3008
3079
|
"HassGetState": {
|
|
@@ -3018,6 +3089,7 @@
|
|
|
3018
3089
|
"HassTurnOff": {
|
|
3019
3090
|
"default": "Turned off the {{ state.domain }}",
|
|
3020
3091
|
"lights_area": "Turned off the lights",
|
|
3092
|
+
"lights_floor": "Turned off the lights",
|
|
3021
3093
|
"fans_area": "Turned off the fans",
|
|
3022
3094
|
"cover": "Closed",
|
|
3023
3095
|
"light_all": "Turned off all of the lights",
|
|
@@ -3032,6 +3104,8 @@
|
|
|
3032
3104
|
"HassTurnOn": {
|
|
3033
3105
|
"default": "Turned on the {{ state.domain }}",
|
|
3034
3106
|
"lights_area": "Turned on the lights",
|
|
3107
|
+
"lights_floor": "Turned on the lights",
|
|
3108
|
+
"light_all": "Turned on all of the lights",
|
|
3035
3109
|
"fans_area": "Turned on the fans",
|
|
3036
3110
|
"cover": "Opened",
|
|
3037
3111
|
"cover_device_class": "Opened the {{ slots.device_class }}",
|
|
@@ -3580,6 +3654,7 @@
|
|
|
3580
3654
|
"expansion_rules": {
|
|
3581
3655
|
"name": "[the] {name}",
|
|
3582
3656
|
"area": "[the] {area}",
|
|
3657
|
+
"floor": "[the] {floor}[ floor]",
|
|
3583
3658
|
"what_is": "(what's|whats|what is)",
|
|
3584
3659
|
"where_is": "(where's|wheres|where is)",
|
|
3585
3660
|
"brightness": "{brightness}[[ ]%| percent]",
|
|
@@ -3594,6 +3669,10 @@
|
|
|
3594
3669
|
"in": "(in|on|at|of)",
|
|
3595
3670
|
"position": "{position}[[ ]%| percent]",
|
|
3596
3671
|
"volume": "{volume:volume_level}[[ ]%| percent]",
|
|
3672
|
+
"all": "(all|all of|every|every single|each|each and every)",
|
|
3673
|
+
"home": "(home|house|appartment|flat)",
|
|
3674
|
+
"everywhere": "(everywhere|in all [the] rooms|in every room[s]|in each room|in the <home>)",
|
|
3675
|
+
"here": "(here|in here|in this room|in the room)",
|
|
3597
3676
|
"what_is_the_class_of_name": "(<what_is> the <class> (of|in|from|(indicated|measured) by) <name> [in <area>]|<what_is> <name>['s] <class> [in <area>]|<what_is> <area> <name>['s] <class>)"
|
|
3598
3677
|
},
|
|
3599
3678
|
"skip_words": [
|