home-assistant-intents 2024.7.29__tar.gz → 2024.8.29__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. {home_assistant_intents-2024.7.29/home_assistant_intents.egg-info → home_assistant_intents-2024.8.29}/PKG-INFO +1 -1
  2. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/de.json +6 -5
  3. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/en.json +9 -4
  4. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/nl.json +30 -0
  5. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/pt.json +341 -20
  6. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ro.json +28 -0
  7. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ru.json +14 -0
  8. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/sl.json +8 -7
  9. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/sv.json +69 -3
  10. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29/home_assistant_intents.egg-info}/PKG-INFO +1 -1
  11. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/pyproject.toml +1 -1
  12. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/LICENSE.md +0 -0
  13. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/MANIFEST.in +0 -0
  14. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/README.md +0 -0
  15. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/__init__.py +0 -0
  16. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/af.json +0 -0
  17. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ar.json +0 -0
  18. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/bg.json +0 -0
  19. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/bn.json +0 -0
  20. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ca.json +0 -0
  21. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/cs.json +0 -0
  22. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/da.json +0 -0
  23. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/de-CH.json +0 -0
  24. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/el.json +0 -0
  25. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/es.json +0 -0
  26. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/et.json +0 -0
  27. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/eu.json +0 -0
  28. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/fa.json +0 -0
  29. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/fi.json +0 -0
  30. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/fr-CA.json +0 -0
  31. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/fr.json +0 -0
  32. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/gl.json +0 -0
  33. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/gu.json +0 -0
  34. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/he.json +0 -0
  35. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/hi.json +0 -0
  36. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/hr.json +0 -0
  37. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/hu.json +0 -0
  38. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/id.json +0 -0
  39. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/is.json +0 -0
  40. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/it.json +0 -0
  41. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ka.json +0 -0
  42. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/kn.json +0 -0
  43. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ko.json +0 -0
  44. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/lb.json +0 -0
  45. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/lt.json +0 -0
  46. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/lv.json +0 -0
  47. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ml.json +0 -0
  48. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/mn.json +0 -0
  49. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ms.json +0 -0
  50. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/nb.json +0 -0
  51. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/pl.json +0 -0
  52. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/pt-br.json +0 -0
  53. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/sk.json +0 -0
  54. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/sr.json +0 -0
  55. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/sw.json +0 -0
  56. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/te.json +0 -0
  57. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/tr.json +0 -0
  58. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/uk.json +0 -0
  59. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/ur.json +0 -0
  60. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/vi.json +0 -0
  61. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/zh-cn.json +0 -0
  62. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/zh-hk.json +0 -0
  63. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/data/zh-tw.json +0 -0
  64. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents/languages.py +0 -0
  65. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents.egg-info/SOURCES.txt +0 -0
  66. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents.egg-info/dependency_links.txt +0 -0
  67. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents.egg-info/top_level.txt +0 -0
  68. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/home_assistant_intents.egg-info/zip-safe +0 -0
  69. {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.29}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: home-assistant-intents
3
- Version: 2024.7.29
3
+ Version: 2024.8.29
4
4
  Summary: Intents for Home Assistant
5
5
  Author-email: The Home Assistant Authors <hello@home-assistant.io>
6
6
  License: Apache-2.0
@@ -544,14 +544,15 @@
544
544
  "data": [
545
545
  {
546
546
  "sentences": [
547
- "füge <item> <meine_liste> hinzu",
548
- "füge <meine_liste> <item> hinzu",
549
- "(setz[e]|schreib[e]|nehme|nimm) <item> (auf|in) <meine_liste>",
550
- "<item> (auf|in) <meine_liste>[ (setzen|schreiben|nehmen)]"
547
+ "füge <item> <meine_liste_dativ> hinzu",
548
+ "füge <meine_liste_dativ> <item> hinzu",
549
+ "(setz[e]|schreib[e]|nehme|nimm) <item> (auf|in) <meine_liste_akkusativ>",
550
+ "<item> (auf|in) <meine_liste_akkusativ>[ (setzen|schreiben|nehmen)]"
551
551
  ],
552
552
  "response": "item_added",
553
553
  "expansion_rules": {
554
- "meine_liste": "[meine[r]|die|der] [Einkaufs]Liste",
554
+ "meine_liste_dativ": "[meiner|der] [Einkaufs]Liste",
555
+ "meine_liste_akkusativ": "[meine|die] [Einkaufs]Liste",
555
556
  "item": "{shopping_list_item:item}"
556
557
  }
557
558
  }
@@ -40,7 +40,9 @@
40
40
  "[<turn>] [all] <area> <light> off",
41
41
  "[<turn>] [all] <light> [in] <area> off",
42
42
  "deactivate [all] <light> [in] <area>",
43
- "deactivate [all] <area> <light>"
43
+ "deactivate [all] <area> <light>",
44
+ "<light> (off|out) in <area>",
45
+ "<area> <light> (off|out)"
44
46
  ],
45
47
  "slots": {
46
48
  "domain": "light"
@@ -76,7 +78,8 @@
76
78
  "deactivate <light> <here>",
77
79
  "<turn> <light> off",
78
80
  "<turn> off <light>",
79
- "deactivate <light>"
81
+ "deactivate <light>",
82
+ "<light> (off|out)"
80
83
  ],
81
84
  "response": "lights_area",
82
85
  "slots": {
@@ -2559,7 +2562,8 @@
2559
2562
  "[<turn>] [all] <area> <light> on",
2560
2563
  "[<turn>] [all] <light> [in] <area> on",
2561
2564
  "activate [all] <light> [in] <area>",
2562
- "activate [all] <area> <light>"
2565
+ "activate [all] <area> <light>",
2566
+ "<light> on in <area>"
2563
2567
  ],
2564
2568
  "slots": {
2565
2569
  "domain": "light"
@@ -2595,7 +2599,8 @@
2595
2599
  "activate <light> <here>",
2596
2600
  "<turn> <light> on",
2597
2601
  "<turn> on <light>",
2598
- "activate <light>"
2602
+ "activate <light>",
2603
+ "<light> on"
2599
2604
  ],
2600
2605
  "response": "lights_area",
2601
2606
  "slots": {
@@ -2252,6 +2252,19 @@
2252
2252
  }
2253
2253
  ]
2254
2254
  },
2255
+ "HassGetCurrentTime": {
2256
+ "data": [
2257
+ {
2258
+ "sentences": [
2259
+ "hoe laat is het[ nu]",
2260
+ "hoe laat leven we[ nu]",
2261
+ "wat is de [huidige ]tijd",
2262
+ "wat is (de tijd;nu)",
2263
+ "(vertel me|geef me) de [huidige ]tijd"
2264
+ ]
2265
+ }
2266
+ ]
2267
+ },
2255
2268
  "HassTurnOn": {
2256
2269
  "data": [
2257
2270
  {
@@ -2581,6 +2594,17 @@
2581
2594
  }
2582
2595
  ]
2583
2596
  },
