home-assistant-intents 2025.3.12__py3-none-any.whl → 2025.3.23__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 +897 -874
  3. home_assistant_intents/data/bn.json +4 -4
  4. home_assistant_intents/data/ca.json +437 -437
  5. home_assistant_intents/data/cs.json +1746 -1533
  6. home_assistant_intents/data/da.json +1546 -1546
  7. home_assistant_intents/data/de-CH.json +462 -462
  8. home_assistant_intents/data/de.json +822 -822
  9. home_assistant_intents/data/el.json +205 -205
  10. home_assistant_intents/data/en.json +1609 -1609
  11. home_assistant_intents/data/es.json +1600 -1600
  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 +530 -530
  20. home_assistant_intents/data/hu.json +1687 -1687
  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 +623 -623
  24. home_assistant_intents/data/ka.json +31 -31
  25. home_assistant_intents/data/ko.json +548 -548
  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 +1001 -1001
  34. home_assistant_intents/data/nl.json +1824 -1824
  35. home_assistant_intents/data/pl.json +951 -951
  36. home_assistant_intents/data/pt-br.json +477 -477
  37. home_assistant_intents/data/pt.json +421 -421
  38. home_assistant_intents/data/ro.json +659 -659
  39. home_assistant_intents/data/ru.json +1536 -1536
  40. home_assistant_intents/data/sk.json +2010 -1627
  41. home_assistant_intents/data/sl.json +1581 -1581
  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 +397 -397
  50. home_assistant_intents/data/ur.json +93 -93
  51. home_assistant_intents/data/vi.json +953 -953
  52. home_assistant_intents/data/zh-cn.json +419 -419
  53. home_assistant_intents/data/zh-hk.json +455 -455
  54. home_assistant_intents/data/zh-tw.json +372 -372
  55. {home_assistant_intents-2025.3.12.dist-info → home_assistant_intents-2025.3.23.dist-info}/METADATA +3 -2
  56. home_assistant_intents-2025.3.23.dist-info/RECORD +64 -0
  57. {home_assistant_intents-2025.3.12.dist-info → home_assistant_intents-2025.3.23.dist-info}/WHEEL +1 -1
  58. home_assistant_intents/language_scores.json +0 -297
  59. home_assistant_intents-2025.3.12.dist-info/RECORD +0 -65
  60. {home_assistant_intents-2025.3.12.dist-info → home_assistant_intents-2025.3.23.dist-info/licenses}/LICENSE.md +0 -0
  61. {home_assistant_intents-2025.3.12.dist-info → home_assistant_intents-2025.3.23.dist-info}/top_level.txt +0 -0
  62. {home_assistant_intents-2025.3.12.dist-info → home_assistant_intents-2025.3.23.dist-info}/zip-safe +0 -0
