home-assistant-intents 2023.11.29__py3-none-any.whl → 2024.1.2__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 (65) hide show
  1. home_assistant_intents/data/climate/de-CH.json +2 -2
  2. home_assistant_intents/data/climate/en.json +12 -5
  3. home_assistant_intents/data/climate/es.json +7 -5
  4. home_assistant_intents/data/climate/fr.json +2 -2
  5. home_assistant_intents/data/climate/gl.json +1 -1
  6. home_assistant_intents/data/climate/he.json +1 -1
  7. home_assistant_intents/data/climate/pt.json +1 -1
  8. home_assistant_intents/data/climate/ro.json +1 -1
  9. home_assistant_intents/data/climate/ru.json +6 -1
  10. home_assistant_intents/data/climate/sl.json +2 -4
  11. home_assistant_intents/data/homeassistant/cs.json +4 -2
  12. home_assistant_intents/data/homeassistant/de-CH.json +14 -2
  13. home_assistant_intents/data/homeassistant/de.json +19 -4
  14. home_assistant_intents/data/homeassistant/en.json +11 -11
  15. home_assistant_intents/data/homeassistant/es.json +1 -1
  16. home_assistant_intents/data/homeassistant/et.json +2 -2
  17. home_assistant_intents/data/homeassistant/fr.json +843 -322
  18. home_assistant_intents/data/homeassistant/gl.json +128 -9
  19. home_assistant_intents/data/homeassistant/nb.json +50 -2
  20. home_assistant_intents/data/homeassistant/nl.json +48 -0
  21. home_assistant_intents/data/homeassistant/pl.json +10 -0
  22. home_assistant_intents/data/homeassistant/pt.json +12 -11
  23. home_assistant_intents/data/homeassistant/ro.json +6 -2
  24. home_assistant_intents/data/homeassistant/ru.json +881 -11
  25. home_assistant_intents/data/homeassistant/sk.json +13 -0
  26. home_assistant_intents/data/homeassistant/sl.json +1355 -116
  27. home_assistant_intents/data/homeassistant/uk.json +27 -1
  28. home_assistant_intents/data/light/en.json +3 -2
  29. home_assistant_intents/data/light/fr.json +32 -31
  30. home_assistant_intents/data/light/gl.json +6 -6
  31. home_assistant_intents/data/light/sl.json +39 -18
  32. home_assistant_intents/data/shopping_list/de-CH.json +2 -2
  33. home_assistant_intents/data/shopping_list/gl.json +27 -0
  34. home_assistant_intents/data/shopping_list/nl.json +1 -1
  35. home_assistant_intents/data/shopping_list/pt.json +4 -6
  36. home_assistant_intents/data/todo/de-CH.json +29 -0
  37. home_assistant_intents/data/todo/el.json +29 -0
  38. home_assistant_intents/data/todo/fr.json +10 -2
  39. home_assistant_intents/data/todo/gl.json +30 -0
  40. home_assistant_intents/data/todo/nb.json +29 -0
  41. home_assistant_intents/data/todo/nl.json +1 -1
  42. home_assistant_intents/data/todo/pt.json +30 -0
  43. home_assistant_intents/data/todo/ru.json +29 -0
  44. home_assistant_intents/data/todo/sk.json +29 -0
  45. home_assistant_intents/data/todo/sl.json +2 -1
  46. home_assistant_intents/data/todo/uk.json +30 -0
  47. home_assistant_intents/data/weather/de-CH.json +31 -0
  48. home_assistant_intents/data/weather/el.json +33 -0
  49. home_assistant_intents/data/weather/es.json +6 -1
  50. home_assistant_intents/data/weather/fr.json +10 -3
  51. home_assistant_intents/data/weather/gl.json +29 -0
  52. home_assistant_intents/data/weather/nb.json +29 -0
  53. home_assistant_intents/data/weather/nl.json +8 -2
  54. home_assistant_intents/data/weather/pt.json +29 -0
  55. home_assistant_intents/data/weather/ro.json +8 -1
  56. home_assistant_intents/data/weather/ru.json +29 -0
  57. home_assistant_intents/data/weather/sk.json +30 -0
  58. home_assistant_intents/data/weather/uk.json +29 -0
  59. home_assistant_intents/domains.py +36 -2
  60. {home_assistant_intents-2023.11.29.dist-info → home_assistant_intents-2024.1.2.dist-info}/METADATA +1 -1
  61. {home_assistant_intents-2023.11.29.dist-info → home_assistant_intents-2024.1.2.dist-info}/RECORD +65 -48
  62. {home_assistant_intents-2023.11.29.dist-info → home_assistant_intents-2024.1.2.dist-info}/LICENSE.md +0 -0
  63. {home_assistant_intents-2023.11.29.dist-info → home_assistant_intents-2024.1.2.dist-info}/WHEEL +0 -0
  64. {home_assistant_intents-2023.11.29.dist-info → home_assistant_intents-2024.1.2.dist-info}/top_level.txt +0 -0
  65. {home_assistant_intents-2023.11.29.dist-info → home_assistant_intents-2024.1.2.dist-info}/zip-safe +0 -0
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "sentences": [
13
- "Wie (warm|chaut|chalt) (isch es|isch's|isch) <area>",
13
+ "Wie (warm|chaut|chalt) (isch es|isch's|ischs|isch) <area>",
14
14
  "Weli Temperatur (isch es|isch's|isch|het|het ds|het's) <area>",
15
- "Wie höch isch d Temperatur <area>"
15
+ "Wie (hoch|höch) isch d Temperatur <area>"
16
16
  ],
