home-assistant-intents 2024.6.5__py3-none-any.whl → 2024.6.21__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/af.json +8 -8
  2. home_assistant_intents/data/ar.json +186 -186
  3. home_assistant_intents/data/bg.json +476 -476
  4. home_assistant_intents/data/bn.json +1 -1
  5. home_assistant_intents/data/ca.json +211 -211
  6. home_assistant_intents/data/cs.json +560 -560
  7. home_assistant_intents/data/da.json +148 -148
  8. home_assistant_intents/data/de-CH.json +258 -258
  9. home_assistant_intents/data/de.json +1081 -1081
  10. home_assistant_intents/data/el.json +199 -177
  11. home_assistant_intents/data/en.json +1511 -1507
  12. home_assistant_intents/data/es.json +1353 -1353
  13. home_assistant_intents/data/eu.json +8 -8
  14. home_assistant_intents/data/fa.json +1 -1
  15. home_assistant_intents/data/fi.json +388 -388
  16. home_assistant_intents/data/fr-CA.json +79 -79
  17. home_assistant_intents/data/fr.json +1763 -1730
  18. home_assistant_intents/data/gl.json +147 -147
  19. home_assistant_intents/data/gu.json +1 -1
  20. home_assistant_intents/data/he.json +117 -117
  21. home_assistant_intents/data/hi.json +1 -1
  22. home_assistant_intents/data/hr.json +241 -241
  23. home_assistant_intents/data/hu.json +1237 -1237
  24. home_assistant_intents/data/id.json +20 -20
  25. home_assistant_intents/data/is.json +167 -167
  26. home_assistant_intents/data/it.json +236 -236
  27. home_assistant_intents/data/ka.json +1 -1
  28. home_assistant_intents/data/kn.json +1 -1
  29. home_assistant_intents/data/ko.json +418 -418
  30. home_assistant_intents/data/lb.json +151 -129
  31. home_assistant_intents/data/lt.json +95 -95
  32. home_assistant_intents/data/lv.json +109 -109
  33. home_assistant_intents/data/ml.json +81 -81
  34. home_assistant_intents/data/mn.json +1 -1
  35. home_assistant_intents/data/ms.json +43 -43
  36. home_assistant_intents/data/nb.json +573 -573
  37. home_assistant_intents/data/nl.json +1468 -1468
  38. home_assistant_intents/data/pl.json +543 -543
  39. home_assistant_intents/data/pt-br.json +175 -175
  40. home_assistant_intents/data/pt.json +177 -177
  41. home_assistant_intents/data/ro.json +586 -586
  42. home_assistant_intents/data/ru.json +1416 -1322
  43. home_assistant_intents/data/sk.json +213 -213
  44. home_assistant_intents/data/sl.json +1342 -1342
  45. home_assistant_intents/data/sr.json +179 -179
  46. home_assistant_intents/data/sv.json +166 -166
  47. home_assistant_intents/data/sw.json +1 -1
  48. home_assistant_intents/data/te.json +1 -1
  49. home_assistant_intents/data/tr.json +27 -27
  50. home_assistant_intents/data/uk.json +254 -254
  51. home_assistant_intents/data/ur.json +90 -90
  52. home_assistant_intents/data/vi.json +944 -944
  53. home_assistant_intents/data/zh-cn.json +229 -229
  54. home_assistant_intents/data/zh-hk.json +127 -127
  55. home_assistant_intents/data/zh-tw.json +369 -369
  56. {home_assistant_intents-2024.6.5.dist-info → home_assistant_intents-2024.6.21.dist-info}/METADATA +1 -1
  57. home_assistant_intents-2024.6.21.dist-info/RECORD +64 -0
  58. {home_assistant_intents-2024.6.5.dist-info → home_assistant_intents-2024.6.21.dist-info}/WHEEL +1 -1
  59. home_assistant_intents-2024.6.5.dist-info/RECORD +0 -64
  60. {home_assistant_intents-2024.6.5.dist-info → home_assistant_intents-2024.6.21.dist-info}/LICENSE.md +0 -0
  61. {home_assistant_intents-2024.6.5.dist-info → home_assistant_intents-2024.6.21.dist-info}/top_level.txt +0 -0
  62. {home_assistant_intents-2024.6.5.dist-info → home_assistant_intents-2024.6.21.dist-info}/zip-safe +0 -0