@@ -5,21 +5,50 @@
5
5
  "data": [
6
6
  {
7
7
  "sentences": [
8
- "<turn_off> [<light> | <switch>] <name>"
8
+ "<close> <name> [<in> <area>]"
9
9
  ],
10
- "excludes_context": {
11
- "domain": [
12
- "binary_sensor",
13
- "cover",
14
- "lock",
15
- "scene",
16
- "script",
17
- "sensor",
18
- "valve",
19
- "vacuum"
20
- ]
10
+ "requires_context": {
11
+ "domain": "cover"
21
12
  },
22
- "response": "default"
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>"
46
+ ],
47
+ "slots": {
48
+ "domain": "lock",
49
+ "name": "all"
50
+ },
51
+ "response": "unlock"
23
52
  },
24
53
  {
25
54
  "sentences": [
@@ -93,146 +122,188 @@
93
122
  },
94
123
  {
95
124
  "sentences": [
96
- "<close> <name> [<in> <area>]"
125
+ "<turn_off> [<light> | <switch>] <name>"
97
126
  ],
98
- "requires_context": {
99
- "domain": "cover"
127
+ "excludes_context": {
128
+ "domain": [
129
+ "binary_sensor",
130
+ "cover",
131
+ "lock",
132
+ "scene",
133
+ "script",
134
+ "sensor",
135
+ "valve",
136
+ "vacuum"
137
+ ]
100
138
  },
101
- "response": "cover"
139
+ "response": "default"
102
140
  },
103
141
  {
104
142
  "sentences": [
105
- "<close> باب الجراج"
143
+ "<turn_off> [<all>] <fan> [<in>] <area>"
106
144
  ],
107
145
  "slots": {
108
- "domain": "cover",
109
- "device_class": "garage"
146
+ "domain": "fan",
147
+ "name": "all"
110
148
  },
111
- "response": "cover_device_class"
149
+ "response": "fans_area"
112
150
  },
113
151
  {
114
152
  "sentences": [
115
- "<close> {cover_classes:device_class} [<in>] <area>"
153
+ "<turn_off> [<all>] <fan>"
116
154
  ],
117
155
  "slots": {
118
- "domain": "cover"
156
+ "domain": "fan",
157
+ "name": "all"
119
158
  },
120
- "response": "cover_device_class"
121
- },
159
+ "response": "fan_all"
160
+ }
161
+ ]
162
+ },
163
+ "HassGetState": {
164
+ "data": [
122
165
  {
123
166
  "sentences": [
124
- "<turn_off> [<all>] <fan> [<in>] <area>"
167
+ "<what_is> [حالة] <name> [<in> <area>]"
125
168
  ],
126
- "slots": {
127
- "domain": "fan",
128
- "name": "all"
169
+ "excludes_context": {
170
+ "domain": [
171
+ "scene",
172
+ "script"
173
+ ]
129
174
  },
130
- "response": "fans_area"
175
+ "response": "one"
131
176
  },
132
177
  {
133
178
  "sentences": [
134
- "<turn_off> [<all>] <fan>"
179
+ "<is_it> <name> [<in> <area>] {on_off_states:state}"
135
180
  ],
136
- "slots": {
137
- "domain": "fan",
138
- "name": "all"
181
+ "excludes_context": {
182
+ "domain": [
183
+ "cover"
184
+ ]
139
185
  },
140
- "response": "fan_all"
186
+ "response": "one_yesno"
141
187
  },
142
188
  {
143
189
  "sentences": [
144
- "<open> <name> [<in> <area>]"
190
+ "<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
145
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",
146
217
  "requires_context": {
147
- "domain": "lock"
218
+ "domain": "cover"
148
219
  },
149
- "response": "unlock"
220
+ "slots": {
221
+ "domain": "cover"
222
+ }
150
223
  },
151
224
  {
152
225
  "sentences": [
153
- "<open> [<all>] [ال](اقفال|قفل) [<in>] <area>"
226
+ "هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
154
227
  ],
228
+ "response": "any",
155
229
  "slots": {
156
- "domain": "lock",
157
- "name": "all"
158
- },
159
- "response": "unlock"
160
- }
161
- ]
162
- },
163
- "HassCancelTimer": {
164
- "data": [
230
+ "domain": "cover"
231
+ }
232
+ },
165
233
  {
166
234
  "sentences": [
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
- ]
172
- }
173
- ]
174
- },
175
- "HassTimerStatus": {
176
- "data": [
235
+ "هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
236
+ ],
237
+ "response": "all",
238
+ "slots": {
239
+ "domain": "cover"
240
+ }
241
+ },
177
242
  {
178
243
  "sentences": [
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}"
244
+ "اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
183
245
  ],
184
- "required_keywords": [
185
- "<timer>",
186
- "حالة"
187
- ]
246
+ "response": "which",
247
+ "slots": {
248
+ "domain": "cover"
249
+ }
188
250
  },
189
251
  {
190
252
  "sentences": [
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}"
253
+ "(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
195
254
  ],
196
- "required_keywords": [
197
- "<timer>",
198
- "البقي",
199
- "الباقي",
200
- "التبقى",
201
- "المتبقي",
202
- "باقي",
203
- "تبقى",
204
- "متبقي",
205
- "بقى",
206
- "لسه"
207
- ]
255
+ "response": "how_many",
256
+ "slots": {
257
+ "domain": "cover"
258
+ }
208
259
  }
