home-assistant-intents 2025.3.23__py3-none-any.whl → 2025.3.28__py3-none-any.whl

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.
Files changed (62) hide show
  1. home_assistant_intents/data/ar.json +427 -427
  2. home_assistant_intents/data/bg.json +875 -875
  3. home_assistant_intents/data/bn.json +4 -4
  4. home_assistant_intents/data/ca.json +450 -450
  5. home_assistant_intents/data/cs.json +1618 -1618
  6. home_assistant_intents/data/da.json +1536 -1536
  7. home_assistant_intents/data/de-CH.json +462 -462
  8. home_assistant_intents/data/de.json +821 -821
  9. home_assistant_intents/data/el.json +205 -205
  10. home_assistant_intents/data/en.json +1630 -1608
  11. home_assistant_intents/data/es.json +1602 -1602
  12. home_assistant_intents/data/eu.json +69 -69
  13. home_assistant_intents/data/fa.json +8 -8
  14. home_assistant_intents/data/fi.json +528 -528
  15. home_assistant_intents/data/fr.json +825 -825
  16. home_assistant_intents/data/gl.json +356 -356
  17. home_assistant_intents/data/he.json +200 -200
  18. home_assistant_intents/data/hi.json +13 -13
  19. home_assistant_intents/data/hr.json +524 -524
  20. home_assistant_intents/data/hu.json +1692 -1692
  21. home_assistant_intents/data/id.json +23 -23
  22. home_assistant_intents/data/is.json +170 -170
  23. home_assistant_intents/data/it.json +622 -622
  24. home_assistant_intents/data/ka.json +31 -31
  25. home_assistant_intents/data/ko.json +544 -544
  26. home_assistant_intents/data/kw.json +63 -63
  27. home_assistant_intents/data/lb.json +166 -166
  28. home_assistant_intents/data/lt.json +102 -102
  29. home_assistant_intents/data/lv.json +233 -233
  30. home_assistant_intents/data/ml.json +84 -84
  31. home_assistant_intents/data/mn.json +14 -14
  32. home_assistant_intents/data/ms.json +46 -46
  33. home_assistant_intents/data/nb.json +1002 -1002
  34. home_assistant_intents/data/nl.json +1837 -1837
  35. home_assistant_intents/data/pl.json +964 -963
  36. home_assistant_intents/data/pt-br.json +481 -481
  37. home_assistant_intents/data/pt.json +423 -423
  38. home_assistant_intents/data/ro.json +665 -665
  39. home_assistant_intents/data/ru.json +1556 -1556
  40. home_assistant_intents/data/sk.json +1892 -1831
  41. home_assistant_intents/data/sl.json +1593 -1593
  42. home_assistant_intents/data/sr-Latn.json +501 -501
  43. home_assistant_intents/data/sr.json +488 -488
  44. home_assistant_intents/data/sv.json +449 -449
  45. home_assistant_intents/data/sw.json +14 -14
  46. home_assistant_intents/data/te.json +4 -4
  47. home_assistant_intents/data/th.json +50 -50
  48. home_assistant_intents/data/tr.json +37 -37
  49. home_assistant_intents/data/uk.json +398 -398
  50. home_assistant_intents/data/ur.json +93 -93
  51. home_assistant_intents/data/vi.json +943 -943
  52. home_assistant_intents/data/zh-cn.json +419 -419
  53. home_assistant_intents/data/zh-hk.json +452 -452
  54. home_assistant_intents/data/zh-tw.json +373 -373
  55. home_assistant_intents/language_scores.json +312 -0
  56. {home_assistant_intents-2025.3.23.dist-info → home_assistant_intents-2025.3.28.dist-info}/METADATA +2 -3
  57. home_assistant_intents-2025.3.28.dist-info/RECORD +65 -0
  58. {home_assistant_intents-2025.3.23.dist-info → home_assistant_intents-2025.3.28.dist-info}/WHEEL +1 -1
  59. home_assistant_intents-2025.3.23.dist-info/RECORD +0 -64
  60. {home_assistant_intents-2025.3.23.dist-info → home_assistant_intents-2025.3.28.dist-info}/licenses/LICENSE.md +0 -0
  61. {home_assistant_intents-2025.3.23.dist-info → home_assistant_intents-2025.3.28.dist-info}/top_level.txt +0 -0
  62. {home_assistant_intents-2025.3.23.dist-info → home_assistant_intents-2025.3.28.dist-info}/zip-safe +0 -0
@@ -5,50 +5,21 @@
5
5
  "data": [
6
6
  {
7
7
  "sentences": [
8
- "<close> <name> [<in> <area>]"
9
- ],
10
- "requires_context": {
11
- "domain": "cover"
12
- },
13
- "response": "cover"
14
- },
15
- {
16
- "sentences": [
17
- "<close> باب الجراج"
18
- ],
19
- "slots": {
20
- "domain": "cover",
21
- "device_class": "garage"
22
- },
23
- "response": "cover_device_class"
24
- },
25
- {
26
- "sentences": [
27
- "<close> {cover_classes:device_class} [<in>] <area>"
28
- ],
29
- "slots": {
30
- "domain": "cover"
31
- },
32
- "response": "cover_device_class"
33
- },
34
- {
35
- "sentences": [
36
- "<open> <name> [<in> <area>]"
37
- ],
38
- "requires_context": {
39
- "domain": "lock"
40
- },
41
- "response": "unlock"
42
- },
43
- {
44
- "sentences": [
45
- "<open> [<all>] [ال](اقفال|قفل) [<in>] <area>"
8
+ "<turn_off> [<light> | <switch>] <name>"
46
9
  ],
47
- "slots": {
48
- "domain": "lock",
49
- "name": "all"
10
+ "excludes_context": {
11
+ "domain": [
12
+ "binary_sensor",
13
+ "cover",
14
+ "lock",
15
+ "scene",
16
+ "script",
17
+ "sensor",
18
+ "valve",
19
+ "vacuum"
20
+ ]
50
21
  },
51
- "response": "unlock"
22
+ "response": "default"
52
23
  },
53
24
  {
54
25
  "sentences": [
@@ -122,249 +93,230 @@
122
93
  },
123
94
  {
124
95
  "sentences": [
125
- "<turn_off> [<light> | <switch>] <name>"
96
+ "<close> <name> [<in> <area>]"
126
97
  ],
127
- "excludes_context": {
128
- "domain": [
129
- "binary_sensor",
130
- "cover",
131
- "lock",
132
- "scene",
133
- "script",
134
- "sensor",
135
- "valve",
136
- "vacuum"
137
- ]
98
+ "requires_context": {
99
+ "domain": "cover"
138
100
  },
139
- "response": "default"
101
+ "response": "cover"
140
102
  },
141
103
  {
142
104
  "sentences": [
143
- "<turn_off> [<all>] <fan> [<in>] <area>"
105
+ "<close> باب الجراج"
144
106
  ],
145
107
  "slots": {
146
- "domain": "fan",
147
- "name": "all"
108
+ "domain": "cover",
109
+ "device_class": "garage"
148
110
  },
149
- "response": "fans_area"
111
+ "response": "cover_device_class"
150
112
  },
151
113
  {
152
114
  "sentences": [
153
- "<turn_off> [<all>] <fan>"
115
+ "<close> {cover_classes:device_class} [<in>] <area>"
154
116
  ],
155
117
  "slots": {
156
- "domain": "fan",
157
- "name": "all"
158
- },
159
- "response": "fan_all"
160
- }
161
- ]
162
- },
163
- "HassGetState": {
164
- "data": [
165
- {
166
- "sentences": [
167
- "<what_is> [حالة] <name> [<in> <area>]"
168
- ],
169
- "excludes_context": {
170
- "domain": [
171
- "scene",
172
- "script"
173
- ]
174
- },
175
- "response": "one"
176
- },
177
- {
178
- "sentences": [
179
- "<is_it> <name> [<in> <area>] {on_off_states:state}"
180
- ],
181
- "excludes_context": {
182
- "domain": [
183
- "cover"
184
- ]
185
- },
186
- "response": "one_yesno"
187
- },
188
- {
189
- "sentences": [
190
- "<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
191
- ],
192
- "response": "any"
193
- },
194
- {
195
- "sentences": [
196
- "<is_it> <all> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
197
- ],
198
- "response": "all"
199
- },
200
- {
201
- "sentences": [
202
- "<what_is> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
203
- ],
204
- "response": "which"
205
- },
206
- {
207
- "sentences": [
208
- "<how_many> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
209
- ],
210
- "response": "how_many"
211
- },
212
- {
213
- "sentences": [
214
- "هل <name> {cover_states:state} [<in> <area>]"
215
- ],
216
- "response": "one_yesno",
217
- "requires_context": {
218
118
  "domain": "cover"
219
119
  },
220
- "slots": {
221
- "domain": "cover"
222
- }
120
+ "response": "cover_device_class"
223
121
  },
224
122
  {
225
123
  "sentences": [
226
- "هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
124
+ "<turn_off> [<all>] <fan> [<in>] <area>"
227
125
  ],
228
- "response": "any",
229
126
  "slots": {
230
- "domain": "cover"
231
- }
127
+ "domain": "fan",
128
+ "name": "all"
129
+ },
130
+ "response": "fans_area"
232
131
  },
233
132
  {
234
133
  "sentences": [
235
- "هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
134
+ "<turn_off> [<all>] <fan>"
236
135
  ],
237
- "response": "all",
238
136
  "slots": {
239
- "domain": "cover"
240
- }
137
+ "domain": "fan",
138
+ "name": "all"
139
+ },
140
+ "response": "fan_all"
241
141
  },
242
142
  {
243
143
  "sentences": [
244
- "اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
144
+ "<open> <name> [<in> <area>]"
245
145
  ],
246
- "response": "which",
247
- "slots": {
248
- "domain": "cover"
249
- }
146
+ "requires_context": {
147
+ "domain": "lock"
148
+ },
149
+ "response": "unlock"
250
150
  },
251
151
  {
252
152
  "sentences": [
253
- "(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
153
+ "<open> [<all>] [ال](اقفال|قفل) [<in>] <area>"
254
154
  ],
255
- "response": "how_many",
256
155
  "slots": {
257
- "domain": "cover"
258
- }
156
+ "domain": "lock",
157
+ "name": "all"
158
+ },
159
+ "response": "unlock"
259
160
  }
260
161
  ]