2597
+ "HassGetCurrentDate": {
2598
+ "data": [
2599
+ {
2600
+ "sentences": [
2601
+ "welke (dag|datum) is het[ vandaag| nu]",
2602
+ "wat is de [huidige ](dag|datum)",
2603
+ "(vertel me|geef me) de [huidige ](datum|dag)"
2604
+ ]
2605
+ }
2606
+ ]
2607
+ },
2584
2608
  "HassIncreaseTimer": {
2585
2609
  "data": [
2586
2610
  {
@@ -2957,6 +2981,9 @@
2957
2981
  "HassMediaPause": {
2958
2982
  "default": "Gepauzeerd"
2959
2983
  },
2984
+ "HassGetCurrentTime": {
2985
+ "default": "{% set minute_str = '{0:02d}'.format(slots.time.minute) %} Het is {{ slots.time.hour }}:{{ minute_str }}\n"
2986
+ },
2960
2987
  "HassPauseTimer": {
2961
2988
  "default": "Timer gepauzeerd"
2962
2989
  },
@@ -2966,6 +2993,9 @@
2966
2993
  "HassListAddItem": {
2967
2994
  "item_added": "{{ slots.item }} toegevoegd"
2968
2995
  },
2996
+ "HassGetCurrentDate": {
2997
+ "default": "{% set months = {\n 1: 'januari',\n 2: 'februari',\n 3: 'maart',\n 4: 'april',\n 5: 'mei',\n 6: 'juni',\n 7: 'juli',\n 8: 'augustus',\n 9: 'september',\n 10: 'oktober',\n 11: 'november',\n 12: 'december',\n} %} {% set weekday = [\n 'maandag',\n 'dinsdag',\n 'woensdag',\n 'donderdag',\n 'vrijdag',\n 'zaterdag',\n 'zondag'\n] %} Het is {{ weekday[slots.date.weekday()] }} {{ slots.date.day }} {{ months[slots.date.month] }} {{ slots.date.year }}\n"
2998
+ },
2969
2999
  "HassUnpauseTimer": {
2970
3000
  "default": "Timer hervat"
2971
3001
  },
@@ -20,7 +20,7 @@
20
20
  },
21
21
  {
22
22
  "sentences": [
23
- "<desliga> [(todas | todos)] [(o | os | a | as)] (luz | luzes | candeeiro | candeeiros) <na_zona>"
23
+ "<desliga> [(todas | todos)] [(o | os | a | as)] <luz> <na_zona>"
24
24
  ],
25
25
  "slots": {
26
26
  "domain": "light"
@@ -28,8 +28,8 @@
28
28
  },
29
29
  {
30
30
  "sentences": [
31
- "<desliga> [(o | os | a | as)] (luz | luzes | candeeiro | candeeiros)",
32
- "<desliga> [(todas | todos)] [(o | os | a | as)] (luz | luzes | candeeiro | candeeiros) aqui"
31
+ "<desliga> [(o | os | a | as)] <luz>",
32
+ "<desliga> [(todas | todos)] [(o | os | a | as)] <luz> aqui"
33
33
  ],
34
34
  "slots": {
35
35
  "domain": "light"
@@ -52,18 +52,27 @@
52
52
  },
53
53
  {
54
54
  "sentences": [
55
- "<fecha> [as|os|a|o] [(cortina|cortinas|cortinado|cortinados|estore|estores|persiana|persianas)] <na_zona>"
55
+ "<fecha> <estores> <na_zona>"
56
56
  ],
57
57
  "response": "cover",
58
58
  "slots": {
59
- "device_class": [
60
- "blind",
61
- "curtain",
62
- "shutter"
63
- ],
64
59
  "domain": "cover"
65
60
  }
66
61
  },
62
+ {
63
+ "sentences": [
64
+ "<fecha> <estores> [aqui]"
65
+ ],
66
+ "response": "cover",
67
+ "slots": {
68
+ "domain": "cover"
69
+ },
70
+ "requires_context": {
71
+ "area": {
72
+ "slot": true
73
+ }
74
+ }
75
+ },
67
76
  {
68
77
  "sentences": [
69
78
  "(desliga | desligue | desligar) [todas] as ventoinhas <na_zona>"
@@ -76,6 +85,40 @@
76
85
  }
77
86
  ]
78
87
  },
88
+ "HassCancelTimer": {
89
+ "data": [
90
+ {
91
+ "sentences": [
92
+ "<timer_cancel> <temporizador>",
93
+ "<timer_cancel> <temporizador> [de ]<timer_start>",
94
+ "<timer_cancel> <temporizador> <na_zona>",
95
+ "<timer_cancel> <temporizador> [chamado ]{timer_name:name}"
96
+ ],
97
+ "expansion_rules": {
98
+ "timer_cancel": "(cancela[r]|elimina[r]|aborta[r])"
99
+ }
100
+ }
101
+ ]
102
+ },
103
+ "HassTimerStatus": {
104
+ "data": [
105
+ {
106
+ "sentences": [
107
+ "[<qual> ][o ](estado dos|tempo restante nos) <temporizadores>",
108
+ "quanto tempo <falta> nos <temporizadores>",
109
+ "[<qual> ][o ](estado do|tempo restante no) <temporizador>[ [de ]<timer_start>]",
110
+ "quanto tempo <falta> no <temporizador>[ [de ]<timer_start>]",
111
+ "[<qual> ][o ](estado do|tempo restante no) <temporizador> <na_zona>",
112
+ "quanto tempo <falta> no <temporizador> <na_zona>",
113
+ "[<qual> ][o ](estado do|tempo restante no) <temporizador> [chamado ]{timer_name:name}",
114
+ "quanto tempo <falta> no <temporizador> [chamado ]{timer_name:name}"
115
+ ],
116
+ "expansion_rules": {
117
+ "falta": "(falta|resta)"
118
+ }
119
+ }
120
+ ]
121
+ },
79
122
  "HassGetWeather": {
80
123
  "data": [
81
124
  {
@@ -93,11 +136,21 @@
93
136
  }
94
137
  ]
95
138
  },
139
+ "HassGetCurrentTime": {
140
+ "data": [
141
+ {
142
+ "sentences": [
143
+ "[diz-me ]que horas são",
144
+ "diz-me as horas"
145
+ ]
146
+ }
147
+ ]
148
+ },
96
149
  "HassTurnOn": {
97
150
  "data": [
98
151
  {
99
152
  "sentences": [
100
- "<liga> [(todas | todos)] [(o | os | a | as)] (luz | luzes | candeeiro | candeeiros) <na_zona>"
153
+ "<liga> [(todas | todos)] [(o | os | a | as)] <luz> <na_zona>"
101
154
  ],
102
155
  "slots": {
103
156
  "domain": "light"
@@ -105,8 +158,8 @@
105
158
  },
106
159
  {
107
160
  "sentences": [
108
- "<liga> [(o | os | a | as)] (luz | luzes | candeeiro | candeeiros)",
109
- "<liga> [(todas | todos)] [(o | os | a | as)] (luz | luzes | candeeiro | candeeiros) aqui"
161
+ "<liga> [(o | os | a | as)] <luz>",
162
+ "<liga> [(todas | todos)] [(o | os | a | as)] <luz> aqui"
110
163
  ],
111
164
  "slots": {
112
165
  "domain": "light"
@@ -155,17 +208,26 @@
155
208
  },
156
209
  {
157
210
  "sentences": [
158
- "<abre> [as|os|a|o] [(cortina|cortinas|cortinado|cortinados|estore|estores|persiana|persianas)] <na_zona>"
211
+ "<abre> <estores> <na_zona>"
159
212
  ],
160
213
  "response": "cover",
161
214
  "slots": {
162
- "device_class": [
163
- "blind",
164
- "curtain",
165
- "shutter"
166
- ],
167
215
  "domain": "cover"
168
216
  }
217
+ },
218
+ {
219
+ "sentences": [
220
+ "<abre> <estores> [aqui]"
221
+ ],
222
+ "response": "cover",
223
+ "slots": {
224
+ "domain": "cover"
225
+ },
226
+ "requires_context": {
227
+ "area": {
228
+ "slot": true
229
+ }
230
+ }
169
231
  }
170
232
  ]
171
233
  },
@@ -196,6 +258,42 @@
196
258
  }
197
259
  ]
198
260
  },
261
+ "HassGetCurrentDate": {
262
+ "data": [
263
+ {
264
+ "sentences": [
265
+ "[diz-me ]que dia é hoje",
266
+ "[diz-me ]qual a data de hoje"
267
+ ]
268
+ }
269
+ ]
270
+ },
271
+ "HassIncreaseTimer": {
272
+ "data": [
273
+ {
274
+ "sentences": [
275
+ "<aumentar> <timer_duration> [ao |no ]<temporizador>",
276
+ "<aumentar> <timer_duration> [ao |no ]<temporizador> [de ]<timer_start>",
277
+ "<aumentar> <timer_duration> [ao |no ]<temporizador> <na_zona>",
278
+ "<aumentar> <timer_duration> [ao |no ]<temporizador> [chamado ]{timer_name:name}"
279
+ ],
280
+ "expansion_rules": {
281
+ "aumentar": "(aumenta[r]|adiciona[r]|acrescenta[r])[ em]"
282
+ }
283
+ },
284
+ {
285
+ "sentences": [
286
+ "<aumentar> [ao |no ]<temporizador> [em ]<timer_duration>",
287
+ "<aumentar> [ao |no ]<temporizador> [de ]<timer_start> [em ]<timer_duration>",
288
+ "<aumentar> [ao |no ]<temporizador> <na_zona> [em ]<timer_duration>",
289
+ "<aumentar> [ao |no ]<temporizador> [chamado ]{timer_name:name} [em ]<timer_duration>"
290
+ ],
291
+ "expansion_rules": {
292
+ "aumentar": "(aumenta[r]|adiciona[r]|acrescenta[r])"
293
+ }
294
+ }
295
+ ]
296
+ },
199
297
  "HassLightSet": {
200
298
  "data": [
201
299
  {
@@ -244,6 +342,87 @@
244
342
  }
245
343
  ]
246
344
  },
345
+ "HassPauseTimer": {
346
+ "data": [
347
+ {
348
+ "sentences": [
349
+ "<timer_pause> <temporizador>",
350
+ "<timer_pause> <temporizador> [de ]<timer_start>",
351
+ "<timer_pause> <temporizador> <na_zona>",
352
+ "<timer_pause> <temporizador> [chamado ]{timer_name:name}"
353
+ ],
354
+ "expansion_rules": {
355
+ "timer_pause": "(pausa[r]|para[r])"
356
+ }
357
+ }
358
+ ]
359
+ },
360
+ "HassDecreaseTimer": {
361
+ "data": [
362
+ {
363
+ "sentences": [
364
+ "<reduzir> <timer_duration> [do ]<temporizador>",
365
+ "<reduzir> <timer_duration> [do ]<temporizador> [de ]<timer_start>",
366
+ "<reduzir> <timer_duration> [do ]<temporizador> <na_zona>",
367
+ "<reduzir> <timer_duration> [do ]<temporizador> [chamado ]{timer_name:name}"
368
+ ],
369
+ "expansion_rules": {
370
+ "reduzir": "(reduz[ir]|remove[r]|retira[r])[ em]"
371
+ }
372
+ },
373
+ {
374
+ "sentences": [
375
+ "<reduzir> [do ]<temporizador> [em ]<timer_duration>",
376
+ "<reduzir> [do ]<temporizador> [de ]<timer_start> [em ]<timer_duration>",
377
+ "<reduzir> [do ]<temporizador> <na_zona> [em ]<timer_duration>",
378
+ "<reduzir> [do ]<temporizador> [chamado ]{timer_name:name} [em ]<timer_duration>"
379
+ ],
380
+ "expansion_rules": {
381
+ "reduzir": "(reduz[ir]|remove[r]|retira[r])"
382
+ }
383
+ }
384
+ ]
385
+ },
386
+ "HassUnpauseTimer": {
387
+ "data": [
388
+ {
389
+ "sentences": [
390
+ "<continuar> <temporizador>",
391
+ "<continuar> <temporizador> [de ]<timer_start>",
392
+ "<continuar> <temporizador> <na_zona>",
393
+ "<continuar> <temporizador>[ chamado] {timer_name:name}"
394
+ ],
395
+ "expansion_rules": {
396
+ "continuar": "(continua[r]|retoma[r])"
397
+ }
398
+ }
399
+ ]
400
+ },
401
+ "HassStartTimer": {
402
+ "data": [
403
+ {
404
+ "sentences": [
405
+ "[<timer_set> ][um ]<temporizador>[ <duration_prefix>] <timer_duration>",
406
+ "[<timer_set> ][um ]<temporizador>[ chamado] {timer_name:name}[ <duration_prefix>] <timer_duration>",
407
+ "[<timer_set> ][um ]<temporizador>[ <duration_prefix>] <timer_duration>[ chamado] {timer_name:name}"
408
+ ],
409
+ "expansion_rules": {
410
+ "timer_set": "(define|definir|começa[r]|inicia[r]|cria[r])",
411
+ "duration_prefix": "(de|com|para)"
412
+ }
413
+ },
414
+ {
415
+ "sentences": [
416
+ "{timer_command:conversation_command} <daqui_a> <timer_duration>",
417
+ "<daqui_a> <timer_duration> {timer_command:conversation_command}"
418
+ ],
419
+ "expansion_rules": {
420
+ "daqui_a": "(em|dentro de|daqui a)"
421
+ },
422
+ "response": "command"
423
+ }
424
+ ]
425
+ },
247
426
  "HassClimateGetTemperature": {
248
427
  "data": [
249
428
  {
@@ -378,6 +557,43 @@
378
557
  }
379
558
  ]
380
559
  },
560
+ "HassSetPosition": {
561
+ "data": [
562
+ {
563
+ "sentences": [
564
+ "(<muda>|<abre>|<fecha>) <nome> (para|até) <posicao>"
565
+ ],
566
+ "requires_context": {
567
+ "domain": "cover"
568
+ },
569
+ "slots": {
570
+ "domain": "cover"
571
+ }
572
+ },
573
+ {
574
+ "sentences": [
575
+ "(<muda>|<abre>|<fecha>) [as|os|a|o] {cover_classes:device_class} ((para|até) <posicao>;<na_zona>)",
576
+ "(<muda>|<abre>|<fecha>) <na_zona> [as|os|a|o] {cover_classes:device_class} (para|até) <posicao>"
577
+ ],
578
+ "slots": {
579
+ "domain": "cover"
580
+ }
581
+ },
582
+ {
583
+ "sentences": [
584
+ "(<muda>|<abre>|<fecha>) <estores> (para|até) <posicao>"
585
+ ],
586
+ "slots": {
587
+ "domain": "cover"
588
+ },
589
+ "requires_context": {
590
+ "area": {
591
+ "slot": true
592
+ }
593
+ }
594
+ }
595
+ ]
596
+ },
381
597
  "HassListAddItem": {
382
598
  "data": [
383
599
  {
@@ -424,6 +640,10 @@
424
640
  "fan_all": "Todas as ventoinhas desligadas",
425
641
  "cover_device_class": "Fechado {{ slots.device_class }}"
426
642
  },
643
+ "HassStartTimer": {
644
+ "default": "Temporizador iniciado",
645
+ "command": "Comando recebido"
646
+ },
427
647
  "HassShoppingListAddItem": {
428
648
  "item_added": "Adicionei {{ slots.item }}"
429
649
  },
@@ -436,9 +656,24 @@
436
656
  "scene": "Ativado",
437
657
  "script": "Iniciado"
438
658
  },
659
+ "HassGetCurrentTime": {
660
+ "default": "{% set next_hour = 0 %} {% set minute_str = \"\" %} {% if slots.time.minute > 0: %}\n {% if slots.time.minute == 15: %}\n {% set minute_str = \"e um quarto\" %}\n {% elif slots.time.minute == 30: %}\n {% set minute_str = \"e meia\" %}\n {% elif slots.time.minute > 30 and slots.time.minute % 5 == 0: %}\n {% set next_hour = 1 %}\n {% if slots.time.minute == 45: %}\n {% set minute_str = \"menos um quarto\" %}\n {% else: %}\n {% set minute_str = 'menos {0:01d}'.format(60 - slots.time.minute) %}\n {% endif %}\n {% else: %}\n {% set minute_str = 'e {0:01d}'.format(slots.time.minute) %}\n {% endif %}\n{% endif %} {% if slots.time.hour + next_hour > 12: %}\n {% set hour12 = slots.time.hour + next_hour - 12 %}\n{% elif slots.time.hour + next_hour == 0: %}\n {% set hour12 = 12 %}\n{% else: %}\n {% set hour12 = slots.time.hour + next_hour %}\n{% endif %} {% if hour12 == 1 : %}\n É\n{% else: %}\n São\n{% endif %} {{hour12}} {{minute_str}}\n"
661
+ },
662
+ "HassPauseTimer": {
663
+ "default": "Temporizador em pausa"
664
+ },
665
+ "HassTimerStatus": {
666
+ "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ão existem temporizadores.\n{% elif num_active_timers == 0: %}\n {# No active timers #}\n {% if num_paused_timers == 1: %}\n {% set next_timer = paused_timers[0] %}\n O temporizador está em pausa.\n {% else: %}\n {{ num_paused_timers }} temporizadores em pausa.\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 }} temporizadores activos.\n {% endif %}\n\n {% if num_paused_timers == 1: %}\n 1 temporizador em pausa.\n {% elif num_paused_timers > 0: %}\n {{ num_paused_timers }} temporizadores em pausa.\n {% endif %}\n{% endif %}\n\n{% if next_timer: %}\n\n {% if num_timers > 1: %}\n\n No temporizador\n \n {% if next_timer.name: %}\n {{ next_timer.name }}\n {% elif next_timer.area: %}\n da área {{ next_timer.area }}\n {% endif %}\n\n de\n\n {# Give some extra information to disambiguate #}\n {% if (next_timer.start_hours > 0) and (next_timer.start_minutes > 0): %}\n {{ next_timer.start_hours }} hora{{ \"s\" if next_timer.start_hours != 1 }} e {{ next_timer.start_minutes }} minuto{{ \"s\" if next_timer.start_minutes != 1 }}\n {% elif (next_timer.start_hours > 0): %}\n {{ next_timer.start_hours }} hora{{ \"s\" if next_timer.start_hours != 1 }}\n {% elif (next_timer.start_minutes > 0) and (next_timer.start_seconds > 0): %}\n {{ next_timer.start_minutes }} minuto{{ \"s\" if next_timer.start_minutes != 1 }} e {{ next_timer.start_seconds }} segundo{{ \"s\" if next_timer.start_seconds != 1 }}\n {% elif (next_timer.start_minutes > 0): %}\n {{ next_timer.start_minutes }} minuto{{ \"s\" if next_timer.start_minutes != 1 }}\n {% elif (next_timer.start_seconds > 0): %}\n {{ next_timer.start_seconds }} segundo{{ \"s\" if next_timer.start_seconds != 1 }}\n {% endif %}\n\n restam\n {% else %}\n Restam\n {% endif %}\n\n {# At least one active timer #}\n {% if (next_timer.rounded_hours_left == 1) and (next_timer.rounded_minutes_left > 0): %}\n 1 hora e {{ next_timer.rounded_minutes_left }} minutos.\n {% elif (next_timer.rounded_hours_left == 1): %}\n 1 hora.\n {% elif (next_timer.rounded_hours_left > 1) and (next_timer.rounded_minutes_left > 0): %}\n {{ next_timer.rounded_hours_left }} horas e {{ next_timer.rounded_minutes_left }} minutos.\n {% elif (next_timer.rounded_hours_left > 1): %}\n {{ next_timer.rounded_hours_left }} horas.\n {% elif (next_timer.rounded_minutes_left == 1) and (next_timer.rounded_seconds_left > 0): %}\n 1 minuto e {{ next_timer.rounded_seconds_left }} segundos.\n {% elif (next_timer.rounded_minutes_left == 1): %}\n 1 minuto.\n {% elif (next_timer.rounded_minutes_left > 1) and (next_timer.rounded_seconds_left > 0): %}\n {{ next_timer.rounded_minutes_left }} minutos e {{ next_timer.rounded_seconds_left }} segundos.\n {% elif (next_timer.rounded_minutes_left > 1): %}\n {{ next_timer.rounded_minutes_left }} minutos.\n {% elif (next_timer.rounded_seconds_left == 1): %}\n 1 segundo.\n {% elif (next_timer.rounded_seconds_left > 1): %}\n {{ next_timer.rounded_seconds_left }} segundos.\n {% endif %}\n\n{% endif %}\n"
667
+ },
439
668
  "HassListAddItem": {
440
669
  "item_added": "Adicionei {{ slots.item }}"
441
670
  },
671
+ "HassGetCurrentDate": {
672
+ "default": "{% set months = {\n 1: 'janeiro',\n 2: 'fevereiro',\n 3: 'março',\n 4: 'abril',\n 5: 'maio',\n 6: 'junho',\n 7: 'julho',\n 8: 'agosto',\n 9: 'setembro',\n 10: 'outubro',\n 11: 'novembro',\n 12: 'dezembro',\n} %} {% set weekday = ['segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado', 'domingo'] %} {{ weekday[slots.date.weekday()] }}, {{slots.date.day}} de {{ months[slots.date.month] }} de {{ slots.date.year }}\n"
673
+ },
674
+ "HassUnpauseTimer": {
675
+ "default": "Temporizador retomado"
676
+ },
442
677
  "HassGetWeather": {
443
678
  "default": "{% set weather_condition = {\n 'clear': 'Céu limpo',\n 'clear-night': 'Céu limpo',\n 'cloudy': 'Céu nublado',\n 'exceptional': 'Condições excepcionalmente adversas',\n 'fog': 'Nevoeiro',\n 'hail': 'Granizo',\n 'lightning': 'Trovoada',\n 'lightning-rainy': 'Chuva e trovoada',\n 'partlycloudy': 'Céu parcialmente nublado',\n 'pouring': 'Chuva forte',\n 'rainy': 'Chuva',\n 'snowy': 'Neve',\n 'snowy-rainy': 'Chuva e neve',\n 'sunny': 'Sol',\n 'windy': 'Vento',\n 'windy-variant': 'Vento e céu nublado'\n} %}\n {{ weather_condition.get((state.state | string).lower(), \"\") }}, com temperatura de {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }}\n"
444
679
  },
@@ -449,9 +684,21 @@
449
684
  "HassVacuumStart": {
450
685
  "default": "Limpeza iniciada"
451
686
  },
687
+ "HassSetPosition": {
688
+ "default": "Posição alterada"
689
+ },
690
+ "HassCancelTimer": {
691
+ "default": "Cancelado"
692
+ },
452
693
  "HassClimateGetTemperature": {
453
694
  "default": "{{ state_attr(state.entity_id, 'current_temperature') }}"
454
695
  },
696
+ "HassDecreaseTimer": {
697
+ "default": "Tempo reduzido"
698
+ },
699
+ "HassIncreaseTimer": {
700
+ "default": "Tempo incrementado"
701
+ },
455
702
  "HassVacuumReturnToBase": {
456
703
  "default": "A regressar"
457
704
  }
@@ -667,6 +914,61 @@
667
914
  },
668
915
  "shopping_list_item": {
669
916
  "wildcard": true
917
+ },
918
+ "position": {
919
+ "range": {
920
+ "type": "percentage",
921
+ "from": 0,
922
+ "to": 100
923
+ }
924
+ },
925
+ "timer_seconds": {
926
+ "range": {
927
+ "from": 1,
928
+ "to": 100
929
+ }
930
+ },
931
+ "timer_words_seconds": {
932
+ "values": [
933
+ {
934
+ "in": "um|uma",
935
+ "out": 1
936
+ }
937
+ ]
938
+ },
939
+ "timer_minutes": {
940
+ "range": {
941
+ "from": 1,
942
+ "to": 100
943
+ }
944
+ },
945
+ "timer_words_minutes": {
946
+ "values": [
947
+ {
948
+ "in": "um|uma",
949
+ "out": 1
950
+ }
951
+ ]
952
+ },
953
+ "timer_hours": {
954
+ "range": {
955
+ "from": 1,
956
+ "to": 100
957
+ }
958
+ },
959
+ "timer_words_hours": {
960
+ "values": [
961
+ {
962
+ "in": "um|uma",
963
+ "out": 1
964
+ }
965
+ ]
966
+ },
967
+ "timer_name": {
968
+ "wildcard": true
969
+ },
970
+ "timer_command": {
971
+ "wildcard": true
670
972
  }
671
973
  },
672
974
  "expansion_rules": {
@@ -680,13 +982,32 @@
680
982
  "fecha": "(fecha|feche|fechar)",
681
983
  "juntar": "(junte|junta[r])",
682
984
  "liga": "(liga[r]|ligue|acende[r]|acenda|ativa[r]|ative)",
683
- "muda": "(põe|ponha|muda|altera|coloca|deixa|pôr|mudar|alterar|colocar|deixar)",
985
+ "muda": "(põe|ponha|muda|altera|coloca|deixa|pôr|mudar|alterar|colocar|deixar|aumenta|sobe|diminui|baixa)",
684
986
  "na_zona": "(no|na|da|do) {area}",
685
987
  "nome": "[(o|os|a|as)] {name}",
686
988
  "por": "pôr|põe|ponha",
687
989
  "qual": "(que|qual|qual é|quais)",
688
990
  "temperatura": "{temperature}[°| graus] [{temperature_unit}]",
689
- "zona": "[(o|os|a|as)] {area}"
991
+ "zona": "[(o|os|a|as)] {area}",
992
+ "estores": "[as|os|a|o] (cortina|cortinas|cortinado|cortinados|estore|estores|persiana|persianas)",
993
+ "posicao": "{position}[[ ]%| porcento]",
994
+ "luz": "(luz | luzes | candeeiro | candeeiros)",
995
+ "temporizador": "[o ][meu ](temporizador|cronómetro|timer)",
996
+ "temporizadores": "[os ][meus ](temporizadores|cronómetros|timers)",
997
+ "nb_seconds": "({timer_seconds:seconds}|{timer_words_seconds:seconds})",
998
+ "nb_minutes": "({timer_minutes:minutes}|{timer_words_minutes:minutes})",
999
+ "nb_hours": "({timer_hours:hours}|{timer_words_hours:hours})",
1000
+ "nb_start_seconds": "({timer_seconds:start_seconds}|{timer_words_seconds:start_seconds})",
1001
+ "nb_start_minutes": "({timer_minutes:start_minutes}|{timer_words_minutes:start_minutes})",
1002
+ "nb_start_hours": "({timer_hours:start_hours}|{timer_words_hours:start_hours})",
1003
+ "timer_duration_seconds": "<nb_seconds> segundo[s]",
1004
+ "timer_duration_minutes": "<nb_minutes> minuto[s][ [e ]<timer_duration_seconds>]",
1005
+ "timer_duration_hours": "<nb_hours> hora[s][ [e ]<timer_duration_minutes>]",
1006
+ "timer_duration": "(<timer_duration_seconds>|<timer_duration_minutes>|<timer_duration_hours>)",
1007
+ "timer_start_seconds": "<nb_start_seconds> segundo[s]",
1008
+ "timer_start_minutes": "<nb_start_minutes> minuto[s][ [e ]<timer_start_seconds>]",
1009
+ "timer_start_hours": "<nb_start_hours> hora[s][ [e ]<timer_start_minutes>]",
1010
+ "timer_start": "(<timer_start_seconds>|<timer_start_minutes>|<timer_start_hours>)"
690
1011
  },
691
1012
  "skip_words": [
692
1013
  "por favor",
@@ -2048,6 +2048,16 @@
2048
2048
  }
2049
2049
  ]