209
260
  ]
210
261
  },
211
- "HassGetWeather": {
262
+ "HassShoppingListAddItem": {
212
263
  "data": [
213
264
  {
214
265
  "sentences": [
215
- "<what_is> <weather>"
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
+ }
273
+ }
274
+ ]
275
+ },
276
+ "HassStartTimer": {
277
+ "data": [
278
+ {
279
+ "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>"
216
287
  ]
217
288
  },
218
289
  {
219
290
  "sentences": [
220
- "<what_is> <weather> <in> <name>"
291
+ "{timer_command:conversation_command} (<in>|بعد) <timer_duration>",
292
+ "(<in>|بعد) <timer_duration> {timer_command:conversation_command}"
221
293
  ],
222
- "requires_context": {
223
- "domain": "weather"
224
- }
294
+ "response": "command"
225
295
  }
226
296
  ]
227
297
  },
228
- "HassGetCurrentTime": {
298
+ "HassVacuumStart": {
229
299
  "data": [
230
300
  {
231
301
  "sentences": [
232
- "(<what_is>|<tell_me>) <time> [هلق|حاليا]",
233
- "(<what_is>|<tell_me>) [هلق|حاليا] <time>",
234
- "<time> [هلق|حاليا] (<what_is>|<tell_me>)"
235
- ]
302
+ "<turn_on> <name>"
303
+ ],
304
+ "requires_context": {
305
+ "domain": "vacuum"
306
+ }
236
307
  }
237
308
  ]
238
309
  },
@@ -240,83 +311,60 @@
240
311
  "data": [
241
312
  {
242
313
  "sentences": [
243
- "[<turn_on>] (<in> <area> [<light>] <name>|[<light>] <name> [in <area>])"
314
+ "<close> <name> [<in> <area>]"
244
315
  ],
245
- "expansion_rules": {
246
- "all_lights": "([<all>] <light>|<light> [<all>])"
247
- },
248
316
  "requires_context": {
249
- "domain": "light"
250
- }
317
+ "domain": "lock"
318
+ },
319
+ "response": "lock"
251
320
  },
252
321
  {
253
322
  "sentences": [
254
- "<turn_on> <all_lights> [<in>] <area>",
255
- "<turn_on> [<in>] <area> <all_lights>"
323
+ "<close> [<all>] [ال](اقفال|قفل) [<in>] <area>"
256
324
  ],
257
- "expansion_rules": {
258
- "all_lights": "([<all>] <light>|<light> [<all>])"
259
- },
260
325
  "slots": {
261
- "domain": "light"
326
+ "domain": "lock",
327
+ "name": "all"
262
328
  },
263
- "response": "lights_area"
329
+ "response": "lock"
264
330
  },
265
331
  {
266
332
  "sentences": [
267
- "<turn_on> <all_lights>",
268
- "<turn_on> [<all>] <light> <everywhere>",
269
- "<turn_on> <everywhere> [<all>] <light>"
333
+ "<turn_on> [<all>] <fan> [<in>] <area>"
270
334
  ],
271
- "expansion_rules": {
272
- "all_lights": "(<all> <light>|<light> <all>)"
273
- },
274
335
  "slots": {
275
- "domain": "light"
336
+ "domain": "fan",
337
+ "name": "all"
276
338
  },
277
- "response": "light_all"
339
+ "response": "fans_area"
278
340
  },
279
341
  {
280
342
  "sentences": [
281
- "<turn_on> <all_lights> [<here>]",
282
- "<turn_on> [<here>] <all_lights>"
343
+ "<open> <name> [<in>] [<area>]"
283
344
  ],
284
- "expansion_rules": {
285
- "all_lights": "([<all>] <light>|<light> [<all>])",
286
- "here": "(هنا|هون|هينا)"
287
- },
288
- "slots": {
289
- "domain": "light"
290
- },
291
345
  "requires_context": {
292
- "area": {
293
- "slot": true
294
- }
346
+ "domain": "cover"
295
347
  },
296
- "response": "lights_area"
348
+ "response": "cover"
297
349
  },