261
162
  },
262
- "HassShoppingListAddItem": {
163
+ "HassCancelTimer": {
263
164
  "data": [
264
165
  {
265
166
  "sentences": [
266
- "<add> <item> (<to>|<in> )<my_list>"
267
- ],
268
- "response": "item_added",
269
- "expansion_rules": {
270
- "my_list": "[ال](قائمة|قائمتي|لائحة|لائحتي|قائمة الخاصة بي) [(ال|لل)تسوق]",
271
- "item": "{shopping_list_item:item}"
272
- }
167
+ "<timer_cancel> <timer>",
168
+ "<timer_cancel> <timer> <timer_start>",
169
+ "<timer_cancel> <timer> [<in>] <area>",
170
+ "<timer_cancel> <timer> [<called>] [ال]{timer_name:name}"
171
+ ]
273
172
  }
274
173
  ]
275
174
  },
276
- "HassStartTimer": {
175
+ "HassTimerStatus": {
277
176
  "data": [
278
177
  {
279
178
  "sentences": [
280
- "<timer_duration> <timer>",
281
- "<timer> [<duration>] <timer_duration>",
282
- "<timer> [<duration>] <timer_duration> <called> {timer_name:name}",
283
- "<timer> [<duration>] <timer_duration> (ل|لل){timer_name:name}",
284
- "<timer_set> <timer> [<duration>] <timer_duration>",
285
- "<timer_set> <timer> [<duration>] <timer_duration> <called> [ال]{timer_name:name}",
286
- "<timer_set> <timer> <called> [ال]{timer_name:name} [<duration>] <timer_duration>"
179
+ "[<what_is>] حالة <timer>",
180
+ "[<what_is>] حالة <timer> [<duration>] <timer_start>",
181
+ "[<what_is>] حالة <timer> [<in>] <area>",
182
+ "[<what_is>] حالة <timer> [<called>] [ال]{timer_name:name}"
183
+ ],
184
+ "required_keywords": [
185
+ "<timer>",
186
+ "حالة"
287
187
  ]
288
188
  },
289
189
  {
290
190
  "sentences": [
291
- "{timer_command:conversation_command} (<in>|بعد) <timer_duration>",
292
- "(<in>|بعد) <timer_duration> {timer_command:conversation_command}"
191
+ "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer>",
192
+ "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer> [<duration>] <timer_start>",
193
+ "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer> [<in>] <area>",
194
+ "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer> [<called>] [ال]{timer_name:name}"
293
195
  ],
294
- "response": "command"
196
+ "required_keywords": [
197
+ "<timer>",
198
+ "البقي",
199
+ "الباقي",
200
+ "التبقى",
201
+ "المتبقي",
202
+ "باقي",
203
+ "تبقى",
204
+ "متبقي",
205
+ "بقى",
206
+ "لسه"
207
+ ]
295
208
  }
296
209
  ]
297
210
  },
298
- "HassVacuumStart": {
211
+ "HassGetWeather": {
299
212
  "data": [
300
213
  {
301
214
  "sentences": [
302
- "<turn_on> <name>"
215
+ "<what_is> <weather>"
216
+ ]
217
+ },
218
+ {
219
+ "sentences": [
220
+ "<what_is> <weather> <in> <name>"
303
221
  ],
304
222
  "requires_context": {
305
- "domain": "vacuum"
223
+ "domain": "weather"
306
224
  }
307
225
  }
308
226
  ]
309
227
  },
228
+ "HassGetCurrentTime": {
229
+ "data": [
230
+ {
231
+ "sentences": [
232
+ "(<what_is>|<tell_me>) <time> [هلق|حاليا]",
233
+ "(<what_is>|<tell_me>) [هلق|حاليا] <time>",
234
+ "<time> [هلق|حاليا] (<what_is>|<tell_me>)"
235
+ ]
236
+ }
237
+ ]
238
+ },
310
239
  "HassTurnOn": {
311
240
  "data": [
312
241
  {
313
242
  "sentences": [
314
- "<close> <name> [<in> <area>]"
243
+ "[<turn_on>] (<in> <area> [<light>] <name>|[<light>] <name> [in <area>])"
315
244
  ],
316
- "requires_context": {
317
- "domain": "lock"
245
+ "expansion_rules": {
246
+ "all_lights": "([<all>] <light>|<light> [<all>])"
318
247
  },
319
- "response": "lock"
248
+ "requires_context": {
249
+ "domain": "light"
250
+ }
320
251
  },
321
252
  {
322
253
  "sentences": [
323
- "<close> [<all>] [ال](اقفال|قفل) [<in>] <area>"
254
+ "<turn_on> <all_lights> [<in>] <area>",
255
+ "<turn_on> [<in>] <area> <all_lights>"
324
256
  ],
257
+ "expansion_rules": {
258
+ "all_lights": "([<all>] <light>|<light> [<all>])"
259
+ },
325
260
  "slots": {
326
- "domain": "lock",
327
- "name": "all"
261
+ "domain": "light"
328
262
  },
329
- "response": "lock"
263
+ "response": "lights_area"
330
264
  },
331
265
  {
332
266
  "sentences": [
333
- "<turn_on> [<all>] <fan> [<in>] <area>"
267
+ "<turn_on> <all_lights>",
268
+ "<turn_on> [<all>] <light> <everywhere>",
269
+ "<turn_on> <everywhere> [<all>] <light>"
334
270
  ],
271
+ "expansion_rules": {
272
+ "all_lights": "(<all> <light>|<light> <all>)"
273
+ },
335
274
  "slots": {
336
- "domain": "fan",
337
- "name": "all"
275
+ "domain": "light"
338
276
  },
339
- "response": "fans_area"
277
+ "response": "light_all"
340
278
  },
341
279
  {
342
280
  "sentences": [
343
- "<open> <name> [<in>] [<area>]"
281
+ "<turn_on> <all_lights> [<here>]",
282
+ "<turn_on> [<here>] <all_lights>"
344
283
  ],
284
+ "expansion_rules": {
285
+ "all_lights": "([<all>] <light>|<light> [<all>])",
286
+ "here": "(هنا|هون|هينا)"
287
+ },
288
+ "slots": {
289
+ "domain": "light"
290
+ },
345
291
  "requires_context": {
346
- "domain": "cover"
292
+ "area": {
293
+ "slot": true
294
+ }
347
295
  },
348
- "response": "cover"
296
+ "response": "lights_area"
349
297
  },
350
298
  {
351
299
  "sentences": [
352
- "<open> باب الجراج"
300
+ "<turn_on> <all_lights> [<in>] <floor>",
301
+ "<turn_on> [<in>] <floor> <all_lights>"
353
302
  ],
303
+ "expansion_rules": {
304
+ "all_lights": "([<all>] <light>|<light> [<all>])"
305
+ },
354
306
  "slots": {
355
- "domain": "cover",
356
- "device_class": "garage"
307
+ "domain": "light"
357
308
  },
358
- "response": "cover_device_class"
309
+ "response": "lights_floor"
359
310
  },
360
311
  {
361
312
  "sentences": [
362
- "<open> {cover_classes:device_class} <in> <area>"
313
+ "<turn_on> [<all>] <fan> [<in>] <area>"
363
314
  ],
364
315
  "slots": {
365
- "domain": "cover"
316
+ "domain": "fan",
317
+ "name": "all"
366
318
  },
367
- "response": "cover_device_class"
319
+ "response": "fans_area"
368
320
  },
369
321
  {
370
322
  "sentences": [
@@ -387,9 +339,28 @@
387
339
  "domain": "scene"
388
340
  },
389
341
  "slots": {
390
- "domain": "scene"
342
+ "domain": "scene"
343
+ },
344
+ "response": "scene"
345
+ },
346
+ {
347
+ "sentences": [
348
+ "<close> <name> [<in> <area>]"
349
+ ],
350
+ "requires_context": {
351
+ "domain": "lock"
352
+ },
353
+ "response": "lock"
354
+ },
355
+ {
356
+ "sentences": [
357
+ "<close> [<all>] [ال](اقفال|قفل) [<in>] <area>"
358
+ ],
359
+ "slots": {
360
+ "domain": "lock",
361
+ "name": "all"
391
362
  },
392
- "response": "scene"
363
+ "response": "lock"
393
364
  },
394
365
  {
395
366
  "sentences": [
@@ -411,73 +382,45 @@
411
382
  },
412
383
  {
413
384
  "sentences": [
414
- "[<turn_on>] (<in> <area> [<light>] <name>|[<light>] <name> [in <area>])"
385
+ "<open> <name> [<in>] [<area>]"
415
386
  ],
416
- "expansion_rules": {
417
- "all_lights": "([<all>] <light>|<light> [<all>])"
418
- },
419
387
  "requires_context": {
420
- "domain": "light"
421
- }
422
- },
423
- {
424
- "sentences": [
425
- "<turn_on> <all_lights> [<in>] <area>",
426
- "<turn_on> [<in>] <area> <all_lights>"
427
- ],
428
- "expansion_rules": {
429
- "all_lights": "([<all>] <light>|<light> [<all>])"
430
- },
431
- "slots": {
432
- "domain": "light"
388
+ "domain": "cover"
433
389
  },
434
- "response": "lights_area"
390
+ "response": "cover"
435
391
  },
436
392
  {
437
393
  "sentences": [
438
- "<turn_on> <all_lights>",
439
- "<turn_on> [<all>] <light> <everywhere>",
440
- "<turn_on> <everywhere> [<all>] <light>"
394
+ "<open> باب الجراج"
441
395
  ],
442
- "expansion_rules": {
443
- "all_lights": "(<all> <light>|<light> <all>)"
444
- },
445
396
  "slots": {
446
- "domain": "light"
397
+ "domain": "cover",
398
+ "device_class": "garage"
447
399
  },
448
- "response": "light_all"
400
+ "response": "cover_device_class"
449
401
  },
450
402
  {
451
403
  "sentences": [
452
- "<turn_on> <all_lights> [<here>]",
453
- "<turn_on> [<here>] <all_lights>"
404
+ "<open> {cover_classes:device_class} <in> <area>"
454
405
  ],
455
- "expansion_rules": {
456
- "all_lights": "([<all>] <light>|<light> [<all>])",
457
- "here": "(هنا|هون|هينا)"
458
- },
459
406
  "slots": {
460
- "domain": "light"
461
- },
462
- "requires_context": {
463
- "area": {
464
- "slot": true
465
- }
407
+ "domain": "cover"
466
408
  },
467
- "response": "lights_area"
468
- },
409
+ "response": "cover_device_class"
410
+ }
411
+ ]
412
+ },
413
+ "HassShoppingListAddItem": {
414
+ "data": [
469
415
  {
470
416
  "sentences": [
471
- "<turn_on> <all_lights> [<in>] <floor>",
472
- "<turn_on> [<in>] <floor> <all_lights>"
417
+ "<add> <item> (<to>|<in> )<my_list>"
473
418
  ],
419
+ "response": "item_added",
474
420
  "expansion_rules": {
475
- "all_lights": "([<all>] <light>|<light> [<all>])"
476
- },
477
- "slots": {
478
- "domain": "light"
479
- },
480
- "response": "lights_floor"
421
+ "my_list": "[ال](قائمة|قائمتي|لائحة|لائحتي|قائمة الخاصة بي) [(ال|لل)تسوق]",
422
+ "item": "{shopping_list_item:item}"
423
+ }
481
424
  }
482
425
  ]
483
426
  },
@@ -497,18 +440,6 @@
497
440
  }
498
441
  ]