2050
2050
  },
2051
+ "HassGetCurrentTime": {
2052
+ "data": [
2053
+ {
2054
+ "sentences": [
2055
+ "c(â|a)t (<este>|arat(ă|a)) (ceasul|ora)[ acum]",
2056
+ "ce or(ă|a) <este>[ acum]"
2057
+ ]
2058
+ }
2059
+ ]
2060
+ },
2051
2061
  "HassTurnOn": {
2052
2062
  "data": [
2053
2063
  {
@@ -2299,6 +2309,18 @@
2299
2309
  }
2300
2310
  ]
2301
2311
  },
2312
+ "HassGetCurrentDate": {
2313
+ "data": [
2314
+ {
2315
+ "sentences": [
2316
+ "ce (zi|dat(ă|a)) <este>[ (azi|ast(ă|a)zi)]",
2317
+ "(î|i)n c(â|a)t suntem (azi|ast(ă|a)zi)",
2318
+ "(î|i)n (c(â|a)t|ce (zi|dat(ă|a))) suntem[ (azi|ast(ă|a)zi)]",
2319
+ "care <este> (data|ziua) de (azi|ast(ă|a)zi)"
2320
+ ]
2321
+ }
2322
+ ]
2323
+ },
2302
2324
  "HassIncreaseTimer": {
2303
2325
  "data": [
2304
2326
  {
@@ -2723,6 +2745,9 @@
2723
2745
  "HassMediaPause": {
2724
2746
  "default": "Am pus pauză"
2725
2747
  },
2748
+ "HassGetCurrentTime": {
2749
+ "default": "{{ slots.time.hour }} {% if slots.time.minute == 0: %} fix {% else: %} și {{ slots.time.minute }} {{ 'minut' if slots.time.minute == 1 else 'minute' if slots.time.minute < 20 else 'de minute' }} {% endif %}\n"
2750
+ },
2726
2751
  "HassPauseTimer": {
2727
2752
  "default": "Am pus pe pauză temporizatorul"
2728
2753
  },
@@ -2732,6 +2757,9 @@
2732
2757
  "HassListAddItem": {
2733
2758
  "item_added": "Am adăugat {{ slots.item }}"
2734
2759
  },
2760
+ "HassGetCurrentDate": {
2761
+ "default": "{% set months = {\n 1: 'ianuarie',\n 2: 'februarie',\n 3: 'martie',\n 4: 'aprilie',\n 5: 'mai',\n 6: 'iunie',\n 7: 'iulie',\n 8: 'august',\n 9: 'septembrie',\n 10: 'octombrie',\n 11: 'noiembrie',\n 12: 'decembrie',\n} %} {{ slots.date.day if slots.date.day > 1 else 'întâi' }} {{ months[slots.date.month] }}, {{ slots.date.year }}\n"
2762
+ },
2735
2763
  "HassUnpauseTimer": {
2736
2764
  "default": "Am repornit temporizatorul"
2737
2765
  },
@@ -2549,6 +2549,17 @@
2549
2549
  }
2550
2550
  ]
2551
2551
  },