298
350
  {
299
351
  "sentences": [
300
- "<turn_on> <all_lights> [<in>] <floor>",
301
- "<turn_on> [<in>] <floor> <all_lights>"
352
+ "<open> باب الجراج"
302
353
  ],
303
- "expansion_rules": {
304
- "all_lights": "([<all>] <light>|<light> [<all>])"
305
- },
306
354
  "slots": {
307
- "domain": "light"
355
+ "domain": "cover",
356
+ "device_class": "garage"
308
357
  },
309
- "response": "lights_floor"
358
+ "response": "cover_device_class"
310
359
  },
311
360
  {
312
361
  "sentences": [
313
- "<turn_on> [<all>] <fan> [<in>] <area>"
362
+ "<open> {cover_classes:device_class} <in> <area>"
314
363
  ],
315
364
  "slots": {
316
- "domain": "fan",
317
- "name": "all"
365
+ "domain": "cover"
318
366
  },
319
- "response": "fans_area"
367
+ "response": "cover_device_class"
320
368
  },
321
369
  {
322
370
  "sentences": [
@@ -339,28 +387,9 @@
339
387
  "domain": "scene"
340
388
  },
341
389
  "slots": {
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"
390
+ "domain": "scene"
362
391
  },
363
- "response": "lock"
392
+ "response": "scene"
364
393
  },
365
394
  {
366
395
  "sentences": [
@@ -382,45 +411,73 @@
382
411
  },
383
412
  {
384
413
  "sentences": [
385
- "<open> <name> [<in>] [<area>]"
414
+ "[<turn_on>] (<in> <area> [<light>] <name>|[<light>] <name> [in <area>])"
386
415
  ],
416
+ "expansion_rules": {
417
+ "all_lights": "([<all>] <light>|<light> [<all>])"
418
+ },
387
419
  "requires_context": {
388
- "domain": "cover"
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>])"
389
430
  },
390
- "response": "cover"
431
+ "slots": {
432
+ "domain": "light"
433
+ },
434
+ "response": "lights_area"
391
435
  },
392
436
  {
393
437
  "sentences": [
394
- "<open> باب الجراج"
438
+ "<turn_on> <all_lights>",
439
+ "<turn_on> [<all>] <light> <everywhere>",
440
+ "<turn_on> <everywhere> [<all>] <light>"
395
441
  ],
442
+ "expansion_rules": {
443
+ "all_lights": "(<all> <light>|<light> <all>)"
444
+ },
396
445
  "slots": {
397
- "domain": "cover",
398
- "device_class": "garage"
446
+ "domain": "light"
399
447
  },
400
- "response": "cover_device_class"
448
+ "response": "light_all"
401
449
  },
402
450
  {
403
451
  "sentences": [
404
- "<open> {cover_classes:device_class} <in> <area>"
452
+ "<turn_on> <all_lights> [<here>]",
453
+ "<turn_on> [<here>] <all_lights>"
405
454
  ],
455
+ "expansion_rules": {
456
+ "all_lights": "([<all>] <light>|<light> [<all>])",
457
+ "here": "(هنا|هون|هينا)"
458
+ },
406
459
  "slots": {
407
- "domain": "cover"
460
+ "domain": "light"
408
461
  },
409
- "response": "cover_device_class"
410
- }
411
- ]
412
- },
413
- "HassShoppingListAddItem": {
414
- "data": [
462
+ "requires_context": {
463
+ "area": {
464
+ "slot": true
465
+ }
466
+ },
467
+ "response": "lights_area"
468
+ },
415
469
  {
416
470
  "sentences": [
417
- "<add> <item> (<to>|<in> )<my_list>"
471
+ "<turn_on> <all_lights> [<in>] <floor>",
472
+ "<turn_on> [<in>] <floor> <all_lights>"
418
473
  ],
419
- "response": "item_added",
420
474
  "expansion_rules": {
421
- "my_list": "[ال](قائمة|قائمتي|لائحة|لائحتي|قائمة الخاصة بي) [(ال|لل)تسوق]",
422
- "item": "{shopping_list_item:item}"
423
- }
475
+ "all_lights": "([<all>] <light>|<light> [<all>])"
476
+ },
477
+ "slots": {
478
+ "domain": "light"
479
+ },
480
+ "response": "lights_floor"
424
481
  }