499
442
  },
500
- "HassUnpauseTimer": {
501
- "data": [
502
- {
503
- "sentences": [
504
- "<timer_resume> <timer>",
505
- "<timer_resume> <timer> <timer_start>",
506
- "<timer_resume> <timer> [<in>] <area>",
507
- "<timer_resume> <timer> [<called>] [ال]{timer_name:name}"
508
- ]
509
- }
510
- ]
511
- },
512
443
  "HassSetPosition": {
513
444
  "data": [
514
445
  {
@@ -544,6 +475,41 @@
544
475
  }
545
476
  ]
546
477
  },
478
+ "HassGetCurrentDate": {
479
+ "data": [
480
+ {
481
+ "sentences": [
482
+ "(<what_is>|<tell_me>) [ال]تاريخ اليوم",
483
+ "(<what_is>|<tell_me>) اليوم التاريخ",
484
+ "[ال]تاريخ اليوم <what_is>"
485
+ ]
486
+ }
487
+ ]
488
+ },
489
+ "HassIncreaseTimer": {
490
+ "data": [
491
+ {
492
+ "sentences": [
493
+ "<increase> <timer_duration> <to><timer>",
494
+ "<increase> <timer_duration> <to><timer> <timer_start>",
495
+ "<increase> <timer_duration> <to><timer> <area>",
496
+ "<increase> <timer_duration> <to><timer> <in> <area>",
497
+ "<increase> <timer_duration> <to><timer> [<called>] [ال]{timer_name:name}"
498
+ ]
499
+ },
500
+ {
501
+ "sentences": [
502
+ "<increase> <timer> <by><timer_duration>",
503
+ "<increase> <timer> <timer_start> <by><timer_duration>",
504
+ "<increase> <timer> [<in>] <area> <by><timer_duration>",
505
+ "<increase> <timer> <called> [ال]{timer_name:name} <by><timer_duration>"
506
+ ],
507
+ "expansion_rules": {
508
+ "by": "(بمقدار|ب)[ ]"
509
+ }
510
+ }
511
+ ]
512
+ },
547
513
  "HassLightSet": {
548
514
  "data": [
549
515
  {
@@ -644,27 +610,45 @@
644
610
  }
645
611
  ]
646
612
  },
647
- "HassIncreaseTimer": {
613
+ "HassMediaNext": {
648
614
  "data": [
649
615
  {
650
616
  "sentences": [
651
- "<increase> <timer_duration> <to><timer>",
652
- "<increase> <timer_duration> <to><timer> <timer_start>",
653
- "<increase> <timer_duration> <to><timer> <area>",
654
- "<increase> <timer_duration> <to><timer> <in> <area>",
655
- "<increase> <timer_duration> <to><timer> [<called>] [ال]{timer_name:name}"
656
- ]
617
+ "[المسار|العنصر] <next> [على|لـ] <name>",
618
+ "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[على] <name>"
619
+ ],
620
+ "requires_context": {
621
+ "domain": "media_player"
622
+ }
657
623
  },
658
624
  {
659
625
  "sentences": [
660
- "<increase> <timer> <by><timer_duration>",
661
- "<increase> <timer> <timer_start> <by><timer_duration>",
662
- "<increase> <timer> [<in>] <area> <by><timer_duration>",
663
- "<increase> <timer> <called> [ال]{timer_name:name} <by><timer_duration>"
626
+ "[المسار|العنصر] <next>",
627
+ "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>]"
664
628
  ],
665
- "expansion_rules": {
666
- "by": "(بمقدار|ب)[ ]"
629
+ "requires_context": {
630
+ "area": {
631
+ "slot": true
632
+ }
667
633
  }
634
+ },
635
+ {
636
+ "sentences": [
637
+ "[المسار|العنصر] <next> [في] <area>",
638
+ "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[<in>] <area>"
639
+ ]
640
+ }
641
+ ]
642
+ },
643
+ "HassPauseTimer": {
644
+ "data": [
645
+ {
646
+ "sentences": [
647
+ "<timer_pause> <timer>",
648
+ "<timer_pause> <timer> <timer_start>",
649
+ "<timer_pause> <timer> [<in>] <area>",
650
+ "<timer_pause> <timer> [<called>] [ال]{timer_name:name}"
651
+ ]
668
652
  }
669
653
  ]
670
654
  },
@@ -692,44 +676,67 @@
692
676
  }