@@ -11,14 +11,6 @@
11
11
  "handle_error": "'n Onverwagse fout het voorgekom tydens die hanteering van die voorneme'"
12
12
  },
13
13
  "intents": {
14
- "HassGetState": {
15
- "one": "{{ slots.name | capitalize }} is {{ state.state_with_unit }}\n",
16
- "one_yesno": "{% if query.matched %}\n Ja\n{% else %}\n Nee, {{ state.state_with_unit }}\n{% endif %}\n",
17
- "any": "{% if query.matched %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n Ja, {{ match[:3] | join(\", \") }} en nog {{ (match | length - 3) }}\n {%- else -%}\n Ja,\n {% for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} en {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% else %}\n Nee\n{% endif %}\n",
18
- "all": "{% if not query.unmatched: %}\n Ja\n{% else %}\n {% set no_match = query.unmatched | map(attribute=\"name\") | sort | list %}\n {% if no_match | length > 4 %}\n Nee, {{ no_match[:3] | join(\", \") }} en nog {{ (no_match | length - 3) }} nie\n {%- else -%}\n Nee,\n {% for name in no_match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} en {% endif -%}\n {{ name }}\n {%- endfor\n %} not\n {% endif %}\n{% endif %}\n",
19
- "which": "{% if not query.matched %}\n Not any\n{% else: %}\n {% set match\n = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n {{ match[:3] | join(\", \") }} en nog {{ (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 %} en {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n\n {% endif %}\n",
20
- "how_many": "{{ query.matched | length }}\n"
21
- },
22
14
  "HassTurnOff": {
23
15
  "default": "{{ state.domain }} afgeskakel",
24
16
  "lights_area": "Ligte afgeskakel",
@@ -39,6 +31,14 @@
39
31
  "script": "Begin",
40
32
  "lock": "Gesluit"
41
33
  },
34
+ "HassGetState": {
35
+ "one": "{{ slots.name | capitalize }} is {{ state.state_with_unit }}\n",
36
+ "one_yesno": "{% if query.matched %}\n Ja\n{% else %}\n Nee, {{ state.state_with_unit }}\n{% endif %}\n",
37
+ "any": "{% if query.matched %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n Ja, {{ match[:3] | join(\", \") }} en nog {{ (match | length - 3) }}\n {%- else -%}\n Ja,\n {% for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} en {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% else %}\n Nee\n{% endif %}\n",
38
+ "all": "{% if not query.unmatched: %}\n Ja\n{% else %}\n {% set no_match = query.unmatched | map(attribute=\"name\") | sort | list %}\n {% if no_match | length > 4 %}\n Nee, {{ no_match[:3] | join(\", \") }} en nog {{ (no_match | length - 3) }} nie\n {%- else -%}\n Nee,\n {% for name in no_match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} en {% endif -%}\n {{ name }}\n {%- endfor\n %} not\n {% endif %}\n{% endif %}\n",
39
+ "which": "{% if not query.matched %}\n Not any\n{% else: %}\n {% set match\n = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n {{ match[:3] | join(\", \") }} en nog {{ (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 %} en {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n\n {% endif %}\n",
40
+ "how_many": "{{ query.matched | length }}\n"
41
+ },
42
42
  "HassLightSet": {
43
43
  "brightness": "Helderheid gestel",
44
44
  "color": "Kleur gestel"
@@ -5,156 +5,210 @@
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
- ]
10
+ "requires_context": {
11
+ "domain": "cover"
19
12
  },
20
- "response": "default"
13
+ "response": "cover"
21
14
  },
22
15
  {
23
16
  "sentences": [
24
- "<turn_off> [<all>] <light> [<in>] <area>"
17
+ "<close> باب الجراج"
25
18
  ],
26
19
  "slots": {
27
- "domain": "light",
28
- "name": "all"
20
+ "domain": "cover",
21
+ "device_class": "garage"
29
22
  },
30
- "response": "lights_area"
23
+ "response": "cover_device_class"
31
24
  },