2552
+ "HassGetCurrentDate": {
2553
+ "data": [
2554
+ {
2555
+ "sentences": [
2556
+ "какой [сейчас|сегодня] день",
2557
+ "какая [сейчас|сегодня] дата",
2558
+ "какое [сейчас|сегодня] число"
2559
+ ]
2560
+ }
2561
+ ]
2562
+ },
2552
2563
  "HassLightSet": {
2553
2564
  "data": [
2554
2565
  {
@@ -2831,6 +2842,9 @@
2831
2842
  "HassListAddItem": {
2832
2843
  "item_added": "Добавил {{ slots.item }}"
2833
2844
  },
2845
+ "HassGetCurrentDate": {
2846
+ "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{% set weekday = [ 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота', 'воскресенье' ] %}\n{{ ordinal[slots.date.day] }} {{ months[slots.date.month] }}, {{ weekday[slots.date.weekday()] }}\n"
2847
+ },
2834
2848
  "HassGetWeather": {
2835
2849
  "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} %}\n\n {% set temperature = state.attributes.get('temperature') | float %}\n {% if temperature.is_integer() %}\n {% if temperature == 0 %}\n {% set temperature_string = 0 | string %}\n {% elif temperature < 0 %}\n {% set temperature_string = 'минус ' ~ (temperature | abs | int ) | string %}\n {% else %}\n {% set temperature_string = 'плюс ' ~ (temperature | int) | string %}\n {% endif %}\n {% else %}\n {% if temperature < 0 %}\n {% set temperature_string = 'минус ' ~ (temperature | abs) | string | replace('.', ',') %}\n {% else %}\n {% set temperature_string = 'плюс ' ~ temperature | string | replace('.', ',') %}\n {% endif %}\n {% endif %}\n\n{{ \"Сейчас \" ~ temperature_string}}{{ weather_condition.get((state.state | string).lower(), state.state | string) }}\n"
2836
2850
  },
@@ -950,7 +950,7 @@
950
950
  "sentences": [
951
951
  "<kaksna_je_vrednost_senzorja>"
952
952
  ],
953
- "response": "sensor_value",
953
+ "response": "sensor_value_temperature",
954
954
  "requires_context": {
955
955
  "domain": "sensor",
956
956
  "device_class": "temperature"
@@ -2490,7 +2490,8 @@
2490
2490
  "data": [
2491
2491
  {
2492
2492
  "sentences": [
2493
- "<kakšno_je> vreme [[ v| na] <name>]"
2493
+ "<kakšno_je> vreme [[ v| na] <name>]",
2494
+ "vreme [[ v| na] <name>]"
2494
2495
  ],
2495
2496
  "requires_context": {
2496
2497
  "domain": "weather"
@@ -3184,7 +3185,7 @@
3184
3185
  },
3185
3186
  "intents": {
3186
3187
  "HassGetState": {
3187
- "default": "{{ state.state_with_unit }}",
3188
+ "default": "{{ state.state_with_unit | replace('.', ',') }}",
3188
3189
  "one": "{{ slots.name | capitalize }} je {{ state.state_with_unit }}\n",
3189
3190
  "one_sensor": "{{ slots.device_class }} {{ slots.name | capitalize }} je {{ state.state_with_unit }}\n",
3190
3191
  "one_yesno": "{% if query.matched %}\n Da\n{% else %}\n Ne, {{ state.state_with_unit }}\n{% endif %}\n",
@@ -3197,8 +3198,8 @@
3197
3198
  "which_bs_opening": "{% if not query.matched %}\n Nič\n{% else: %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n {{ match[:3] | join(\", \") }} and {{ (match | length - 3) }} more\n {% else %}\n {%- for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} and {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% endif %}\n",
3198
3199
  "how_many": "{{ query.matched | length }}\n",
3199
3200
  "where": "{% if state == \"not_home\" %}\n {{ slots.name | capitalize }} ni doma\n{% else %}\n {{ slots.name | capitalize }} je {{ state.state }}\n{% endif %}\n",
3200
- "sensor_value": "Vrednost senzorja je {{ state.state_with_unit }}\n",
3201
- "sensor_value_temperature": "Temperatura je {{ state.state_with_unit }}\n"
3201
+ "sensor_value": "Vrednost senzorja je {{ state.state_with_unit | replace('.', ',') }}\n",
3202
+ "sensor_value_temperature": "Temperatura je {{ state.state_with_unit | replace('.', ',') }}\n"
3202
3203
  },
3203
3204
  "HassTurnOff": {
3204
3205
  "default": "Izklopljeno",
@@ -3258,7 +3259,7 @@
3258
3259
  "default": "Predvajam prejšnjo"
3259
3260
  },
3260
3261
  "HassGetWeather": {
3261
- "default": "{% set weather_condition = {\n 'jasno': 'in jasno',\n 'jasno': 'in jasno',\n 'oblačno': 'in oblačno',\n 'izjemno': 'in izjemno',\n 'megla': 'z meglo',\n 'toča': 's točo',\n 'strela': 'bliskovito',\n 'bliskovito deževno': 'bliskovito in deževno',\n 'delno oblačno': 'in delno oblačno',\n 'nalivi': 'in nalivi',\n 'deževno': 'in deževno',\n 'sneženje': 'in sneženje',\n 'snežno deževno': 's snegom in dežjem',\n 'sončno': 'in sončno',\n 'vetrovno': 'in vetrovno',\n 'vetrovna varianata': 'z vetrom in oblaki'\n} %} {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), \"\") }}\n"
3262
+ "default": "{% set weather_condition = {\n 'clear': 'in jasno',\n 'clear-night': 'in jasno',\n 'cloudy': 'in oblačno',\n 'exceptional': 'in izjemno',\n 'fog': 'z meglo',\n 'hail': 's točo',\n 'lightning': 'bliskovito',\n 'lightning-rainy': 'bliskovito in deževno',\n 'partlycloudy': 'in delno oblačno',\n 'pouring': 'z nalivi',\n 'rainy': 'in deževno',\n 'snowy': 'in snežno',\n 'snowy-rainy': 's snegom in dežjem',\n 'sunny': 'in sončno',\n 'windy': 'in vetrovno',\n 'windy-variant': 'z vetrom in oblaki'\n} %} {% set temperature = state.attributes.get('temperature') %} {% set temperature_sl = (temperature|string).replace(\".\", \",\") %} {% set temperature_num = temperature | float %} {% if temperature_num | abs == 1 %}\n {{ temperature_sl }} stopinja\n{% elif temperature_num | abs == 2 %}\n {{ temperature_sl }} stopinji\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or temperature_num % 100 | abs < 20 %}\n {{ temperature_sl }} stopinje\n{% else %}\n {{ temperature_sl }} stopinj\n{% endif %} {{ weather_condition.get((state.state | string).lower(), \"\") }}\n"
3262
3263
  },
3263
3264
  "HassLightSet": {
3264
3265
  "brightness": "Svetlost nastavljena",
@@ -3280,7 +3281,7 @@
3280
3281
  "default": "Časovnik preklican"
3281
3282
  },
3282
3283
  "HassClimateGetTemperature": {
3283
- "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"
3284
+ "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature_sl = (temperature|string).replace(\".\", \",\") %}\n{% set temperature_num = temperature | float %}\n{% set temperature_abs = temperature_num | abs %}\n\n{% if temperature_abs == 1 %}\n {{ temperature_sl }} stopinja\n{% elif temperature_abs == 2 %}\n {{ temperature_sl }} stopinji\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or (temperature_num % 100 | abs) < 20 %}\n {{ temperature_sl }} stopinje\n{% else %}\n {{ temperature_sl }} stopinj\n{% endif %}\n"
3284
3285
  },
3285
3286
  "HassSetVolume": {
3286
3287
  "default": "Glasnost nastavljena"
@@ -87,12 +87,14 @@
87
87
  "data": [
88
88
  {
89
89
  "sentences": [
90
- "hur (är|ser) vädret [ut]"
90
+ "hur (är|ser) vädret [ut]",
91
+ "<vad> väder"
91
92
  ]
92
93
  },
93
94
  {
94
95
  "sentences": [
95
- "hur (är|ser) vädret [ut] i {name}"
96
+ "hur (är|ser) vädret [ut] i {name}",
97
+ "<vad> väder i {name}"
96
98
  ],
97
99
  "requires_context": {
98
100
  "domain": "weather"
@@ -100,6 +102,15 @@
100
102
  }
101
103
  ]
102
104
  },
105
+ "HassGetCurrentTime": {
106
+ "data": [
107
+ {
108
+ "sentences": [
109
+ "(<vad>|hur mycket är) klockan [[just] nu]"
110
+ ]
111
+ }
112
+ ]
113
+ },
103
114
  "HassTurnOn": {
104
115
  "data": [
105
116
  {
@@ -146,7 +157,10 @@
146
157
  {
147
158
  "sentences": [
148
159
  "<slå_på> <name>"
149
- ]
160
+ ],
161
+ "excludes_context": {
162
+ "domain": "vacuum"
163
+ }
150
164
  },
151
165
  {
152
166
  "sentences": [
@@ -218,6 +232,15 @@
218
232
  }
219
233
  ]
220
234
  },
235
+ "HassGetCurrentDate": {
236
+ "data": [
237
+ {
238
+ "sentences": [
239
+ "(<vad>) (datum|dag) [(idag|i dag)]"
240
+ ]
241
+ }
242
+ ]
243
+ },
221
244
  "HassLightSet": {
222
245
  "data": [
223
246
  {
@@ -313,6 +336,20 @@
313
336
  }
314
337
  ]
315
338
  },
339
+ "HassVacuumReturnToBase": {
340
+ "data": [
341
+ {
342
+ "sentences": [
343
+ "kör [tillbaka] <name> till (laddaren|basen|dockan)",
344
+ "kör tillbaka <name>",
345
+ "(docka|ladda) <name>"
346
+ ],
347
+ "requires_context": {
348
+ "domain": "vacuum"
349
+ }
350
+ }
351
+ ]
352
+ },
316
353
  "HassGetState": {
317
354
  "data": [
318
355
  {
@@ -359,6 +396,23 @@
359
396
  }
360
397
  ]
361
398
  },
399
+ "HassVacuumStart": {
400
+ "data": [
401
+ {
402
+ "sentences": [
403
+ "<slå_på> dammsugare[n] i <area>"
404
+ ]
405
+ },
406
+ {
407
+ "sentences": [
408
+ "<slå_på> <name>"
409
+ ],
410
+ "requires_context": {
411
+ "domain": "vacuum"
412
+ }
413
+ }
414
+ ]
415
+ },
362
416
  "HassSetVolume": {
363
417
  "data": [
364
418
  {
@@ -426,6 +480,12 @@
426
480
  "HassMediaPause": {
427
481
  "default": "Pausad"
428
482
  },
483
+ "HassGetCurrentTime": {
484
+ "default": "{{ slots.time.hour }}:{{ '{0:02d}'.format(slots.time.minute) }}\n"
485
+ },
486
+ "HassGetCurrentDate": {
487
+ "default": "{% set months = {\n 1: 'januari',\n 2: 'februari',\n 3: 'mars',\n 4: 'april',\n 5: 'maj',\n 6: 'juni',\n 7: 'juli',\n 8: 'augusti',\n 9: 'september',\n 10: 'oktober',\n 11: 'november',\n 12: 'december',\n} %} {% set days = {\n 1: 'första',\n 2: 'andra',\n 3: 'tredje',\n 4: 'fjärde',\n 5: 'femte',\n 6: 'sjätte',\n 7: 'sjunde',\n 8: 'åttonde',\n 9: 'nionde',\n 10: 'tionde',\n 11: 'elfte',\n 12: 'tolvte',\n 13: 'trettonde',\n 14: 'fjortonde',\n 15: 'femtonde',\n 16: 'sextonde',\n 17: 'sjuttonde',\n 18: 'artonde',\n 19: 'nittonde',\n 20: 'tjugonde',\n 21: 'tjugoförsta',\n 22: 'tjugoandra',\n 23: 'tjugotredje',\n 24: 'tjugofjärde',\n 25: 'tjugofemte',\n 26: 'tjugosjätte',\n 27: 'tjugosjunde',\n 28: 'tjugoåttonde',\n 29: 'tjugonionde',\n 30: 'trettionde',\n 31: 'trettioförsta',\n } %}\n Det är den {{ days[slots.date.day] }} {{ months[slots.date.month] }} {{ slots.date.year }}\n"
488
+ },
429
489
  "HassGetWeather": {
430
490
  "default": "{% set weather_condition = {\n 'clear': 'och klart',\n 'clear-night': 'och klart',\n 'cloudy': 'och mulet',\n 'exceptional': 'och strålande solsken', \n 'fog': 'och dimma',\n 'hail': 'och hagel',\n 'lightning': 'och åska',\n 'lightning-rainy': 'och åska med regn',\n 'partlycloudy': 'och delvis mulet',\n 'pouring': 'och skyfall',\n 'rainy': 'och regn',\n 'snowy': 'och snö',\n 'snowy-rainy': 'och snöblandat regn',\n 'sunny': 'och sol',\n 'windy': 'och blåst',\n 'windy-variant': 'och mulet med blåst'\n} %} {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), \"\") }}\n"
431
491
  },
@@ -435,6 +495,9 @@
435
495
  "color": "{{ slots.name }} färg sattes till {{ slots.color }}",
436
496
  "color_area": "Färgen på belysningen i {{ slots.area }} sattes till {{ slots.color }}"
437
497
  },
498
+ "HassVacuumStart": {
499
+ "default": "Startad"
500
+ },
438
501
  "HassMediaUnpause": {
439
502
  "default": "Återupptar"
440
503
  },
@@ -446,6 +509,9 @@
446
509
  },
447
510
  "HassSetVolume": {
448
511
  "default": "Volym satt"
512
+ },
513
+ "HassVacuumReturnToBase": {
514
+ "default": "Återvänder"
449
515
  }
450
516
  }
451
517
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: home-assistant-intents
3
- Version: 2024.7.29
3
+ Version: 2024.8.29
4
4
  Summary: Intents for Home Assistant
5
5
  Author-email: The Home Assistant Authors <hello@home-assistant.io>
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "home-assistant-intents"
7
- version = "2024.7.29"
7
+ version = "2024.8.29"
8
8
  license = {text = "Apache-2.0"}
9
9
  description = "Intents for Home Assistant"
10
10
  readme = "README.md"