17
17
  "response": "temp_area"
18
18
  }
@@ -5,14 +5,21 @@
5
5
  "data": [
6
6
  {
7
7
  "sentences": [
8
- "<what_is> [the] <temp> [in <area>]",
8
+ "<what_is> [the][ current] <temp> [in <area>]",
9
9
  "how (hot | cold | warm | cool) is it [in <area>]",
10
10
  "is it (hot | cold | warm | cool) [in <area>]",
11
- "<what_is> <area> <temp>",
12
- "<what_is> <name> <temp>",
13
- "<what_is>[ the] <temp>[ of] <name>",
14
- "how (hot | cold | warm | cool) is <name>"
11
+ "<what_is> <area>[ current] <temp>"
15
12
  ]
13
+ },
14
+ {
15
+ "sentences": [
16
+ "<what_is> <name>[ current] <temp>",
17
+ "<what_is>[ the][ current] <temp>[ of] <name>",
18
+ "how (hot | cold | warm | cool) is <name>"
19
+ ],
20
+ "requires_context": {
21
+ "domain": "climate"
22
+ }
16
23
  }
17
24
  ]
18
25
  }
@@ -5,10 +5,12 @@
5
5
  "data": [
6
6
  {
7
7
  "sentences": [
8
- "cuál es <temp>",
9
- "[a] (cuánta|cuánto|cuántos|qué) <temp> (hace|hay|estamos)",
10
- "cuál es <temp> <area>",
11
- "[a] (cuánta|cuánto|cuántos|qué) <temp> (hace|hacen|hay|está|están|estamos) <area>"
8
+ "cuál es <temp> [<ahora>]",
9
+ "[a] (cuánta|cuánto|cuántos|qué) <temp> (hace|hay|estamos) [<ahora>]",
10
+ "cuál es <temp> ([<ahora>] <area>|<area> <ahora>)",
11
+ "[a] (cuánta|cuánto|cuántos|qué) <temp> (hace|hacen|hay|está|están|estamos) ([<ahora>] <area>|<area> <ahora>)",
12
+ "cuál es <temp> ([<ahora>] de[l] <name>|de[l] <name> <ahora>)",
13
+ "[a] (cuánta|cuánto|cuántos|qué) <temp> está ([<ahora>] <name>|<name> <ahora>)"
12
14
  ]
13
15
  }
14
16
  ]
@@ -17,7 +19,7 @@
17
19
  "responses": {
18
20
  "intents": {
19
21
  "HassClimateGetTemperature": {
20
- "default": "{{ state.state | float | abs | round(2) }} {{ 'grado' if state.state | float | abs == 1 else 'grados' }} {{ 'bajo cero' if state.state | float < 0 else '' }}"
22
+ "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {{ temperature | float | abs | round(1) | replace('.0', '') | replace('.',',') }} {{ 'grado' if temperature | float | abs == 1 else 'grados' }} {{ 'bajo cero' if temperature | float < 0 else '' }}\n"
21
23
  }
22
24
  }
23
25
  }
@@ -5,8 +5,8 @@
5
5
  "data": [
6
6
  {
7
7
  "sentences": [
8
- "Quelle est la température [<dans> <area>]",
9
- "Combien fait-il [<dans> <area>]"
8
+ "Quelle est la température [<dans>] [[<le>]{area}]",
9
+ "Combien fait-il [<dans>] [[<le>]{area}]"
10
10
  ]
11
11
  }
12
12
  ]