32
25
  {
33
26
  "sentences": [
34
- "<turn_off> [<all>] <light>"
27
+ "<close> {cover_classes:device_class} [<in>] <area>"
35
28
  ],
36
29
  "slots": {
37
- "domain": "light",
38
- "name": "all"
30
+ "domain": "cover"
39
31
  },
40
- "response": "light_all"
32
+ "response": "cover_device_class"
41
33
  },
42
34
  {
43
35
  "sentences": [
44
- "<close> <name> [<in> <area>]"
36
+ "<open> <name> [<in> <area>]"
45
37
  ],
46
38
  "requires_context": {
47
- "domain": "cover"
39
+ "domain": "lock"
48
40
  },
49
- "response": "cover"
41
+ "response": "unlock"
50
42
  },
51
43
  {
52
44
  "sentences": [
53
- "<close> باب الجراج"
45
+ "<open> [<all>] <lock> [<in>] <area>"
54
46
  ],
55
47
  "slots": {
56
- "domain": "cover",
57
- "device_class": "garage"
48
+ "domain": "lock",
49
+ "name": "all"
58
50
  },
59
- "response": "cover_device_class"
51
+ "response": "unlock"
60
52
  },
61
53
  {
62
54
  "sentences": [
63
- "<close> {cover_classes:device_class} [<in>] <area>"
55
+ "<turn_off> [<all>] <light> [<in>] <area>"
64
56
  ],
65
57
  "slots": {
66
- "domain": "cover"
58
+ "domain": "light",
59
+ "name": "all"
67
60
  },
68
- "response": "cover_device_class"
61
+ "response": "lights_area"
69
62
  },
70
63
  {
71
64
  "sentences": [
72
- "<turn_off> [<all>] <fan> [<in>] <area>"
65
+ "<turn_off> [<all>] <light>"
73
66
  ],
74
67
  "slots": {
75
- "domain": "fan",
68
+ "domain": "light",
76
69
  "name": "all"
77
70
  },
78
- "response": "fans_area"
71
+ "response": "light_all"
79
72
  },
80
73
  {
81
74
  "sentences": [
82
- "<turn_off> [<all>] <fan>"
75
+ "<turn_off> [<light> | <switch>] <name>"
83
76
  ],
84
- "slots": {
85
- "domain": "fan",
86
- "name": "all"
77
+ "excludes_context": {
78
+ "domain": [
79
+ "binary_sensor",
80
+ "cover",
81
+ "lock",
82
+ "scene",
83
+ "script",
84
+ "sensor"
85
+ ]
87
86
  },
88
- "response": "fan_all"
87
+ "response": "default"
89
88
  },
90
89
  {
91
90
  "sentences": [
92
- "<open> <name> [<in> <area>]"
91
+ "<turn_off> [<all>] <fan> [<in>] <area>"
93
92
  ],
94
- "requires_context": {
95
- "domain": "lock"
93
+ "slots": {
94
+ "domain": "fan",
95
+ "name": "all"
96
96
  },
97
- "response": "unlock"
97
+ "response": "fans_area"
98
98
  },
99
99
  {
100
100
  "sentences": [
101
- "<open> [<all>] <lock> [<in>] <area>"
101
+ "<turn_off> [<all>] <fan>"
102
102
  ],
103
103
  "slots": {
104
- "domain": "lock",
104
+ "domain": "fan",
105
105
  "name": "all"
106
106
  },
107
- "response": "unlock"
107
+ "response": "fan_all"
108
108
  }
109
109
  ]
110
110
  },