425
482
  ]
426
483
  },
@@ -440,6 +497,18 @@
440
497
  }
441
498
  ]
442
499
  },
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
+ },
443
512
  "HassSetPosition": {
444
513
  "data": [
445
514
  {
@@ -475,41 +544,6 @@
475
544
  }
476
545
  ]
477
546
  },
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
- },
513
547
  "HassLightSet": {
514
548
  "data": [
515
549
  {
@@ -610,45 +644,27 @@
610
644
  }
611
645
  ]
612
646
  },
613
- "HassMediaNext": {
647
+ "HassIncreaseTimer": {
614
648
  "data": [
615
649
  {
616
650
  "sentences": [
617
- "[المسار|العنصر] <next> [على|لـ] <name>",
618
- "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[على] <name>"
619
- ],
620
- "requires_context": {
621
- "domain": "media_player"
622
- }
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
+ ]
623
657
  },
624
658
  {
625
659
  "sentences": [
626
- "[المسار|العنصر] <next>",
627
- "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>]"
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>"
628
664
  ],
629
- "requires_context": {
630
- "area": {
631
- "slot": true
632
- }
665
+ "expansion_rules": {
666
+ "by": "(بمقدار|ب)[ ]"
633
667
  }
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
- ]
652
668
  }
653
669
  ]
654
670
  },
@@ -676,67 +692,44 @@
676
692
  }
677
693
  ]
678
694
  },
679
- "HassMediaPause": {
695
+ "HassPauseTimer": {
680
696
  "data": [
681
697
  {
682
698
  "sentences": [
683
- "(<pause>;<name>)",
684
- "(<pause> [ل|لل]<name>)"
685
- ],
686
- "requires_context": {
687
- "domain": "media_player"
688
- }
689
- },
690
- {
691
- "sentences": [
692
- "<pause> [ل|لل|ال](مسار|أغنية|موسيقى|(عرض|عرضي|عروض) [التلفاز]|[مشغل|مشغلات] الوسائط);[<in>] <area>"
699
+ "<timer_pause> <timer>",
700
+ "<timer_pause> <timer> <timer_start>",
701
+ "<timer_pause> <timer> [<in>] <area>",
702
+ "<timer_pause> <timer> [<called>] [ال]{timer_name:name}"
693
703
  ]
694
704
  }
695
705
  ]
696
706
  },
697
- "HassUnpauseTimer": {
707
+ "HassClimateGetTemperature": {
698
708
  "data": [
699
709
  {
700
710
  "sentences": [
701
- "<timer_resume> <timer>",
702
- "<timer_resume> <timer> <timer_start>",
703
- "<timer_resume> <timer> [<in>] <area>",
704
- "<timer_resume> <timer> [<called>] [ال]{timer_name:name}"
711
+ "<what_is> <temp> [<in> <area>]",
712
+ "<what_is> (حارة | باردة | دافئة | لطيفة) [<temp>] [[<in>] <area>]",
713
+ "<what_is> <temp> <area>",
714
+ "<temp> <area>"
705
715
  ]
706
716
  }
707
717
  ]
708
718
  },
709
- "HassStartTimer": {
719
+ "HassGetWeather": {
710
720
  "data": [
711
721
  {
712
722
  "sentences": [
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>"
723
+ "<what_is> <weather>"
720
724
  ]
721
725
  },
722
726
  {
723
727
  "sentences": [
724
- "{timer_command:conversation_command} (<in>|بعد) <timer_duration>",
725
- "(<in>|بعد) <timer_duration> {timer_command:conversation_command}"
728
+ "<what_is> <weather> <in> <name>"
726
729
  ],
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
- ]
730
+ "requires_context": {
731
+ "domain": "weather"
732
+ }
740
733
  }
741
734
  ]
742
735
  },
@@ -752,148 +745,165 @@
752
745
  }
753
746
  ]