@@ -19,7 +19,7 @@
19
19
  "responses": {
20
20
  "intents": {
21
21
  "HassClimateGetTemperature": {
22
- "default": "{{ state.state }} graos"
22
+ "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {{ temperature | float | abs | round(1) | replace('.0', '') | replace('.',',') }} {{ 'grao' if temperature | float | abs == 1 else 'graos' }} {{ 'baixo cero' if temperature | float < 0 else '' }}\n"
23
23
  }
24
24
  }
25
25
  }
@@ -16,7 +16,7 @@
16
16
  "responses": {
17
17
  "intents": {
18
18
  "HassClimateGetTemperature": {
19
- "default": "{{ state.state }} מעלות"
19
+ "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if slots.area: %} ב{{ slots.area }} {{ state_attr(state.entity_id, 'current_temperature') }} מעלות {% else: %} הטמפרטורה היא {{ state_attr(state.entity_id, 'current_temperature') }} מעלות {% endif %}\n"
20
20
  }
21
21
  }
22
22
  }
@@ -5,7 +5,7 @@
5
5
  "data": [
6
6
  {
7
7
  "sentences": [
8
- "<qual> [a] temperatura",
8
+ "<qual> [a] temperatura [(do|da) {name}]",
9
9
  "<qual> a temperatura <na_zona>",
10
10
  "a que temperatura está <zona>"
11
11
  ]
@@ -37,7 +37,7 @@
37
37
  "responses": {
38
38
  "intents": {
39
39
  "HassClimateGetTemperature": {
40
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% if temperature | float | abs == 1 %}\n{{ temperature }} grad\n{% elif temperature == 0 or temperature | float % 1 != 0 or temperature | float % 100 | abs < 20 %}\n{{ temperature }} grade\n{% else %}\n{{ temperature }} de grade\n{% endif %}\n"
40
+ "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature_ro = (temperature|string).replace(\".\", \",\") %}\n{% set temperature_num = temperature | float %}\n{% if temperature_num | abs == 1 %}\n{{ temperature_ro }} grad\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or temperature_num % 100 | abs < 20 %}\n{{ temperature_ro }} grade\n{% else %}\n{{ temperature_ro }} de grade\n{% endif %}\n"
41
41
  }
42
42
  }
43
43
  }
@@ -8,7 +8,12 @@
8
8
  "[Какая|сколько] <temp>",
9
9
  "[Какая|сколько] <temp> <area> [[на] <name>[е|ы|а]]",
10
10
  "[Какая|сколько] <temp> [на] <name>[е|ы|а] [<area>]"
11
- ]
11
+ ],
12
+ "excludes_context": {
13
+ "domain": [
14
+ "sensor"
15
+ ]
16
+ }
12
17
  }
13
18
  ]
14
19
  }
@@ -10,9 +10,7 @@
10
10
  "<temp> <area>",
11
11
  "koliko stopinj je [[v|na] <area>]",
12
12
  "povej mi <temp> [[v|na] <area>]",
13
- "kakšna je [<area>] temperatura",
14
- "kakšna je [<area>] <temp>",
15
- "na koliko [stopinj] je [nastavljena] <temp> [[v|na] <area>]"
13
+ "na koliko [stopinj] je [nastavljen[a]] <temp> [[v|na] <area>]"
16
14
  ]
17
15
  }
18
16
  ]
@@ -21,7 +19,7 @@
21
19
  "responses": {
22
20
  "intents": {
23
21
  "HassClimateGetTemperature": {
24
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature_abs = temperature | float | abs %}\n\n{% if temperature_abs == 1 %}\n {{ temperature }} stopinja\n{% elif temperature == 0 or temperature | float % 1 != 0 or temperature | float % 100 | abs < 20 %}\n {{ temperature }} stopinje\n{% else %}\n {{ temperature }} stopinj\n {% if temperature | float % 1 != 0 %}\n {% set decimal_part = temperature | string | regex_replace('\\d+\\.', '') %}\n {% if decimal_part != '1' %}\n cela {{ decimal_part }} stopinje\n {% else %}\n cela {{ decimal_part }} stopinja\n {% endif %}\n {% endif %}\n{% endif %}\n"
22
+ "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature_abs = temperature | float | abs %}\n\n{% if temperature_abs == 1 %}\n {{ temperature }} stopinja\n{% elif temperature == 0 or temperature | float % 1 != 0 or temperature | float % 100 | abs < 20 %}\n {{ temperature }} stopinje\n{% else %}\n {{ temperature }} stopinj\n {% if temperature | float % 1 != 0 %}\n {% set decimal_part = temperature | string | regex_replace('\\\\d+\\\\.', '') %}\n {% if decimal_part != '1' %}\n cela {{ decimal_part }} stopinje\n {% else %}\n cela {{ decimal_part }} stopinja\n {% endif %}\n {% endif %}\n{% endif %}\n"
25
23
  }
26
24
  }