111
- "HassTurnOn": {
111
+ "HassGetState": {
112
112
  "data": [
113
113
  {
114
114
  "sentences": [
115
- "<turn_on> [<all>] <light> [<in>] <area>"
115
+ "<what_is> [حالة] <name> [<in> <area>]"
116
116
  ],
117
- "slots": {
118
- "domain": "light",
119
- "name": "all"
117
+ "excludes_context": {
118
+ "domain": [
119
+ "scene",
120
+ "script"
121
+ ]
120
122
  },
121
- "response": "lights_area"
123
+ "response": "one"
122
124
  },
123
125
  {
124
126
  "sentences": [
125
- "<turn_on> [<all>] <fan> [<in>] <area>"
127
+ "<is_it> <name> [<in> <area>] {on_off_states:state}"
126
128
  ],
127
- "slots": {
128
- "domain": "fan",
129
- "name": "all"
129
+ "excludes_context": {
130
+ "domain": [
131
+ "cover"
132
+ ]
130
133
  },
131
- "response": "fans_area"
134
+ "response": "one_yesno"
132
135
  },
133
136
  {
134
137
  "sentences": [
135
- "[<turn_on>] [<script>] <name>",
136
- "[<script>] <name> <turn_on>"
138
+ "<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
139
+ ],
140
+ "response": "any"
141
+ },
142
+ {
143
+ "sentences": [
144
+ "<is_it> <all> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
145
+ ],
146
+ "response": "all"
147
+ },
148
+ {
149
+ "sentences": [
150
+ "<what_is> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
151
+ ],
152
+ "response": "which"
153
+ },
154
+ {
155
+ "sentences": [
156
+ "<how_many> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
157
+ ],
158
+ "response": "how_many"
159
+ },
160
+ {
161
+ "sentences": [
162
+ "هل <name> {cover_states:state} [<in> <area>]"
137
163
  ],
164
+ "response": "one_yesno",
138
165
  "requires_context": {
139
- "domain": "script"
166
+ "domain": "cover"
140
167
  },
141
168
  "slots": {
142
- "domain": "script"
143
- },
144
- "response": "script"
169
+ "domain": "cover"
170
+ }
145
171
  },
146
172
  {
147
173
  "sentences": [
148
- "[<turn_on>] [<scene>] <name>"
174
+ "هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
149
175
  ],
150
- "requires_context": {
151
- "domain": "scene"
152
- },
176
+ "response": "any",
153
177
  "slots": {
154
- "domain": "scene"
155
- },
156
- "response": "scene"
178
+ "domain": "cover"
179
+ }
180
+ },
181
+ {
182
+ "sentences": [
183
+ "هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
184
+ ],
185
+ "response": "all",
186
+ "slots": {
187
+ "domain": "cover"
188
+ }
157
189
  },
190
+ {
191
+ "sentences": [
192
+ "اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
193
+ ],
194
+ "response": "which",
195
+ "slots": {
196
+ "domain": "cover"
197
+ }
198
+ },
199
+ {
200
+ "sentences": [
201
+ "(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
202
+ ],
203
+ "response": "how_many",
204
+ "slots": {
205
+ "domain": "cover"
206
+ }
207
+ }
208
+ ]
209
+ },
210
+ "HassTurnOn": {
211
+ "data": [
158
212
  {
159
213
  "sentences": [
160
214
  "<close> <name> [<in> <area>]"
@@ -176,19 +230,13 @@
176
230
  },
177
231
  {
178
232
  "sentences": [
179
- "<turn_on> [<light> | <switch>] <name>"
233
+ "<turn_on> [<all>] <fan> [<in>] <area>"
180
234
  ],
181
- "excludes_context": {
182
- "domain": [
183
- "binary_sensor",
184
- "cover",
185
- "lock",
186
- "scene",
187
- "script",
188
- "sensor"
189
- ]
235
+ "slots": {
236
+ "domain": "fan",
237
+ "name": "all"
190
238
  },
191
- "response": "default"
239
+ "response": "fans_area"
192
240
  },
193
241
  {
194
242
  "sentences": [
@@ -217,6 +265,57 @@
217
265
  "domain": "cover"
218
266
  },
219
267
  "response": "cover_device_class"
268
+ },
269
+ {
270
+ "sentences": [
271
+ "[<turn_on>] [<script>] <name>",
272
+ "[<script>] <name> <turn_on>"
273
+ ],
274
+ "requires_context": {
275
+ "domain": "script"
276
+ },
277
+ "slots": {
278
+ "domain": "script"
279
+ },
280
+ "response": "script"
281
+ },
282
+ {
283
+ "sentences": [
284
+ "[<turn_on>] [<scene>] <name>"
285
+ ],
286
+ "requires_context": {
287
+ "domain": "scene"
288
+ },
289
+ "slots": {
290
+ "domain": "scene"
291
+ },
292
+ "response": "scene"
293
+ },
294
+ {
295
+ "sentences": [
296
+ "<turn_on> [<light> | <switch>] <name>"
297
+ ],
298
+ "excludes_context": {
299
+ "domain": [
300
+ "binary_sensor",
301
+ "cover",
302
+ "lock",
303
+ "scene",
304
+ "script",
305
+ "sensor"
306
+ ]
307
+ },
308
+ "response": "default"
309
+ },
310
+ {
311
+ "sentences": [
312
+ "<turn_on> [<all>] <light> [<in>] <area>"
313
+ ],
314
+ "slots": {
315
+ "domain": "light",
316
+ "name": "all"
317
+ },
318
+ "response": "lights_area"
220
319
  }
221
320
  ]
222
321
  },
@@ -347,105 +446,6 @@
347
446
  ]
348
447
  }
349
448
  ]
