home-assistant-intents 2024.7.29__tar.gz → 2024.8.7__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.
- {home_assistant_intents-2024.7.29/home_assistant_intents.egg-info → home_assistant_intents-2024.8.7}/PKG-INFO +1 -1
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/en.json +9 -4
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/nl.json +30 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/pt.json +315 -20
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ro.json +28 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/sv.json +69 -3
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7/home_assistant_intents.egg-info}/PKG-INFO +1 -1
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/pyproject.toml +1 -1
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/LICENSE.md +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/MANIFEST.in +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/README.md +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/__init__.py +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/af.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ar.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/bg.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/bn.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ca.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/cs.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/da.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/de-CH.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/de.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/el.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/es.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/et.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/eu.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/fa.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/fi.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/fr-CA.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/fr.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/gl.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/gu.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/he.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/hi.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/hr.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/hu.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/id.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/is.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/it.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ka.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/kn.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ko.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/lb.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/lt.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/lv.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ml.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/mn.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ms.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/nb.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/pl.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/pt-br.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ru.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/sk.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/sl.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/sr.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/sw.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/te.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/tr.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/uk.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/ur.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/vi.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/zh-cn.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/zh-hk.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/data/zh-tw.json +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents/languages.py +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents.egg-info/SOURCES.txt +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents.egg-info/dependency_links.txt +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents.egg-info/top_level.txt +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/home_assistant_intents.egg-info/zip-safe +0 -0
- {home_assistant_intents-2024.7.29 → home_assistant_intents-2024.8.7}/setup.cfg +0 -0
|
@@ -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)]
|
|
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)]
|
|
32
|
-
"<desliga> [(todas | todos)] [(o | os | a | as)]
|
|
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>
|
|
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
|
{
|
|
@@ -97,7 +140,7 @@
|
|
|
97
140
|
"data": [
|
|
98
141
|
{
|
|
99
142
|
"sentences": [
|
|
100
|
-
"<liga> [(todas | todos)] [(o | os | a | as)]
|
|
143
|
+
"<liga> [(todas | todos)] [(o | os | a | as)] <luz> <na_zona>"
|
|
101
144
|
],
|
|
102
145
|
"slots": {
|
|
103
146
|
"domain": "light"
|
|
@@ -105,8 +148,8 @@
|
|
|
105
148
|
},
|
|
106
149
|
{
|
|
107
150
|
"sentences": [
|
|
108
|
-
"<liga> [(o | os | a | as)]
|
|
109
|
-
"<liga> [(todas | todos)] [(o | os | a | as)]
|
|
151
|
+
"<liga> [(o | os | a | as)] <luz>",
|
|
152
|
+
"<liga> [(todas | todos)] [(o | os | a | as)] <luz> aqui"
|
|
110
153
|
],
|
|
111
154
|
"slots": {
|
|
112
155
|
"domain": "light"
|
|
@@ -155,17 +198,26 @@
|
|
|
155
198
|
},
|
|
156
199
|
{
|
|
157
200
|
"sentences": [
|
|
158
|
-
"<abre>
|
|
201
|
+
"<abre> <estores> <na_zona>"
|
|
159
202
|
],
|
|
160
203
|
"response": "cover",
|
|
161
204
|
"slots": {
|
|
162
|
-
"device_class": [
|
|
163
|
-
"blind",
|
|
164
|
-
"curtain",
|
|
165
|
-
"shutter"
|
|
166
|
-
],
|
|
167
205
|
"domain": "cover"
|
|
168
206
|
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"sentences": [
|
|
210
|
+
"<abre> <estores> [aqui]"
|
|
211
|
+
],
|
|
212
|
+
"response": "cover",
|
|
213
|
+
"slots": {
|
|
214
|
+
"domain": "cover"
|
|
215
|
+
},
|
|
216
|
+
"requires_context": {
|
|
217
|
+
"area": {
|
|
218
|
+
"slot": true
|
|
219
|
+
}
|
|
220
|
+
}
|
|
169
221
|
}
|
|
170
222
|
]
|
|
171
223
|
},
|
|
@@ -196,6 +248,32 @@
|
|
|
196
248
|
}
|
|
197
249
|
]
|
|
198
250
|
},
|
|
251
|
+
"HassIncreaseTimer": {
|
|
252
|
+
"data": [
|
|
253
|
+
{
|
|
254
|
+
"sentences": [
|
|
255
|
+
"<aumentar> <timer_duration> [ao |no ]<temporizador>",
|
|
256
|
+
"<aumentar> <timer_duration> [ao |no ]<temporizador> [de ]<timer_start>",
|
|
257
|
+
"<aumentar> <timer_duration> [ao |no ]<temporizador> <na_zona>",
|
|
258
|
+
"<aumentar> <timer_duration> [ao |no ]<temporizador> [chamado ]{timer_name:name}"
|
|
259
|
+
],
|
|
260
|
+
"expansion_rules": {
|
|
261
|
+
"aumentar": "(aumenta[r]|adiciona[r]|acrescenta[r])[ em]"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"sentences": [
|
|
266
|
+
"<aumentar> [ao |no ]<temporizador> [em ]<timer_duration>",
|
|
267
|
+
"<aumentar> [ao |no ]<temporizador> [de ]<timer_start> [em ]<timer_duration>",
|
|
268
|
+
"<aumentar> [ao |no ]<temporizador> <na_zona> [em ]<timer_duration>",
|
|
269
|
+
"<aumentar> [ao |no ]<temporizador> [chamado ]{timer_name:name} [em ]<timer_duration>"
|
|
270
|
+
],
|
|
271
|
+
"expansion_rules": {
|
|
272
|
+
"aumentar": "(aumenta[r]|adiciona[r]|acrescenta[r])"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
199
277
|
"HassLightSet": {
|
|
200
278
|
"data": [
|
|
201
279
|
{
|
|
@@ -244,6 +322,87 @@
|
|
|
244
322
|
}
|
|
245
323
|
]
|
|
246
324
|
},
|
|
325
|
+
"HassPauseTimer": {
|
|
326
|
+
"data": [
|
|
327
|
+
{
|
|
328
|
+
"sentences": [
|
|
329
|
+
"<timer_pause> <temporizador>",
|
|
330
|
+
"<timer_pause> <temporizador> [de ]<timer_start>",
|
|
331
|
+
"<timer_pause> <temporizador> <na_zona>",
|
|
332
|
+
"<timer_pause> <temporizador> [chamado ]{timer_name:name}"
|
|
333
|
+
],
|
|
334
|
+
"expansion_rules": {
|
|
335
|
+
"timer_pause": "(pausa[r]|para[r])"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
"HassDecreaseTimer": {
|
|
341
|
+
"data": [
|
|
342
|
+
{
|
|
343
|
+
"sentences": [
|
|
344
|
+
"<reduzir> <timer_duration> [do ]<temporizador>",
|
|
345
|
+
"<reduzir> <timer_duration> [do ]<temporizador> [de ]<timer_start>",
|
|
346
|
+
"<reduzir> <timer_duration> [do ]<temporizador> <na_zona>",
|
|
347
|
+
"<reduzir> <timer_duration> [do ]<temporizador> [chamado ]{timer_name:name}"
|
|
348
|
+
],
|
|
349
|
+
"expansion_rules": {
|
|
350
|
+
"reduzir": "(reduz[ir]|remove[r]|retira[r])[ em]"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"sentences": [
|
|
355
|
+
"<reduzir> [do ]<temporizador> [em ]<timer_duration>",
|
|
356
|
+
"<reduzir> [do ]<temporizador> [de ]<timer_start> [em ]<timer_duration>",
|
|
357
|
+
"<reduzir> [do ]<temporizador> <na_zona> [em ]<timer_duration>",
|
|
358
|
+
"<reduzir> [do ]<temporizador> [chamado ]{timer_name:name} [em ]<timer_duration>"
|
|
359
|
+
],
|
|
360
|
+
"expansion_rules": {
|
|
361
|
+
"reduzir": "(reduz[ir]|remove[r]|retira[r])"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"HassUnpauseTimer": {
|
|
367
|
+
"data": [
|
|
368
|
+
{
|
|
369
|
+
"sentences": [
|
|
370
|
+
"<continuar> <temporizador>",
|
|
371
|
+
"<continuar> <temporizador> [de ]<timer_start>",
|
|
372
|
+
"<continuar> <temporizador> <na_zona>",
|
|
373
|
+
"<continuar> <temporizador>[ chamado] {timer_name:name}"
|
|
374
|
+
],
|
|
375
|
+
"expansion_rules": {
|
|
376
|
+
"continuar": "(continua[r]|retoma[r])"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
"HassStartTimer": {
|
|
382
|
+
"data": [
|
|
383
|
+
{
|
|
384
|
+
"sentences": [
|
|
385
|
+
"[<timer_set> ][um ]<temporizador>[ <duration_prefix>] <timer_duration>",
|
|
386
|
+
"[<timer_set> ][um ]<temporizador>[ chamado] {timer_name:name}[ <duration_prefix>] <timer_duration>",
|
|
387
|
+
"[<timer_set> ][um ]<temporizador>[ <duration_prefix>] <timer_duration>[ chamado] {timer_name:name}"
|
|
388
|
+
],
|
|
389
|
+
"expansion_rules": {
|
|
390
|
+
"timer_set": "(define|definir|começa[r]|inicia[r]|cria[r])",
|
|
391
|
+
"duration_prefix": "(de|com|para)"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"sentences": [
|
|
396
|
+
"{timer_command:conversation_command} <daqui_a> <timer_duration>",
|
|
397
|
+
"<daqui_a> <timer_duration> {timer_command:conversation_command}"
|
|
398
|
+
],
|
|
399
|
+
"expansion_rules": {
|
|
400
|
+
"daqui_a": "(em|dentro de|daqui a)"
|
|
401
|
+
},
|
|
402
|
+
"response": "command"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
247
406
|
"HassClimateGetTemperature": {
|
|
248
407
|
"data": [
|
|
249
408
|
{
|
|
@@ -378,6 +537,43 @@
|
|
|
378
537
|
}
|
|
379
538
|
]
|
|
380
539
|
},
|
|
540
|
+
"HassSetPosition": {
|
|
541
|
+
"data": [
|
|
542
|
+
{
|
|
543
|
+
"sentences": [
|
|
544
|
+
"(<muda>|<abre>|<fecha>) <nome> (para|até) <posicao>"
|
|
545
|
+
],
|
|
546
|
+
"requires_context": {
|
|
547
|
+
"domain": "cover"
|
|
548
|
+
},
|
|
549
|
+
"slots": {
|
|
550
|
+
"domain": "cover"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"sentences": [
|
|
555
|
+
"(<muda>|<abre>|<fecha>) [as|os|a|o] {cover_classes:device_class} ((para|até) <posicao>;<na_zona>)",
|
|
556
|
+
"(<muda>|<abre>|<fecha>) <na_zona> [as|os|a|o] {cover_classes:device_class} (para|até) <posicao>"
|
|
557
|
+
],
|
|
558
|
+
"slots": {
|
|
559
|
+
"domain": "cover"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"sentences": [
|
|
564
|
+
"(<muda>|<abre>|<fecha>) <estores> (para|até) <posicao>"
|
|
565
|
+
],
|
|
566
|
+
"slots": {
|
|
567
|
+
"domain": "cover"
|
|
568
|
+
},
|
|
569
|
+
"requires_context": {
|
|
570
|
+
"area": {
|
|
571
|
+
"slot": true
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
381
577
|
"HassListAddItem": {
|
|
382
578
|
"data": [
|
|
383
579
|
{
|
|
@@ -424,6 +620,10 @@
|
|
|
424
620
|
"fan_all": "Todas as ventoinhas desligadas",
|
|
425
621
|
"cover_device_class": "Fechado {{ slots.device_class }}"
|
|
426
622
|
},
|
|
623
|
+
"HassStartTimer": {
|
|
624
|
+
"default": "Temporizador iniciado",
|
|
625
|
+
"command": "Comando recebido"
|
|
626
|
+
},
|
|
427
627
|
"HassShoppingListAddItem": {
|
|
428
628
|
"item_added": "Adicionei {{ slots.item }}"
|
|
429
629
|
},
|
|
@@ -436,9 +636,18 @@
|
|
|
436
636
|
"scene": "Ativado",
|
|
437
637
|
"script": "Iniciado"
|
|
438
638
|
},
|
|
639
|
+
"HassPauseTimer": {
|
|
640
|
+
"default": "Temporizador em pausa"
|
|
641
|
+
},
|
|
642
|
+
"HassTimerStatus": {
|
|
643
|
+
"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"
|
|
644
|
+
},
|
|
439
645
|
"HassListAddItem": {
|
|
440
646
|
"item_added": "Adicionei {{ slots.item }}"
|
|
441
647
|
},
|
|
648
|
+
"HassUnpauseTimer": {
|
|
649
|
+
"default": "Temporizador retomado"
|
|
650
|
+
},
|
|
442
651
|
"HassGetWeather": {
|
|
443
652
|
"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
653
|
},
|
|
@@ -449,9 +658,21 @@
|
|
|
449
658
|
"HassVacuumStart": {
|
|
450
659
|
"default": "Limpeza iniciada"
|
|
451
660
|
},
|
|
661
|
+
"HassSetPosition": {
|
|
662
|
+
"default": "Posição alterada"
|
|
663
|
+
},
|
|
664
|
+
"HassCancelTimer": {
|
|
665
|
+
"default": "Cancelado"
|
|
666
|
+
},
|
|
452
667
|
"HassClimateGetTemperature": {
|
|
453
668
|
"default": "{{ state_attr(state.entity_id, 'current_temperature') }}"
|
|
454
669
|
},
|
|
670
|
+
"HassDecreaseTimer": {
|
|
671
|
+
"default": "Tempo reduzido"
|
|
672
|
+
},
|
|
673
|
+
"HassIncreaseTimer": {
|
|
674
|
+
"default": "Tempo incrementado"
|
|
675
|
+
},
|
|
455
676
|
"HassVacuumReturnToBase": {
|
|
456
677
|
"default": "A regressar"
|
|
457
678
|
}
|
|
@@ -667,6 +888,61 @@
|
|
|
667
888
|
},
|
|
668
889
|
"shopping_list_item": {
|
|
669
890
|
"wildcard": true
|
|
891
|
+
},
|
|
892
|
+
"position": {
|
|
893
|
+
"range": {
|
|
894
|
+
"type": "percentage",
|
|
895
|
+
"from": 0,
|
|
896
|
+
"to": 100
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
"timer_seconds": {
|
|
900
|
+
"range": {
|
|
901
|
+
"from": 1,
|
|
902
|
+
"to": 100
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"timer_words_seconds": {
|
|
906
|
+
"values": [
|
|
907
|
+
{
|
|
908
|
+
"in": "um|uma",
|
|
909
|
+
"out": 1
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
"timer_minutes": {
|
|
914
|
+
"range": {
|
|
915
|
+
"from": 1,
|
|
916
|
+
"to": 100
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"timer_words_minutes": {
|
|
920
|
+
"values": [
|
|
921
|
+
{
|
|
922
|
+
"in": "um|uma",
|
|
923
|
+
"out": 1
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
"timer_hours": {
|
|
928
|
+
"range": {
|
|
929
|
+
"from": 1,
|
|
930
|
+
"to": 100
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"timer_words_hours": {
|
|
934
|
+
"values": [
|
|
935
|
+
{
|
|
936
|
+
"in": "um|uma",
|
|
937
|
+
"out": 1
|
|
938
|
+
}
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
"timer_name": {
|
|
942
|
+
"wildcard": true
|
|
943
|
+
},
|
|
944
|
+
"timer_command": {
|
|
945
|
+
"wildcard": true
|
|
670
946
|
}
|
|
671
947
|
},
|
|
672
948
|
"expansion_rules": {
|
|
@@ -680,13 +956,32 @@
|
|
|
680
956
|
"fecha": "(fecha|feche|fechar)",
|
|
681
957
|
"juntar": "(junte|junta[r])",
|
|
682
958
|
"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)",
|
|
959
|
+
"muda": "(põe|ponha|muda|altera|coloca|deixa|pôr|mudar|alterar|colocar|deixar|aumenta|sobe|diminui|baixa)",
|
|
684
960
|
"na_zona": "(no|na|da|do) {area}",
|
|
685
961
|
"nome": "[(o|os|a|as)] {name}",
|
|
686
962
|
"por": "pôr|põe|ponha",
|
|
687
963
|
"qual": "(que|qual|qual é|quais)",
|
|
688
964
|
"temperatura": "{temperature}[°| graus] [{temperature_unit}]",
|
|
689
|
-
"zona": "[(o|os|a|as)] {area}"
|
|
965
|
+
"zona": "[(o|os|a|as)] {area}",
|
|
966
|
+
"estores": "[as|os|a|o] (cortina|cortinas|cortinado|cortinados|estore|estores|persiana|persianas)",
|
|
967
|
+
"posicao": "{position}[[ ]%| porcento]",
|
|
968
|
+
"luz": "(luz | luzes | candeeiro | candeeiros)",
|
|
969
|
+
"temporizador": "[o ][meu ](temporizador|cronómetro|timer)",
|
|
970
|
+
"temporizadores": "[os ][meus ](temporizadores|cronómetros|timers)",
|
|
971
|
+
"nb_seconds": "({timer_seconds:seconds}|{timer_words_seconds:seconds})",
|
|
972
|
+
"nb_minutes": "({timer_minutes:minutes}|{timer_words_minutes:minutes})",
|
|
973
|
+
"nb_hours": "({timer_hours:hours}|{timer_words_hours:hours})",
|
|
974
|
+
"nb_start_seconds": "({timer_seconds:start_seconds}|{timer_words_seconds:start_seconds})",
|
|
975
|
+
"nb_start_minutes": "({timer_minutes:start_minutes}|{timer_words_minutes:start_minutes})",
|
|
976
|
+
"nb_start_hours": "({timer_hours:start_hours}|{timer_words_hours:start_hours})",
|
|
977
|
+
"timer_duration_seconds": "<nb_seconds> segundo[s]",
|
|
978
|
+
"timer_duration_minutes": "<nb_minutes> minuto[s][ [e ]<timer_duration_seconds>]",
|
|
979
|
+
"timer_duration_hours": "<nb_hours> hora[s][ [e ]<timer_duration_minutes>]",
|
|
980
|
+
"timer_duration": "(<timer_duration_seconds>|<timer_duration_minutes>|<timer_duration_hours>)",
|
|
981
|
+
"timer_start_seconds": "<nb_start_seconds> segundo[s]",
|
|
982
|
+
"timer_start_minutes": "<nb_start_minutes> minuto[s][ [e ]<timer_start_seconds>]",
|
|
983
|
+
"timer_start_hours": "<nb_start_hours> hora[s][ [e ]<timer_start_minutes>]",
|
|
984
|
+
"timer_start": "(<timer_start_seconds>|<timer_start_minutes>|<timer_start_hours>)"
|
|
690
985
|
},
|
|
691
986
|
"skip_words": [
|
|
692
987
|
"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
|
},
|
|
@@ -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
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|