754
747
  },
755
- "HassGetState": {
748
+ "HassCancelTimer": {
756
749
  "data": [
757
750
  {
758
751
  "sentences": [
759
- "<what_is> [حالة] <name> [<in> <area>]"
760
- ],
761
- "excludes_context": {
762
- "domain": [
763
- "scene",
764
- "script"
765
- ]
766
- },
767
- "response": "one"
768
- },
769
- {
770
- "sentences": [
771
- "<is_it> <name> [<in> <area>] {on_off_states:state}"
772
- ],
773
- "excludes_context": {
774
- "domain": [
775
- "cover"
776
- ]
777
- },
778
- "response": "one_yesno"
779
- },
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": [
780
762
  {
781
763
  "sentences": [
782
- "<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
764
+ "<hello> [<home_assistant>]"
783
765
  ],
784
- "response": "any"
766
+ "response": "hello"
785
767
  },
786
768
  {
787
769
  "sentences": [
788
- "<is_it> <all> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
770
+ "هل انت دائما ([ت]تسمع|تسجل)"
789
771
  ],
790
- "response": "all"
772
+ "response": "listening"
791
773
  },
792
774
  {
793
775
  "sentences": [
794
- "<what_is> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
776
+ "<where> <go> (بياناتي|معلوماتي) [الخاصه]"
795
777
  ],
796
- "response": "which"
778
+ "response": "data"
797
779
  },
798
780
  {
799
781
  "sentences": [
800
- "<how_many> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
782
+ "<what_is> <can> (اسال|اقول)"
801
783
  ],
802
- "response": "how_many"
784
+ "response": "commands"
803
785
  },
804
786
  {
805
787
  "sentences": [
806
- "هل <name> {cover_states:state} [<in> <area>]"
788
+ "من [الذي[ن]] (صنع[و]ك|صمم[و]ك)"
807
789
  ],
808
- "response": "one_yesno",
809
- "requires_context": {
810
- "domain": "cover"
811
- },
812
- "slots": {
813
- "domain": "cover"
814
- }
815
- },
790
+ "response": "creator"
791
+ }
792
+ ]
793
+ },
794
+ "HassClimateSetTemperature": {
795
+ "data": [
816
796
  {
817
797
  "sentences": [
818
- "هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
798
+ "[<turn>] <temp> [[<in>] <area>] [<to>]<temperature>"
819
799
  ],
820
- "response": "any",
821
- "slots": {
822
- "domain": "cover"
823
- }
824
- },
800
+ "response": "default"
801
+ }
802
+ ]
803
+ },
804
+ "HassGetCurrentDate": {
805
+ "data": [
825
806
  {
826
807
  "sentences": [
827
- "هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
808
+ "(<what_is>|<tell_me>) [ال]تاريخ اليوم",
809
+ "(<what_is>|<tell_me>) اليوم التاريخ",
810
+ "[ال]تاريخ اليوم <what_is>"
811
+ ]
812
+ }
813
+ ]
814
+ },
815
+ "HassMediaNext": {
816
+ "data": [
817
+ {
818
+ "sentences": [
819
+ "[المسار|العنصر] <next> [على|لـ] <name>",
820
+ "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[على] <name>"
828
821
  ],
829
- "response": "all",
830
- "slots": {
831
- "domain": "cover"
822
+ "requires_context": {
823
+ "domain": "media_player"
832
824
  }
833
825
  },
834
826
  {
835
827
  "sentences": [
836
- "اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
828
+ "[المسار|العنصر] <next>",
829
+ "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>]"
837
830
  ],
838
- "response": "which",
839
- "slots": {
840
- "domain": "cover"
831
+ "requires_context": {
832
+ "area": {
833
+ "slot": true
834
+ }
841
835
  }
842
836
  },
843
837
  {
844
838
  "sentences": [
845
- "(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
846
- ],
847
- "response": "how_many",
848
- "slots": {
849
- "domain": "cover"
850
- }
839
+ "[المسار|العنصر] <next> [في] <area>",
840
+ "تخطي [<this>|إلى] [المسار|الأغنية] [<this>|<next>];[<in>] <area>"
841
+ ]
851
842
  }
852
843
  ]
853
844
  },
854
- "HassVacuumStart": {
845
+ "HassMediaPause": {
855
846
  "data": [
856
847
  {
857
848
  "sentences": [
858
- "<turn_on> <name>"
849
+ "(<pause>;<name>)",
850
+ "(<pause> [ل|لل]<name>)"
859
851
  ],
860
852
  "requires_context": {
861
- "domain": "vacuum"
853
+ "domain": "media_player"
862
854
  }
855
+ },
856
+ {
857
+ "sentences": [
858
+ "<pause> [ل|لل|ال](مسار|أغنية|موسيقى|(عرض|عرضي|عروض) [التلفاز]|[مشغل|مشغلات] الوسائط);[<in>] <area>"
859
+ ]
863
860
  }
864
861
  ]
865
862
  },
866
- "HassRespond": {
863
+ "HassTimerStatus": {
867
864
  "data": [
868
865
  {
869
866
  "sentences": [
870
- "<hello> [<home_assistant>]"
871
- ],
872
- "response": "hello"
873
- },
874
- {
875
- "sentences": [
876
- "هل انت دائما ([ت]تسمع|تسجل)"
877
- ],
878
- "response": "listening"
879
- },
880
- {
881
- "sentences": [
882
- "<where> <go> (بياناتي|معلوماتي) [الخاصه]"
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}"
883
871
  ],
884
- "response": "data"
872
+ "required_keywords": [
873
+ "<timer>",
874
+ "حالة"
875
+ ]
885
876
  },
886
877
  {
887
878
  "sentences": [
888
- "<what_is> <can> (اسال|اقول)"
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}"
889
883
  ],
890
- "response": "commands"
891
- },
884
+ "required_keywords": [
885
+ "<timer>",
886
+ "البقي",
887
+ "الباقي",
888
+ "التبقى",
889
+ "المتبقي",
890
+ "باقي",
891
+ "تبقى",
892
+ "متبقي",
893
+ "بقى",
894
+ "لسه"
895
+ ]
896
+ }
897
+ ]
898
+ },
899
+ "HassGetCurrentTime": {
900
+ "data": [
892
901
  {
893
902
  "sentences": [
894
- "من [الذي[ن]] (صنع[و]ك|صمم[و]ك)"
895
- ],
896
- "response": "creator"
903
+ "(<what_is>|<tell_me>) <time> [هلق|حاليا]",
904
+ "(<what_is>|<tell_me>) [هلق|حاليا] <time>",
905
+ "<time> [هلق|حاليا] (<what_is>|<tell_me>)"
906
+ ]
897
907
  }
898
908
  ]