350
- },
351
- "HassGetState": {
352
- "data": [
353
- {
354
- "sentences": [
355
- "<what_is> [حالة] <name> [<in> <area>]"
356
- ],
357
- "excludes_context": {
358
- "domain": [
359
- "scene",
360
- "script"
361
- ]
362
- },
363
- "response": "one"
364
- },
365
- {
366
- "sentences": [
367
- "<is_it> <name> [<in> <area>] {on_off_states:state}"
368
- ],
369
- "excludes_context": {
370
- "domain": [
371
- "cover"
372
- ]
373
- },
374
- "response": "one_yesno"
375
- },
376
- {
377
- "sentences": [
378
- "<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
379
- ],
380
- "response": "any"
381
- },
382
- {
383
- "sentences": [
384
- "<is_it> <all> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
385
- ],
386
- "response": "all"
387
- },
388
- {
389
- "sentences": [
390
- "<what_is> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
391
- ],
392
- "response": "which"
393
- },
394
- {
395
- "sentences": [
396
- "<how_many> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
397
- ],
398
- "response": "how_many"
399
- },
400
- {
401
- "sentences": [
402
- "هل <name> {cover_states:state} [<in> <area>]"
403
- ],
404
- "response": "one_yesno",
405
- "requires_context": {
406
- "domain": "cover"
407
- },
408
- "slots": {
409
- "domain": "cover"
410
- }
411
- },
412
- {
413
- "sentences": [
414
- "هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
415
- ],
416
- "response": "any",
417
- "slots": {
418
- "domain": "cover"
419
- }
420
- },
421
- {
422
- "sentences": [
423
- "هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
424
- ],
425
- "response": "all",
426
- "slots": {
427
- "domain": "cover"
428
- }
429
- },
430
- {
431
- "sentences": [
432
- "اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
433
- ],
434
- "response": "which",
435
- "slots": {
436
- "domain": "cover"
437
- }
438
- },
439
- {
440
- "sentences": [
441
- "(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
442
- ],
443
- "response": "how_many",
444
- "slots": {
445
- "domain": "cover"
446
- }
447
- }
448
- ]
449
449
  }
450
450
  },
451
451
  "responses": {
@@ -458,14 +458,6 @@
458
458
  "handle_error": "حدث خطأ أثناء معالجة النص"
459
459
  },
460
460
  "intents": {
461
- "HassGetState": {
462
- "one": "حالة {{ slots.name }} هي {{ state.state_with_unit }}\n",
463
- "one_yesno": "{% if query.matched %}\n اجل\n{% else %}\n لا, {{ state.state_with_unit }}\n{% endif %}\n",
464
- "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",
465
- "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",
466
- "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",
467
- "how_many": "{{ query.matched | length }}\n"
468
- },
469
461
  "HassTurnOff": {
470
462
  "default": "تم اطفاء {{state.domain}}",
471
463
  "lights_area": "تم اطفاء الاضواء",
@@ -486,6 +478,14 @@
486
478
  "script": "تم البدء",
487
479
  "lock": "تم القفل"
488
480
  },
481
+ "HassGetState": {
482
+ "one": "حالة {{ slots.name }} هي {{ state.state_with_unit }}\n",
483
+ "one_yesno": "{% if query.matched %}\n اجل\n{% else %}\n لا, {{ state.state_with_unit }}\n{% endif %}\n",
484
+ "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",
485
+ "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",
486
+ "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",
487
+ "how_many": "{{ query.matched | length }}\n"
488
+ },
489
489
  "HassLightSet": {
490
490
  "brightness": "تم ضبط السطوع إلى {{slots.brightness}}",
491
491
  "color": "تم ضبط اللون إلى {{slots.color}}"