693
677
  ]
694
678
  },
695
- "HassPauseTimer": {
679
+ "HassMediaPause": {
696
680
  "data": [
697
681
  {
698
682
  "sentences": [
699
- "<timer_pause> <timer>",
700
- "<timer_pause> <timer> <timer_start>",
701
- "<timer_pause> <timer> [<in>] <area>",
702
- "<timer_pause> <timer> [<called>] [ال]{timer_name:name}"
683
+ "(<pause>;<name>)",
684
+ "(<pause> [ل|لل]<name>)"
685
+ ],
686
+ "requires_context": {
687
+ "domain": "media_player"
688
+ }
689
+ },
690
+ {
691
+ "sentences": [
692
+ "<pause> [ل|لل|ال](مسار|أغنية|موسيقى|(عرض|عرضي|عروض) [التلفاز]|[مشغل|مشغلات] الوسائط);[<in>] <area>"
703
693
  ]
704
694
  }
705
695
  ]
706
696
  },
707
- "HassClimateGetTemperature": {
697
+ "HassUnpauseTimer": {
708
698
  "data": [
709
699
  {
710
700
  "sentences": [
711
- "<what_is> <temp> [<in> <area>]",
712
- "<what_is> (حارة | باردة | دافئة | لطيفة) [<temp>] [[<in>] <area>]",
713
- "<what_is> <temp> <area>",
714
- "<temp> <area>"
701
+ "<timer_resume> <timer>",
702
+ "<timer_resume> <timer> <timer_start>",
703
+ "<timer_resume> <timer> [<in>] <area>",
704
+ "<timer_resume> <timer> [<called>] [ال]{timer_name:name}"
715
705
  ]
716
706
  }
717
707
  ]
718
708
  },
719
- "HassGetWeather": {
709
+ "HassStartTimer": {
720
710
  "data": [
721
711
  {
722
712
  "sentences": [
723
- "<what_is> <weather>"
713
+ "<timer_duration> <timer>",
714
+ "<timer> [<duration>] <timer_duration>",
715
+ "<timer> [<duration>] <timer_duration> <called> {timer_name:name}",
716
+ "<timer> [<duration>] <timer_duration> (ل|لل){timer_name:name}",
717
+ "<timer_set> <timer> [<duration>] <timer_duration>",
718
+ "<timer_set> <timer> [<duration>] <timer_duration> <called> [ال]{timer_name:name}",
719
+ "<timer_set> <timer> <called> [ال]{timer_name:name} [<duration>] <timer_duration>"
724
720
  ]
725
721
  },
726
722
  {
727
723
  "sentences": [
728
- "<what_is> <weather> <in> <name>"
724
+ "{timer_command:conversation_command} (<in>|بعد) <timer_duration>",
725
+ "(<in>|بعد) <timer_duration> {timer_command:conversation_command}"
729
726
  ],
730
- "requires_context": {
731
- "domain": "weather"
732
- }
727
+ "response": "command"
728
+ }
729
+ ]
730
+ },
731
+ "HassClimateGetTemperature": {
732
+ "data": [
733
+ {
734
+ "sentences": [
735
+ "<what_is> <temp> [<in> <area>]",
736
+ "<what_is> (حارة | باردة | دافئة | لطيفة) [<temp>] [[<in>] <area>]",
737
+ "<what_is> <temp> <area>",
738
+ "<temp> <area>"
739
+ ]
733
740
  }
734
741
  ]
735
742
  },
@@ -745,165 +752,148 @@
745
752
  }
746
753
  ]
747
754
  },
748
- "HassCancelTimer": {
755
+ "HassGetState": {
749
756
  "data": [
750
757
  {
751
758
  "sentences": [
752
- "<timer_cancel> <timer>",
753
- "<timer_cancel> <timer> <timer_start>",
754
- "<timer_cancel> <timer> [<in>] <area>",
755
- "<timer_cancel> <timer> [<called>] [ال]{timer_name:name}"
756
- ]
757
- }
758
- ]
759
- },
760
- "HassRespond": {
761
- "data": [
759
+ "<what_is> [حالة] <name> [<in> <area>]"
760
+ ],
761
+ "excludes_context": {
762
+ "domain": [
763
+ "scene",
764
+ "script"
765
+ ]
766
+ },
767
+ "response": "one"
768
+ },
762
769
  {
763
770
  "sentences": [
764
- "<hello> [<home_assistant>]"
771
+ "<is_it> <name> [<in> <area>] {on_off_states:state}"
765
772
  ],
766
- "response": "hello"
773
+ "excludes_context": {
774
+ "domain": [
775
+ "cover"
776
+ ]
777
+ },
778
+ "response": "one_yesno"
779
+ },
780
+ {
781
+ "sentences": [
782
+ "<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
783
+ ],
784
+ "response": "any"
767
785
  },
768
786
  {
769
787
  "sentences": [
770
- "هل انت دائما ([ت]تسمع|تسجل)"
788
+ "<is_it> <all> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
771
789
  ],
772
- "response": "listening"
790
+ "response": "all"
773
791
  },
774
792
  {
775
793
  "sentences": [
776
- "<where> <go> (بياناتي|معلوماتي) [الخاصه]"
794
+ "<what_is> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
777
795
  ],
778
- "response": "data"
796
+ "response": "which"
779
797
  },
780
798
  {
781
799
  "sentences": [
782
- "<what_is> <can> (اسال|اقول)"
800
+ "<how_many> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
783
801
  ],
784
- "response": "commands"
802
+ "response": "how_many"
785
803
  },
786
804
  {
787
805
  "sentences": [
788
- "من [الذي[ن]] (صنع[و]ك|صمم[و]ك)"
806
+ "هل <name> {cover_states:state} [<in> <area>]"
789
807
  ],
790
- "response": "creator"
791
- }
792
- ]
793
- },
794
- "HassClimateSetTemperature": {
795
- "data": [
808
+ "response": "one_yesno",
809
+ "requires_context": {
810
+ "domain": "cover"
811
+ },
812
+ "slots": {
813
+ "domain": "cover"
814
+ }
815
+ },
796
816
  {
797
817
  "sentences": [
798
- "[<turn>] <temp> [[<in>] <area>] [<to>]<temperature>"
818
+ "هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
799
819
  ],
800
- "response": "default"
801
- }
802
- ]
803
- },
804
- "HassGetCurrentDate": {
805
- "data": [
806
- {
807
- "sentences": [
808
- "(<what_is>|<tell_me>) [ال]تاريخ اليوم",
809
- "(<what_is>|<tell_me>) اليوم التاريخ",
810
- "[ال]تاريخ اليوم <what_is>"
811
- ]
812
- }
813
- ]
814
- },
815
- "HassMediaNext": {
816
- "data": [
820
+ "response": "any",
821
+ "slots": {
822
+ "domain": "cover"
823
+ }
824
+ },
817
825
  {
818
826
  "sentences": [
819
- "[المسار|العنصر] <next> [على|لـ] <name>",
820
- "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[على] <name>"
827
+ "هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
821
828
  ],
822
- "requires_context": {
823
- "domain": "media_player"
829
+ "response": "all",
830
+ "slots": {
831
+ "domain": "cover"
824
832
  }
825
833
  },
826
834
  {
827
835
  "sentences": [
828
- "[المسار|العنصر] <next>",
829
- "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>]"
836
+ "اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
830
837
  ],
831
- "requires_context": {
832
- "area": {
833
- "slot": true
834
- }
838
+ "response": "which",
839
+ "slots": {
840
+ "domain": "cover"
835
841
  }
836
842
  },
837
843
  {
838
844
  "sentences": [
839
- "[المسار|العنصر] <next> [في] <area>",
840
- "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[<in>] <area>"
841
- ]
845
+ "(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
846
+ ],
847
+ "response": "how_many",
848
+ "slots": {
849
+ "domain": "cover"
850
+ }
842
851
  }
843
852
  ]
844
853
  },