899
909
  },
@@ -913,16 +923,6 @@
913
923
  }
914
924
  }
915
925
  ]
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,13 +959,18 @@
959
959
  "no_timer_support": "عذرًا، لا يتم دعم المؤقتات على هذا الجهاز"
960
960
  },
961
961
  "intents": {
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"
962
+ "HassMediaNext": {
963
+ "default": "تشغيل التالي"
964
+ },
965
+ "HassRespond": {
966
+ "hello": "مرحبًا",
967
+ "listening": "لا، فقط في حال قلت كلمة التنشيط",
968
+ "data": "بياناتك الخاصة يتم إرسالها فقط إلى خادم البيت الذكي الخاص بك",
969
+ "commands": "لمعرفة ما يمكنك السؤال عنه، قم بزيارة موقعنا الإلكتروني",
970
+ "creator": "لقد تم إنشائي من قبل المجتمع الرائع للبيت الذكي، والذي يتكون من عباقرة في جميع أنحاء العالم"
971
+ },
972
+ "HassIncreaseTimer": {
973
+ "default": "تم تحديث المؤقت"
969
974
  },
970
975
  "HassTurnOff": {
971
976
  "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) }}",
@@ -980,16 +985,6 @@
980
985
  "unlock": "تم الفتح",
981
986
  "valve": "تم الفتح"
982
987
  },
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
- },
993
988
  "HassTurnOn": {
994
989
  "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) }}",
995
990
  "light_all": "تم تشغيل جميع الأضواء",
@@ -1005,64 +1000,69 @@
1005
1000
  "lock": "تم القفل",
1006
1001
  "valve": "تم الفتح"
1007
1002
  },