27
25
  }
@@ -31,7 +31,8 @@
31
31
  },
32
32
  {
33
33
  "sentences": [
34
- "(<vypnout>|<zhasnout>) [všechna] světla <area>",
34
+ "<vypnout> [všechna] světla <area>",
35
+ "<zhasnout> [všechna] [světla] <area>",
35
36
  "<area> (<vypnout>|<zhasnout>) [všechna] světla"
36
37
  ],
37
38
  "slots": {
@@ -142,7 +143,8 @@
142
143
  },
143
144
  {
144
145
  "sentences": [
145
- "(<zapnout>|<rozsvitit>) [všechna] [světla] <area>",
146
+ "<zapnout> [všechna] světla <area>",
147
+ "<rozsvitit> [všechna] [světla] <area>",
146
148
  "<area> (<zapnout>|<rozsvitit>) [všechna] světla"
147
149
  ],
148
150
  "slots": {
@@ -219,6 +219,18 @@
219
219
  }
220
220
  ]
221
221
  },
222
+ "HassNevermind": {
223
+ "data": [
224
+ {
225
+ "sentences": [
226
+ "Vergis[s] es",
227
+ "Isch guet",
228
+ "Fertig",
229
+ "[es] het sech erledig[e]t"
230
+ ]
231
+ }
232
+ ]
233
+ },
222
234
  "HassGetState": {
223
235
  "data": [
224
236
  {
@@ -426,7 +438,7 @@
426
438
  "no_domain": "Im Bereich {{area}} git's kes Grät vor Kategorie {{domain}}",
427
439
  "no_device_class": "Im Bereich {{area}} het's kes Grät vor Klass {{device_class}}",
428
440
  "no_entity": "Ds Grät {{entity}} gids nid",
429
- "handle_error": "Es isch en unerwartete Fähler ufträte bi de Verarbeitig vom Befäu."
441
+ "handle_error": "Es isch en unerwartete Fähler ufträte bi der Verarbeitig vom Befäu."
430
442
  },
431
443
  "intents": {
432
444
  "HassGetState": {
@@ -640,7 +652,7 @@
640
652
  }
641
653
  ]
642
654
  },
643
- "shopping_list_item": {
655
+ "list_item": {
644
656
  "wildcard": true
645
657
  }
646
658
  },
@@ -230,6 +230,20 @@
230
230
  },
231
231
  "response": "scene"
232
232
  },
233
+ {
234
+ "sentences": [
235
+ "[<szene>] <name> <area> [<aktivieren>|<ausfuehren>|<an>]",
236
+ "<name> <szene> <area> (<aktivieren>|<ausfuehren>|<an>)",
237
+ "führe [<szene>] <name> <area> aus",
238
+ "führe <name> <szene> <area> aus",
239
+ "<aktivieren> [<szene>] <name> <area>",
240
+ "<aktivieren> <name> <szene> <area>"
241
+ ],
242
+ "slots": {
243
+ "domain": "scene"
244
+ },
245
+ "response": "scene"
246
+ },
233
247
  {
234
248
  "sentences": [
235
249
  "(<sperren>|<machen>) <name> [<area>] [zu|ab]",
@@ -332,7 +346,8 @@
332
346
  "vergiss es",
333
347
  "egal",
334
348
  "abbrechen",
335
- "Abbruch"
349
+ "Abbruch",
350
+ "nichts"
336
351
  ]
337
352
  }
338
353
  ]
@@ -1277,8 +1292,8 @@
1277
1292
  "alle": "((alle|sämtliche)[r]|jede[r|s|n]|<artikel> (ganze|komplette|sämtliche)[n]) [der]",
1278
1293
  "schliessen": "(schlie(ß|ss)[e|en]|zumachen|zu machen)",
1279
1294
  "öffnen": "(öffne[n]|aufmachen|auf machen)",
1280
- "schalten": "(schalt[e|en])",
1281
- "machen": "(mach[e|en])",
1295
+ "schalten": "(schalt[e|en|et])",
1296
+ "machen": "(mach[e|en|t])",
1282
1297
  "setzen": "(setz[e|en]|stell[e|en]|einstellen|änder[e|n]|veränder[e|n])",
1283
1298
  "abdeckung": "<artikel> (Rollo[s]|Abdeckung[en]|Rolll(a|ä)den|Jalousie[n]|Raffstore[s]|Markise[n]|Vorh(a|ä)ng[e])",