845
- "HassMediaPause": {
854
+ "HassVacuumStart": {
846
855
  "data": [
847
856
  {
848
857
  "sentences": [
849
- "(<pause>;<name>)",
850
- "(<pause> [ل|لل]<name>)"
858
+ "<turn_on> <name>"
851
859
  ],
852
860
  "requires_context": {
853
- "domain": "media_player"
861
+ "domain": "vacuum"
854
862
  }
855
- },
856
- {
857
- "sentences": [
858
- "<pause> [ل|لل|ال](مسار|أغنية|موسيقى|(عرض|عرضي|عروض) [التلفاز]|[مشغل|مشغلات] الوسائط);[<in>] <area>"
859
- ]
860
863
  }
861
864
  ]
862
865
  },
863
- "HassTimerStatus": {
866
+ "HassRespond": {
864
867
  "data": [
865
868
  {
866
869
  "sentences": [
867
- "[<what_is>] حالة <timer>",
868
- "[<what_is>] حالة <timer> [<duration>] <timer_start>",
869
- "[<what_is>] حالة <timer> [<in>] <area>",
870
- "[<what_is>] حالة <timer> [<called>] [ال]{timer_name:name}"
870
+ "<hello> [<home_assistant>]"
871
871
  ],
872
- "required_keywords": [
873
- "<timer>",
874
- "حالة"
875
- ]
872
+ "response": "hello"
876
873
  },
877
874
  {
878
875
  "sentences": [
879
- "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer>",
880
- "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer> [<duration>] <timer_start>",
881
- "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer> [<in>] <area>",
882
- "<what_is> [الوقت|الزمن] [<remains>] [[من] الوقت|الزمن] (<to>|<in> )<timer> [<called>] [ال]{timer_name:name}"
876
+ "هل انت دائما ([ت]تسمع|تسجل)"
883
877
  ],
884
- "required_keywords": [
885
- "<timer>",
886
- "البقي",
887
- "الباقي",
888
- "التبقى",
889
- "المتبقي",
890
- "باقي",
891
- "تبقى",
892
- "متبقي",
893
- "بقى",
894
- "لسه"
895
- ]
896
- }
897
- ]
898
- },
899
- "HassGetCurrentTime": {
900
- "data": [
878
+ "response": "listening"
879
+ },
901
880
  {
902
881
  "sentences": [
903
- "(<what_is>|<tell_me>) <time> [هلق|حاليا]",
904
- "(<what_is>|<tell_me>) [هلق|حاليا] <time>",
905
- "<time> [هلق|حاليا] (<what_is>|<tell_me>)"
906
- ]
882
+ "<where> <go> (بياناتي|معلوماتي) [الخاصه]"
883
+ ],
884
+ "response": "data"
885
+ },
886
+ {
887
+ "sentences": [
888
+ "<what_is> <can> (اسال|اقول)"
889
+ ],
890
+ "response": "commands"
891
+ },
892
+ {
893
+ "sentences": [
894
+ "من [الذي[ن]] (صنع[و]ك|صمم[و]ك)"
895
+ ],
896
+ "response": "creator"
907
897
  }
908
898
  ]
909
899
  },
@@ -923,6 +913,16 @@
923
913
  }
924
914
  }
925
915
  ]
916
+ },
917
+ "HassClimateSetTemperature": {
918
+ "data": [
919
+ {
920
+ "sentences": [
921
+ "[<turn>] <temp> [[<in>] <area>] [<to>]<temperature>"
922
+ ],
923
+ "response": "default"
924
+ }
925
+ ]
926
926
  }
927
927
  },
928
928
  "responses": {
@@ -959,18 +959,13 @@
959
959
  "no_timer_support": "عذرًا، لا يتم دعم المؤقتات على هذا الجهاز"
960
960
  },