1008
- "HassMediaPause": {
1009
- "default": "تم الإيقاف مؤقتًا"
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"
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
- "HassPauseTimer": {
1015
- "default": "تم إيقاف المؤقت"
1016
- },
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"
1019
- },
1020
- "HassListAddItem": {
1021
- "item_added": "تم إضافة {{ slots.item }}"
1022
- },
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"
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"
1025
1017
  },
1026
1018
  "HassUnpauseTimer": {
1027
1019
  "default": "تم استئناف المؤقت"
1028
1020
  },
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"
1021
+ "HassMediaPause": {
1022
+ "default": "تم الإيقاف مؤقتًا"
1023
+ },
1024
+ "HassClimateSetTemperature": {
1025
+ "default": "تم ضبط درجة الحرارة"
1026
+ },
1027
+ "HassPauseTimer": {
1028
+ "default": "تم إيقاف المؤقت"
1031
1029
  },
1032
1030
  "HassLightSet": {
1033
1031
  "brightness": "تم ضبط السطوع إلى {{slots.brightness}}",
1034
1032
  "color": "تم ضبط اللون إلى {{slots.color}}"
1035
1033
  },
1034
+ "HassCancelTimer": {
1035
+ "default": "تم إلغاء المؤقت"
1036
+ },
1037
+ "HassListAddItem": {
1038
+ "item_added": "تم إضافة {{ slots.item }}"
1039
+ },
1036
1040
  "HassVacuumStart": {
1037
1041
  "default": "تم التفعيل"
1038
1042
  },
1043
+ "HassDecreaseTimer": {
1044
+ "default": "تم تحديث المؤقت"
1045
+ },
1039
1046
  "HassSetPosition": {
1040
1047
  "default": "تم التحريك"
1041
1048
  },
1042
- "HassMediaNext": {
1043
- "default": "تشغيل التالي"
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"
1044
1051
  },
1045
- "HassCancelTimer": {
1046
- "default": "تم إلغاء المؤقت"
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"
1054
+ },
1055
+ "HassVacuumReturnToBase": {
1056
+ "default": "يتم العودة"
1047
1057
  },
1048
1058
  "HassClimateGetTemperature": {
1049
1059
  "default": "{{ state_attr(state.entity_id, 'current_temperature') }}"
1050
1060
  },
1051
- "HassDecreaseTimer": {
1052
- "default": "تم تحديث المؤقت"
1053
- },
1054
- "HassIncreaseTimer": {
1055
- "default": "تم تحديث المؤقت"
1056
- },
1057
- "HassVacuumReturnToBase": {
1058
- "default": "يتم العودة"
1061
+ "HassShoppingListAddItem": {
1062
+ "item_added": "تم إضافة {{ slots.item }}"
1059
1063
  },
1060
- "HassRespond": {
1061
- "hello": "مرحبًا",
1062
- "listening": "لا، فقط في حال قلت كلمة التنشيط",
1063
- "data": "بياناتك الخاصة يتم إرسالها فقط إلى خادم البيت الذكي الخاص بك",
1064
- "commands": "لمعرفة ما يمكنك السؤال عنه، قم بزيارة موقعنا الإلكتروني",
1065
- "creator": "لقد تم إنشائي من قبل المجتمع الرائع للبيت الذكي، والذي يتكون من عباقرة في جميع أنحاء العالم"
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"
1066
1066
  }
1067
1067
  }
1068
1068
  },