1284
1299
  "alle_abdeckungen": "<alle> (Rollos|Abdeckungen|Rolll(a|ä)den|Jalousien|Raffstores|Markisen|Vorhänge)",
@@ -1289,7 +1304,7 @@
1289
1304
  "luefter": "<artikel> (Ventilator[en]|Lüfter)",
1290
1305
  "alle_luefter": "<alle> (Ventilatoren|Lüfter)",
1291
1306
  "brightness": "{brightness} [Prozent|%]",
1292
- "temperature": "{temperature} [Grad] [{temperature_unit}]",
1307
+ "temperature": "{temperature}[ ][°|Grad][ ][{temperature_unit}]",
1293
1308
  "licht": "<artikel> (Licht|Lampe|Beleuchtung)",
1294
1309
  "lichter": "[die|der|von den] (Lichter|Lichtern|Lampen|Leuchten|Beleuchtungen)",
1295
1310
  "alle_lichter": "(<alle> (<lichter>|Beleuchtung)|von allen [Lichtern|Lampen|Leuchten|Beleuchtungen])",
@@ -2578,21 +2578,21 @@
2578
2578
  "where": "{% if state == \"not_home\" %}\n {{ slots.name | capitalize }} is away\n{% else %}\n {{ slots.name | capitalize }} is at {{ state.state }}\n{% endif %}\n"
2579
2579
  },
2580
2580
  "HassTurnOff": {
2581
- "default": "Turned off {{ state.domain }}",
2582
- "lights_area": "Turned off lights",
2583
- "fans_area": "Turned off fans",
2581
+ "default": "Turned off the {{ state.domain }}",
2582
+ "lights_area": "Turned off the lights",
2583
+ "fans_area": "Turned off the fans",
2584
2584
  "cover": "Closed",
2585
- "light_all": "Turned off all lights",
2586
- "fan_all": "Turned off all fans",
2587
- "cover_device_class": "Closed {{ slots.device_class }}",
2585
+ "light_all": "Turned off all of the lights",
2586
+ "fan_all": "Turned off all of the fans",
2587
+ "cover_device_class": "Closed the {{ slots.device_class }}",
2588
2588
  "lock": "Unlocked"
2589
2589
  },
2590
2590
  "HassTurnOn": {
2591
- "default": "Turned on {{ state.domain }}",
2592
- "lights_area": "Turned on lights",
2593
- "fans_area": "Turned on fans",
2591
+ "default": "Turned on the {{ state.domain }}",
2592
+ "lights_area": "Turned on the lights",
2593
+ "fans_area": "Turned on the fans",
2594
2594
  "cover": "Opened",
2595
- "cover_device_class": "Opened {{ slots.device_class }}",
2595
+ "cover_device_class": "Opened the {{ slots.device_class }}",
2596
2596
  "scene": "Activated",
2597
2597
  "script": "Started",
2598
2598
  "lock": "Locked"
@@ -3100,7 +3100,7 @@
3100
3100
  "close": "(close|shut|lower)",
3101
3101
  "set": "(set|make|change|turn)",
3102
3102
  "numeric_value_set": "(set|change|turn|increase|decrease|make)",
3103
- "in": "(in|on|at)",
3103
+ "in": "(in|on|at|of)",
3104
3104
  "what_is_the_class_of_name": "(<what_is> the <class> (of|in|from|(indicated|measured) by) <name> [in <area>]|<what_is> <name>['s] <class> [in <area>]|<what_is> <area> <name>['s] <class>)"
3105
3105
  },
3106
3106
  "skip_words": [
@@ -3200,7 +3200,7 @@
3200
3200
  },
3201
3201
  "expansion_rules": {
3202
3202
  "abre": "(abr(a|e|ir|í)|sub(a|e|ir|í))",
3203
- "ahora": "[ahora [mismo]|actualmente|en este momento]",
3203
+ "ahora": "[ahora [mismo]|actual[mente]|en este momento]",
3204
3204
  "añadir": "(añad(a|e|ir|í)|apunt[a|e|ar|á]|pon[ga|er|é])",
3205
3205
  "apaga": "(apag(a|ue|ar|á)|desconect(a|e|ar|á)|desactiv(a|e|ar|á))",
3206
3206
  "area": "[en|del|de] [el|la] {area}",
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "intents": {
33
33
  "HassTurnOff": {
34
- "default": "Turned off {{ slots.name }}"
34
+ "default": "{{ slots.name }} lülitatud välja"
35
35
  },
36
36
  "HassTurnOn": {
37
- "default": "Turned on {{ slots.name }}"
37
+ "default": "{{ slots.name }} lülitatud sisse"
38
38
  }
39
39
  }
40
40
  },