961
961
  "intents": {
962
- "HassMediaNext": {
963
- "default": "تشغيل التالي"
964
- },
965
- "HassRespond": {
966
- "hello": "مرحبًا",
967
- "listening": "لا، فقط في حال قلت كلمة التنشيط",
968
- "data": "بياناتك الخاصة يتم إرسالها فقط إلى خادم البيت الذكي الخاص بك",
969
- "commands": "لمعرفة ما يمكنك السؤال عنه، قم بزيارة موقعنا الإلكتروني",
970
- "creator": "لقد تم إنشائي من قبل المجتمع الرائع للبيت الذكي، والذي يتكون من عباقرة في جميع أنحاء العالم"
971
- },
972
- "HassIncreaseTimer": {
973
- "default": "تم تحديث المؤقت"
962
+ "HassGetState": {
963
+ "one": "حالة {{ slots.name }} هي {{ state.state_with_unit }}\n",
964
+ "one_yesno": "{% if query.matched %}\n اجل\n{% else %}\n لا, {{ state.state_with_unit }}\n{% endif %}\n",
965
+ "any": "{% if query.matched %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n اجل, {{ match[:3] | join(\", \") }} و {{ (match | length - 3) }} ايضا\n {%- else -%}\n اجل,\n {% for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% else %}\n لا\n{% endif %}\n",
966
+ "all": "{% if not query.unmatched: %}\n اجل\n{% else %}\n {% set no_match = query.unmatched | map(attribute=\"name\") | sort | list %}\n {% if no_match | length > 4 %}\n لا, {{ no_match[:3] | join(\", \") }} و {{ (no_match | length - 3) }} ايضا\n {%- else -%}\n لا,\n {% for name in no_match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor %} ليست\n {% endif %}\n{% endif %}\n",
967
+ "which": "{% if not query.matched %}\n لا يوجد\n{% else: %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n {{ match[:3] | join(\", \") }} و {{ (match | length - 3) }} ايضا\n {% else %}\n {%- for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% endif %}\n",
968
+ "how_many": "{{ query.matched | length }}\n"
974
969
  },
975
970
  "HassTurnOff": {
976
971
  "default": "{% set translations = {\n \"button\": \"الزر\",\n \"camera\": \"الكاميرا\",\n \"input_button\": \"الزر\",\n \"alarm_control_panel\": \"الإنذار\",\n \"automation\": \"التشغيل الآلي\",\n \"fan\": \"المروحة\",\n \"climate\": \"منظم الحرارة\",\n \"humidifier\": \"مزيل الرطوبة\",\n \"input_boolean\": \"المفتاح الكهربائي\",\n \"siren\": \"صفارة الإنذار\",\n \"water_heater\": \"الغلاية\",\n \"light\": \"الضوء\",\n \"switch\": \"المفتاح الكهربائي\",\n \"script\": \"النص\",\n \"remote\": \"جهاز التحكم عن بعد\",\n \"lock\": \"القفل\",\n \"vacuum\": \"المكنسة الكهربائية\",\n \"scene\": \"المشهد\",\n \"media_player\": \"مشغل الوسائط\",\n \"lawn_mower\": \"جزازة العشب\",\n \"valve\": \"الصمام\"\n} %} تم إطفاء {{ translations.get(state.domain) }}",
@@ -985,6 +980,16 @@
985
980
  "unlock": "تم الفتح",
986
981
  "valve": "تم الفتح"
987
982
  },
983
+ "HassClimateSetTemperature": {
984
+ "default": "تم ضبط درجة الحرارة"
985
+ },
986
+ "HassStartTimer": {
987
+ "default": "{% set timeShortNames = ['ربع', 'نصف', 'ثلاثة أرباع', '15', '30', '45'] %} {% set h = slots.hours if slots.hours is defined else none %} {% set m = slots.minutes if slots.minutes is defined else none %} {% set s = slots.seconds if slots.seconds is defined else none %}\n{% set h_text = (' ساعة' if h in ['1', 'ساعة'] else ' ساعاتين' if h in ['2', 'ساعاتين'] else h ~ ' ساعات' if h | int <= 10 else h ~ ' ساعة') if h else '' %}\n{% set m_text = ('ربع' if m in ['15', 'ربع'] else 'نصف' if m in ['30', 'نصف'] else 'ثلاثة أرباع' if m in ['45', 'ثلاثة أرباع'] else m) ~\n (' ساعة' if (m in timeShortNames and h is none) else (' دقائق' if m | int <= 10 else ' دقيقة') if m not in timeShortNames)\n if m else '' %}\n\n{% set s_text = ('ربع' if s in ['15', 'ربع'] else 'نصف' if s in ['30', 'نصف'] else 'ثلاثة أرباع' if s in ['45', 'ثلاثة أرباع'] else s) ~\n (' دقيقة' if (s in timeShortNames and (m is none and h is none or m and h or m is none and h)) else (' ثواني' if s | int <= 10 else ' ثانية') if s not in timeShortNames)\n if s else '' %}\n\n{% set text_list = [ h_text, m_text, s_text] | select() | list %} {% set text = text_list[:-1] | join(' و ') ~ ' و ' ~ text_list[-1] if text_list | count > 2 else text_list | join(' و ') %} {% set name = (' بالاسم ' ~ slots.name | trim) if slots.name is defined else '' %} تم ضبط المؤقت لمدة {{ text }}{{ name }}\n",
988
+ "command": "{% set timeShortNames = ['ربع', 'نصف', 'ثلاثة أرباع', '15', '30', '45'] %} {% set h = slots.hours if slots.hours is defined else none %} {% set m = slots.minutes if slots.minutes is defined else none %} {% set s = slots.seconds if slots.seconds is defined else none %}\n{% set h_text = (' ساعة' if h in ['1', 'ساعة'] else ' ساعاتين' if h in ['2', 'ساعاتين'] else h ~ ' ساعات' if h | int <= 10 else h ~ ' ساعة') if h else '' %}\n{% set m_text = ('ربع' if m in ['15', 'ربع'] else 'نصف' if m in ['30', 'نصف'] else 'ثلاثة أرباع' if m in ['45', 'ثلاثة أرباع'] else m) ~\n (' ساعة' if (m in timeShortNames and h is none) else (' دقائق' if m | int <= 10 else ' دقيقة') if m not in timeShortNames)\n if m else '' %}\n\n{% set s_text = ('ربع' if s in ['15', 'ربع'] else 'نصف' if s in ['30', 'نصف'] else 'ثلاثة أرباع' if s in ['45', 'ثلاثة أرباع'] else s) ~\n (' دقيقة' if (s in timeShortNames and (m is none and h is none or m and h or m is none and h)) else (' ثواني' if s | int <= 10 else ' ثانية') if s not in timeShortNames)\n if s else '' %}\n\n{% set text_list = [ h_text, m_text, s_text] | select() | list %} {% set text = text_list[:-1] | join(' و ') ~ ' و ' ~ text_list[-1] if text_list | count > 2 else text_list | join(' و ') %} {% set name = (' بالاسم ' ~ slots.name | trim) if slots.name is defined else '' %} سيتم تنفيذ الأمر في {{ text }}\n"
989
+ },
990
+ "HassShoppingListAddItem": {
991
+ "item_added": "تم إضافة {{ slots.item }}"
992
+ },
988
993
  "HassTurnOn": {
989
994
  "default": "{% set translations = {\n \"button\": \"الزر\",\n \"camera\": \"الكاميرا\",\n \"input_button\": \"الزر\",\n \"alarm_control_panel\": \"الإنذار\",\n \"automation\": \"التشغيل الآلي\",\n \"fan\": \"المروحة\",\n \"climate\": \"منظم الحرارة\",\n \"humidifier\": \"مزيل الرطوبة\",\n \"input_boolean\": \"المفتاح الكهربائي\",\n \"siren\": \"صفارة الإنذار\",\n \"water_heater\": \"الغلاية\",\n \"light\": \"الضوء\",\n \"switch\": \"المفتاح الكهربائي\",\n \"script\": \"النص\",\n \"remote\": \"جهاز التحكم عن بعد\",\n \"lock\": \"القفل\",\n \"vacuum\": \"المكنسة الكهربائية\",\n \"scene\": \"المشهد\",\n \"media_player\": \"مشغل الوسائط\",\n \"lawn_mower\": \"جزازة العشب\",\n \"valve\": \"الصمام\"\n} %} تم تشغيل {{ translations.get(state.domain) }}",
990
995
  "light_all": "تم تشغيل جميع الأضواء",
@@ -1000,69 +1005,64 @@
1000
1005
  "lock": "تم القفل",
1001
1006
  "valve": "تم الفتح"
1002
1007
  },
1003
- "HassGetState": {
1004
- "one": "حالة {{ slots.name }} هي {{ state.state_with_unit }}\n",
1005
- "one_yesno": "{% if query.matched %}\n اجل\n{% else %}\n لا, {{ state.state_with_unit }}\n{% endif %}\n",
1006
- "any": "{% if query.matched %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n اجل, {{ match[:3] | join(\", \") }} و {{ (match | length - 3) }} ايضا\n {%- else -%}\n اجل,\n {% for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% else %}\n لا\n{% endif %}\n",
1007
- "all": "{% if not query.unmatched: %}\n اجل\n{% else %}\n {% set no_match = query.unmatched | map(attribute=\"name\") | sort | list %}\n {% if no_match | length > 4 %}\n لا, {{ no_match[:3] | join(\", \") }} و {{ (no_match | length - 3) }} ايضا\n {%- else -%}\n لا,\n {% for name in no_match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor %} ليست\n {% endif %}\n{% endif %}\n",
1008
- "which": "{% if not query.matched %}\n لا يوجد\n{% else: %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n {{ match[:3] | join(\", \") }} و {{ (match | length - 3) }} ايضا\n {% else %}\n {%- for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% endif %}\n",
1009
- "how_many": "{{ query.matched | length }}\n"
1008
+ "HassMediaPause": {
1009
+ "default": "تم الإيقاف مؤقتًا"
1010
1010
  },
1011
1011
  "HassGetCurrentTime": {
1012
1012
  "default": "{% set minute_str = '{0:02d}'.format(slots.time.minute) %}\n{% if slots.time.hour <= 12: %} {{ slots.time.hour }}:{{ minute_str }} صباحا {% else: %} {{ slots.time.hour - 12 }}:{{ minute_str }} مساءا {% endif %}\n"
1013
1013
  },
1014
- "HassStartTimer": {
1015
- "default": "{% set timeShortNames = ['ربع', 'نصف', 'ثلاثة أرباع', '15', '30', '45'] %} {% set h = slots.hours if slots.hours is defined else none %} {% set m = slots.minutes if slots.minutes is defined else none %} {% set s = slots.seconds if slots.seconds is defined else none %}\n{% set h_text = (' ساعة' if h in ['1', 'ساعة'] else ' ساعاتين' if h in ['2', 'ساعاتين'] else h ~ ' ساعات' if h | int <= 10 else h ~ ' ساعة') if h else '' %}\n{% set m_text = ('ربع' if m in ['15', 'ربع'] else 'نصف' if m in ['30', 'نصف'] else 'ثلاثة أرباع' if m in ['45', 'ثلاثة أرباع'] else m) ~\n (' ساعة' if (m in timeShortNames and h is none) else (' دقائق' if m | int <= 10 else ' دقيقة') if m not in timeShortNames)\n if m else '' %}\n\n{% set s_text = ('ربع' if s in ['15', 'ربع'] else 'نصف' if s in ['30', 'نصف'] else 'ثلاثة أرباع' if s in ['45', 'ثلاثة أرباع'] else s) ~\n (' دقيقة' if (s in timeShortNames and (m is none and h is none or m and h or m is none and h)) else (' ثواني' if s | int <= 10 else ' ثانية') if s not in timeShortNames)\n if s else '' %}\n\n{% set text_list = [ h_text, m_text, s_text] | select() | list %} {% set text = text_list[:-1] | join(' و ') ~ ' و ' ~ text_list[-1] if text_list | count > 2 else text_list | join(' و ') %} {% set name = (' بالاسم ' ~ slots.name | trim) if slots.name is defined else '' %} تم ضبط المؤقت لمدة {{ text }}{{ name }}\n",
1016
- "command": "{% set timeShortNames = ['ربع', 'نصف', 'ثلاثة أرباع', '15', '30', '45'] %} {% set h = slots.hours if slots.hours is defined else none %} {% set m = slots.minutes if slots.minutes is defined else none %} {% set s = slots.seconds if slots.seconds is defined else none %}\n{% set h_text = (' ساعة' if h in ['1', 'ساعة'] else ' ساعاتين' if h in ['2', 'ساعاتين'] else h ~ ' ساعات' if h | int <= 10 else h ~ ' ساعة') if h else '' %}\n{% set m_text = ('ربع' if m in ['15', 'ربع'] else 'نصف' if m in ['30', 'نصف'] else 'ثلاثة أرباع' if m in ['45', 'ثلاثة أرباع'] else m) ~\n (' ساعة' if (m in timeShortNames and h is none) else (' دقائق' if m | int <= 10 else ' دقيقة') if m not in timeShortNames)\n if m else '' %}\n\n{% set s_text = ('ربع' if s in ['15', 'ربع'] else 'نصف' if s in ['30', 'نصف'] else 'ثلاثة أرباع' if s in ['45', 'ثلاثة أرباع'] else s) ~\n (' دقيقة' if (s in timeShortNames and (m is none and h is none or m and h or m is none and h)) else (' ثواني' if s | int <= 10 else ' ثانية') if s not in timeShortNames)\n if s else '' %}\n\n{% set text_list = [ h_text, m_text, s_text] | select() | list %} {% set text = text_list[:-1] | join(' و ') ~ ' و ' ~ text_list[-1] if text_list | count > 2 else text_list | join(' و ') %} {% set name = (' بالاسم ' ~ slots.name | trim) if slots.name is defined else '' %} سيتم تنفيذ الأمر في {{ text }}\n"
1014
+ "HassPauseTimer": {
1015
+ "default": "تم إيقاف المؤقت"
1017
1016
  },
1018
- "HassUnpauseTimer": {
1019
- "default": "تم استئناف المؤقت"
1017
+ "HassTimerStatus": {
1018
+ "default": "{% set num_timers = slots.timers | length %}\n{% set active_timers = slots.timers | selectattr('is_active') | list %}\n{% set num_active_timers = active_timers | length %}\n{% set paused_timers = slots.timers | rejectattr('is_active') | list %}\n{% set num_paused_timers = paused_timers | length %}\n{% set next_timer = None %}\n\n{% if num_timers == 0 %}\n لا يوجد مؤقتات.\n{% elif num_active_timers == 0 %}\n {# No active timers #}\n {% if num_paused_timers == 1 %}\n {% set next_timer = paused_timers[0] %}\n المؤقت متوقف مؤقتاً.\n {% else %}\n يوجد {{ num_paused_timers }} مؤقتات متوقفة.\n {% endif %}\n{% else %}\n {# At least one active timer #}\n {% if num_active_timers == 1 %}\n {% set next_timer = active_timers[0] %}\n {% else %}\n {# Get active timer that will finish soonest #}\n {% set sorted_timers = active_timers | sort(attribute='total_seconds_left') %}\n {% set next_timer = sorted_timers[0] %}\n يوجد {{ num_active_timers }} مؤقتات نشطة.\n {% endif %}\n\n {% if num_paused_timers == 1 %}\n و1 مؤقت متوقف.\n {% elif num_paused_timers > 0 %}\n و{{ num_paused_timers }} مؤقتات متوقفة.\n {% endif %}\n{% endif %}\n\n{% if next_timer %}\n {# At least one active timer #}\n {% set minute_name = 'دقيقة' if next_timer.rounded_minutes_left | int > 10 else 'دقائق' %}\n {% set second_name = 'ثانية' if next_timer.rounded_seconds_left | int > 10 else 'ثواني' %}\n\n تبقى\n {% if (next_timer.rounded_hours_left == 1) and (next_timer.rounded_minutes_left > 0) %}\n ساعة و{{ next_timer.rounded_minutes_left }} {{minute_name}}\n {% elif (next_timer.rounded_hours_left == 1) %}\n ساعة\n {% elif (next_timer.rounded_hours_left > 1) and (next_timer.rounded_minutes_left > 0) %}\n {{ next_timer.rounded_hours_left }} ساعات و{{ next_timer.rounded_minutes_left }} {{minute_name}}\n {% elif (next_timer.rounded_hours_left > 1) %}\n {{ next_timer.rounded_hours_left }} ساعات\n {% elif (next_timer.rounded_minutes_left == 1) and (next_timer.rounded_seconds_left > 0) %}\n دقيقة و{{ next_timer.rounded_seconds_left }} {{second_name}}\n {% elif (next_timer.rounded_minutes_left == 1) %}\n دقيقة\n {% elif (next_timer.rounded_minutes_left > 1) and (next_timer.rounded_seconds_left > 0) %}\n {{ next_timer.rounded_minutes_left }} {{minute_name}} و{{ next_timer.rounded_seconds_left }} {{second_name}}\n {% elif (next_timer.rounded_minutes_left > 1) %}\n {{ next_timer.rounded_minutes_left }} {{minute_name}}\n {% elif (next_timer.rounded_seconds_left == 1) %}\n ثانية واحدة\n {% elif (next_timer.rounded_seconds_left > 1) %}\n {{ next_timer.rounded_seconds_left }} ثوانٍ\n {% endif %}\n\n {% if num_timers > 1 %}\n {# Give some extra information to disambiguate #}\n على مؤقت طوله\n {% if (next_timer.start_hours > 0) and (next_timer.start_minutes > 0) %}\n {{ next_timer.start_hours }} ساعة و{{ next_timer.start_minutes }} {{minute_name}}\n {% elif (next_timer.start_hours > 0) %}\n {{ next_timer.start_hours }} ساعة\n {% elif (next_timer.start_minutes > 0) and (next_timer.start_seconds > 0) %}\n {{ next_timer.start_minutes }} {{minute_name}} و{{ next_timer.start_seconds }} {{second_name}}\n {% elif (next_timer.start_minutes > 0) %}\n {{ next_timer.start_minutes }} {{minute_name}}\n {% elif (next_timer.start_seconds > 0) %}\n {{ next_timer.start_seconds }} {{second_name}}\n {% endif %}\n\n {% if next_timer.name %}\n اسم المؤقت: {{ next_timer.name }}.\n {% elif next_timer.area %}\n في {{ next_timer.area }}.\n {% endif %}\n\n {% else %}\n .\n {% endif %}\n{% endif %}\n"
1020
1019
  },
1021
- "HassMediaPause": {
1022
- "default": "تم الإيقاف مؤقتًا"
1020
+ "HassListAddItem": {
1021
+ "item_added": "تم إضافة {{ slots.item }}"
1023
1022
  },
1024
- "HassClimateSetTemperature": {
1025
- "default": "تم ضبط درجة الحرارة"
1023
+ "HassGetCurrentDate": {
1024
+ "default": "{% set months = {\n 1: 'يناير',\n 2: 'فبراير',\n 3: 'مارس',\n 4: 'أبريل',\n 5: 'مايو',\n 6: 'يونيو',\n 7: 'يوليو',\n 8: 'أغسطس',\n 9: 'سبتمبر',\n 10: 'أكتوبر',\n 11: 'نوفمبر',\n 12: 'ديسمبر'\n} %} {% set ordinal = {\n 1: 'الأول',\n 2: 'الثاني',\n 3: 'الثالث',\n 4: 'الرابع',\n 5: 'الخامس',\n 6: 'السادس',\n 7: 'السابع',\n 8: 'الثامن',\n 9: 'التاسع',\n 10: 'العاشر',\n 11: 'الحادي عشر',\n 12: 'الثاني عشر',\n 13: 'الثالث عشر',\n 14: 'الرابع عشر',\n 15: 'الخامس عشر',\n 16: 'السادس عشر',\n 17: 'السابع عشر',\n 18: 'الثامن عشر',\n 19: 'التاسع عشر',\n 20: 'العشرون',\n 21: 'الواحد والعشرون',\n 22: 'الثاني والعشرون',\n 23: 'الثالث والعشرون',\n 24: 'الرابع والعشرون',\n 25: 'الخامس والعشرون',\n 26: 'السادس والعشرون',\n 27: 'السابع والعشرون',\n 28: 'الثامن والعشرون',\n 29: 'التاسع والعشرون',\n 30: 'الثلاثون',\n 31: 'الواحد والثلاثون'\n } %}\n{{ ordinal[slots.date.day] }} من {{ months[slots.date.month] }} {{ slots.date.year }}\n"
1026
1025
  },
1027
- "HassPauseTimer": {
1028
- "default": "تم إيقاف المؤقت"
1026
+ "HassUnpauseTimer": {
1027
+ "default": "تم استئناف المؤقت"
1028
+ },
1029
+ "HassGetWeather": {
1030
+ "default": "{% set weather_condition = {\n 'clear': \"وصافٍ\",\n 'clear-night': \"وصافٍ ليلًا\",\n 'cloudy': \"وغائم\",\n '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': \"مع رياح وسحب\"\n} %} {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), \"\") }}\n"
1029
1031
  },
1030
1032
  "HassLightSet": {
1031
1033
  "brightness": "تم ضبط السطوع إلى {{slots.brightness}}",
1032
1034
  "color": "تم ضبط اللون إلى {{slots.color}}"
1033
1035
  },
1034
- "HassCancelTimer": {
1035
- "default": "تم إلغاء المؤقت"
1036
- },
1037
- "HassListAddItem": {
1038
- "item_added": "تم إضافة {{ slots.item }}"
1039
- },
1040
1036
  "HassVacuumStart": {
1041
1037
  "default": "تم التفعيل"
1042
1038
  },
1043
- "HassDecreaseTimer": {
1044
- "default": "تم تحديث المؤقت"
1045
- },
1046
1039
  "HassSetPosition": {
1047
1040
  "default": "تم التحريك"
1048
1041
  },
1049
- "HassGetWeather": {
1050
- "default": "{% set weather_condition = {\n 'clear': \"وصافٍ\",\n 'clear-night': \"وصافٍ ليلًا\",\n 'cloudy': \"وغائم\",\n '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': \"مع رياح وسحب\"\n} %} {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), \"\") }}\n"
1051
- },
1052
- "HassGetCurrentDate": {
1053
- "default": "{% set months = {\n 1: 'يناير',\n 2: 'فبراير',\n 3: 'مارس',\n 4: 'أبريل',\n 5: 'مايو',\n 6: 'يونيو',\n 7: 'يوليو',\n 8: 'أغسطس',\n 9: 'سبتمبر',\n 10: 'أكتوبر',\n 11: 'نوفمبر',\n 12: 'ديسمبر'\n} %} {% set ordinal = {\n 1: 'الأول',\n 2: 'الثاني',\n 3: 'الثالث',\n 4: 'الرابع',\n 5: 'الخامس',\n 6: 'السادس',\n 7: 'السابع',\n 8: 'الثامن',\n 9: 'التاسع',\n 10: 'العاشر',\n 11: 'الحادي عشر',\n 12: 'الثاني عشر',\n 13: 'الثالث عشر',\n 14: 'الرابع عشر',\n 15: 'الخامس عشر',\n 16: 'السادس عشر',\n 17: 'السابع عشر',\n 18: 'الثامن عشر',\n 19: 'التاسع عشر',\n 20: 'العشرون',\n 21: 'الواحد والعشرون',\n 22: 'الثاني والعشرون',\n 23: 'الثالث والعشرون',\n 24: 'الرابع والعشرون',\n 25: 'الخامس والعشرون',\n 26: 'السادس والعشرون',\n 27: 'السابع والعشرون',\n 28: 'الثامن والعشرون',\n 29: 'التاسع والعشرون',\n 30: 'الثلاثون',\n 31: 'الواحد والثلاثون'\n } %}\n{{ ordinal[slots.date.day] }} من {{ months[slots.date.month] }} {{ slots.date.year }}\n"
1042
+ "HassMediaNext": {
1043
+ "default": "تشغيل التالي"
1054
1044
  },
1055
- "HassVacuumReturnToBase": {
1056
- "default": "يتم العودة"
1045
+ "HassCancelTimer": {
1046
+ "default": "تم إلغاء المؤقت"
1057
1047
  },
1058
1048
  "HassClimateGetTemperature": {
1059
1049
  "default": "{{ state_attr(state.entity_id, 'current_temperature') }}"
1060
1050
  },
1061
- "HassShoppingListAddItem": {
1062
- "item_added": "تم إضافة {{ slots.item }}"
1051
+ "HassDecreaseTimer": {
1052
+ "default": "تم تحديث المؤقت"
1063
1053
  },
1064
- "HassTimerStatus": {
1065
- "default": "{% set num_timers = slots.timers | length %}\n{% set active_timers = slots.timers | selectattr('is_active') | list %}\n{% set num_active_timers = active_timers | length %}\n{% set paused_timers = slots.timers | rejectattr('is_active') | list %}\n{% set num_paused_timers = paused_timers | length %}\n{% set next_timer = None %}\n\n{% if num_timers == 0 %}\n لا يوجد مؤقتات.\n{% elif num_active_timers == 0 %}\n {# No active timers #}\n {% if num_paused_timers == 1 %}\n {% set next_timer = paused_timers[0] %}\n المؤقت متوقف مؤقتاً.\n {% else %}\n يوجد {{ num_paused_timers }} مؤقتات متوقفة.\n {% endif %}\n{% else %}\n {# At least one active timer #}\n {% if num_active_timers == 1 %}\n {% set next_timer = active_timers[0] %}\n {% else %}\n {# Get active timer that will finish soonest #}\n {% set sorted_timers = active_timers | sort(attribute='total_seconds_left') %}\n {% set next_timer = sorted_timers[0] %}\n يوجد {{ num_active_timers }} مؤقتات نشطة.\n {% endif %}\n\n {% if num_paused_timers == 1 %}\n و1 مؤقت متوقف.\n {% elif num_paused_timers > 0 %}\n و{{ num_paused_timers }} مؤقتات متوقفة.\n {% endif %}\n{% endif %}\n\n{% if next_timer %}\n {# At least one active timer #}\n {% set minute_name = 'دقيقة' if next_timer.rounded_minutes_left | int > 10 else 'دقائق' %}\n {% set second_name = 'ثانية' if next_timer.rounded_seconds_left | int > 10 else 'ثواني' %}\n\n تبقى\n {% if (next_timer.rounded_hours_left == 1) and (next_timer.rounded_minutes_left > 0) %}\n ساعة و{{ next_timer.rounded_minutes_left }} {{minute_name}}\n {% elif (next_timer.rounded_hours_left == 1) %}\n ساعة\n {% elif (next_timer.rounded_hours_left > 1) and (next_timer.rounded_minutes_left > 0) %}\n {{ next_timer.rounded_hours_left }} ساعات و{{ next_timer.rounded_minutes_left }} {{minute_name}}\n {% elif (next_timer.rounded_hours_left > 1) %}\n {{ next_timer.rounded_hours_left }} ساعات\n {% elif (next_timer.rounded_minutes_left == 1) and (next_timer.rounded_seconds_left > 0) %}\n دقيقة و{{ next_timer.rounded_seconds_left }} {{second_name}}\n {% elif (next_timer.rounded_minutes_left == 1) %}\n دقيقة\n {% elif (next_timer.rounded_minutes_left > 1) and (next_timer.rounded_seconds_left > 0) %}\n {{ next_timer.rounded_minutes_left }} {{minute_name}} و{{ next_timer.rounded_seconds_left }} {{second_name}}\n {% elif (next_timer.rounded_minutes_left > 1) %}\n {{ next_timer.rounded_minutes_left }} {{minute_name}}\n {% elif (next_timer.rounded_seconds_left == 1) %}\n ثانية واحدة\n {% elif (next_timer.rounded_seconds_left > 1) %}\n {{ next_timer.rounded_seconds_left }} ثوانٍ\n {% endif %}\n\n {% if num_timers > 1 %}\n {# Give some extra information to disambiguate #}\n على مؤقت طوله\n {% if (next_timer.start_hours > 0) and (next_timer.start_minutes > 0) %}\n {{ next_timer.start_hours }} ساعة و{{ next_timer.start_minutes }} {{minute_name}}\n {% elif (next_timer.start_hours > 0) %}\n {{ next_timer.start_hours }} ساعة\n {% elif (next_timer.start_minutes > 0) and (next_timer.start_seconds > 0) %}\n {{ next_timer.start_minutes }} {{minute_name}} و{{ next_timer.start_seconds }} {{second_name}}\n {% elif (next_timer.start_minutes > 0) %}\n {{ next_timer.start_minutes }} {{minute_name}}\n {% elif (next_timer.start_seconds > 0) %}\n {{ next_timer.start_seconds }} {{second_name}}\n {% endif %}\n\n {% if next_timer.name %}\n اسم المؤقت: {{ next_timer.name }}.\n {% elif next_timer.area %}\n في {{ next_timer.area }}.\n {% endif %}\n\n {% else %}\n .\n {% endif %}\n{% endif %}\n"
1054
+ "HassIncreaseTimer": {
1055
+ "default": "تم تحديث المؤقت"
1056
+ },
1057
+ "HassVacuumReturnToBase": {
1058
+ "default": "يتم العودة"
1059
+ },
1060
+ "HassRespond": {
1061
+ "hello": "مرحبًا",
1062
+ "listening": "لا، فقط في حال قلت كلمة التنشيط",
1063
+ "data": "بياناتك الخاصة يتم إرسالها فقط إلى خادم البيت الذكي الخاص بك",
1064
+ "commands": "لمعرفة ما يمكنك السؤال عنه، قم بزيارة موقعنا الإلكتروني",
1065
+ "creator": "لقد تم إنشائي من قبل المجتمع الرائع للبيت الذكي، والذي يتكون من عباقرة في جميع أنحاء العالم"
1066
1066
  }
1067
1067
  }
1068
1068
  },