home-assistant-intents 2025.7.30__py3-none-any.whl → 2025.8.29__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.
- home_assistant_intents/data/ca.json +303 -6
- home_assistant_intents/data/cs.json +36 -0
- home_assistant_intents/data/da.json +23 -0
- home_assistant_intents/data/de.json +796 -248
- home_assistant_intents/data/el.json +174 -0
- home_assistant_intents/data/en.json +273 -9
- home_assistant_intents/data/es.json +22 -2
- home_assistant_intents/data/it.json +49 -24
- home_assistant_intents/data/nl.json +304 -1
- home_assistant_intents/data/pt-BR.json +260 -26
- home_assistant_intents/data/ro.json +300 -7
- home_assistant_intents/data/sk.json +53 -0
- home_assistant_intents/data/sr.json +94 -0
- home_assistant_intents/fuzzy/config.json +45 -21
- home_assistant_intents/fuzzy/en/ngram/fan_HassFanSetSpeed.db +0 -0
- home_assistant_intents/fuzzy/en/ngram/fan_HassFanSetSpeed.json +36 -0
- home_assistant_intents/fuzzy/en/ngram/fan_HassTurnOn.db +0 -0
- home_assistant_intents/fuzzy/en/ngram/media_player_HassSetVolumeRelative.db +0 -0
- home_assistant_intents/fuzzy/en/ngram/media_player_HassSetVolumeRelative.json +30 -0
- {home_assistant_intents-2025.7.30.dist-info → home_assistant_intents-2025.8.29.dist-info}/METADATA +4 -4
- {home_assistant_intents-2025.7.30.dist-info → home_assistant_intents-2025.8.29.dist-info}/RECORD +24 -20
- {home_assistant_intents-2025.7.30.dist-info → home_assistant_intents-2025.8.29.dist-info}/WHEEL +0 -0
- {home_assistant_intents-2025.7.30.dist-info → home_assistant_intents-2025.8.29.dist-info}/licenses/LICENSE.md +0 -0
- {home_assistant_intents-2025.7.30.dist-info → home_assistant_intents-2025.8.29.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"language": "ca",
|
|
3
3
|
"intents": {
|
|
4
|
+
"HassMediaSearchAndPlay": {
|
|
5
|
+
"data": [
|
|
6
|
+
{
|
|
7
|
+
"sentences": [
|
|
8
|
+
"<reproduir> [el |la |l']{media_class} [de |d']{search_query}",
|
|
9
|
+
"<reproduir> {search_query} [<pronom_singular>]{media_class}",
|
|
10
|
+
"<reproduir> {search_query}"
|
|
11
|
+
],
|
|
12
|
+
"requires_context": {
|
|
13
|
+
"area": {
|
|
14
|
+
"slot": true
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"sentences": [
|
|
20
|
+
"<reproduir> [el |la |l']{media_class} [de |d']{search_query} [<area>]",
|
|
21
|
+
"<reproduir> {search_query} [<preposicio_base_singular>] <name> <area>",
|
|
22
|
+
"<reproduir> {search_query} [el |la |l']{media_class} <area>",
|
|
23
|
+
"<reproduir> {search_query} <area>"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"sentences": [
|
|
28
|
+
"<reproduir> {search_query}",
|
|
29
|
+
"<reproduir> {search_query} [<preposicio_base_singular>] <name>",
|
|
30
|
+
"<reproduir> [el |la |l']{media_class} [de |d']{search_query} [<preposicio_base_singular>] <name> [<area>]",
|
|
31
|
+
"<reproduir> {search_query} [el |la |l']{media_class} [<preposicio_base_singular>] <name>",
|
|
32
|
+
"<reproduir> {search_query} <name>",
|
|
33
|
+
"<reproduir> {search_query} <name> <area>",
|
|
34
|
+
"<reproduir> {search_query} <area>"
|
|
35
|
+
],
|
|
36
|
+
"requires_context": {
|
|
37
|
+
"domain": "media_player"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
4
42
|
"HassTurnOff": {
|
|
5
43
|
"data": [
|
|
6
44
|
{
|
|
@@ -889,7 +927,8 @@
|
|
|
889
927
|
{
|
|
890
928
|
"sentences": [
|
|
891
929
|
"([Fes un] anunci|anuncia) [a tot arreu] [que digui|dient] [que] {message}",
|
|
892
|
-
"[Fes un] broadcast [a tot arreu] [que digui|dient] [que] {message}"
|
|
930
|
+
"[Fes un] broadcast [a tot arreu] [que digui|dient] [que] {message}",
|
|
931
|
+
"avisa [a tot arreu] [dient] [de que|que] {message}"
|
|
893
932
|
]
|
|
894
933
|
}
|
|
895
934
|
]
|
|
@@ -943,10 +982,34 @@
|
|
|
943
982
|
"data": [
|
|
944
983
|
{
|
|
945
984
|
"sentences": [
|
|
946
|
-
"(<pujar>|<baixar>|<configura>) ([el] (volum|so)|[la] veu) [<preposicio>] {name}
|
|
985
|
+
"(<pujar>|<baixar>|<configura>) ([el] (volum|so)|[la] veu) [<preposicio>] {name} (a|al) {volume:volume_level}[<percent>]"
|
|
947
986
|
],
|
|
948
987
|
"requires_context": {
|
|
949
988
|
"domain": "media_player"
|
|
989
|
+
},
|
|
990
|
+
"required_keywords": [
|
|
991
|
+
"a",
|
|
992
|
+
"al"
|
|
993
|
+
]
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
"HassListCompleteItem": {
|
|
998
|
+
"data": [
|
|
999
|
+
{
|
|
1000
|
+
"sentences": [
|
|
1001
|
+
"<completa> <item> de la [meva] llista (de|del|de la|amb nom|anomenada) {name}",
|
|
1002
|
+
"<completa> <item> de <my_list>",
|
|
1003
|
+
"<completa> de <my_list> [un[a|es]|que] <item>"
|
|
1004
|
+
],
|
|
1005
|
+
"response": "item_completed",
|
|
1006
|
+
"requires_context": {
|
|
1007
|
+
"domain": "todo"
|
|
1008
|
+
},
|
|
1009
|
+
"expansion_rules": {
|
|
1010
|
+
"my_list": "[la] [meva] llista [de|del|de la] {name}",
|
|
1011
|
+
"item": "{todo_list_item:item}",
|
|
1012
|
+
"completa": "(acaba|completa|desmarca|elimina|cancel[·l]a)[r]"
|
|
950
1013
|
}
|
|
951
1014
|
}
|
|
952
1015
|
]
|
|
@@ -976,6 +1039,170 @@
|
|
|
976
1039
|
]
|
|
977
1040
|
}
|
|
978
1041
|
]
|
|
1042
|
+
},
|
|
1043
|
+
"HassSetVolumeRelative": {
|
|
1044
|
+
"data": [
|
|
1045
|
+
{
|
|
1046
|
+
"sentences": [
|
|
1047
|
+
"(<pujar>|posa[r|-li]) [el|més] (volum|so)",
|
|
1048
|
+
"(<pujar>|posa[r|-li]) [la|més] (veu)",
|
|
1049
|
+
"més <volum>"
|
|
1050
|
+
],
|
|
1051
|
+
"slots": {
|
|
1052
|
+
"volume_step": "up"
|
|
1053
|
+
},
|
|
1054
|
+
"requires_context": {
|
|
1055
|
+
"area": {
|
|
1056
|
+
"slot": true
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"sentences": [
|
|
1062
|
+
"(<pujar>|posa[r|-li]) [el|més] (volum|so) [per|un|al] <volume_step>",
|
|
1063
|
+
"(<pujar>|posa[r|-li]) [la|més] (veu) [per|un|al] <volume_step>"
|
|
1064
|
+
],
|
|
1065
|
+
"expansion_rules": {
|
|
1066
|
+
"volume_step": "{volume_step_up:volume_step}[<percent>]"
|
|
1067
|
+
},
|
|
1068
|
+
"requires_context": {
|
|
1069
|
+
"area": {
|
|
1070
|
+
"slot": true
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"sentences": [
|
|
1076
|
+
"(<baixar>) [el|més] (volum|so)",
|
|
1077
|
+
"(<baixar>) [la|més] (veu)",
|
|
1078
|
+
"menys <volum>"
|
|
1079
|
+
],
|
|
1080
|
+
"slots": {
|
|
1081
|
+
"volume_step": "down"
|
|
1082
|
+
},
|
|
1083
|
+
"requires_context": {
|
|
1084
|
+
"area": {
|
|
1085
|
+
"slot": true
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"sentences": [
|
|
1091
|
+
"(<baixar>) [el|més] (volum|so) [per|un|al] <volume_step>",
|
|
1092
|
+
"(<baixar>) [la|més] (veu) [per|un|al] <volume_step>"
|
|
1093
|
+
],
|
|
1094
|
+
"expansion_rules": {
|
|
1095
|
+
"volume_step": "{volume_step_down:volume_step}[<percent>]"
|
|
1096
|
+
},
|
|
1097
|
+
"requires_context": {
|
|
1098
|
+
"area": {
|
|
1099
|
+
"slot": true
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"sentences": [
|
|
1105
|
+
"(<name>;més <volum>)",
|
|
1106
|
+
"(<pujar>) [el|la|més] <volum> [de|del|per|pel|al|a] <name>",
|
|
1107
|
+
"<name> <pujar> [el|la] <volum>"
|
|
1108
|
+
],
|
|
1109
|
+
"slots": {
|
|
1110
|
+
"volume_step": "up"
|
|
1111
|
+
},
|
|
1112
|
+
"requires_context": {
|
|
1113
|
+
"domain": "media_player"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"sentences": [
|
|
1118
|
+
"(<name>;més <volum>) [per|un|al] <volume_step>",
|
|
1119
|
+
"<name>;<volume_step> més [de] <volum>",
|
|
1120
|
+
"(<pujar>) [el|la|més] <volum> [de|del|per|pel|al|a] <name> [per|un|al] <volume_step>",
|
|
1121
|
+
"<name> <pujar> [el|la] <volum> [per|un|al] <volume_step>"
|
|
1122
|
+
],
|
|
1123
|
+
"expansion_rules": {
|
|
1124
|
+
"volume_step": "{volume_step_up:volume_step}[<percent>]"
|
|
1125
|
+
},
|
|
1126
|
+
"slots": {
|
|
1127
|
+
"volume_step": "up"
|
|
1128
|
+
},
|
|
1129
|
+
"requires_context": {
|
|
1130
|
+
"domain": "media_player"
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"sentences": [
|
|
1135
|
+
"(<name>;menys <volum>)",
|
|
1136
|
+
"(<baixar>) [el|la] <volum> [de|del|per|pel|al|a] <name>",
|
|
1137
|
+
"<name> <baixar> [el|la] <volum>"
|
|
1138
|
+
],
|
|
1139
|
+
"slots": {
|
|
1140
|
+
"volume_step": "down"
|
|
1141
|
+
},
|
|
1142
|
+
"requires_context": {
|
|
1143
|
+
"domain": "media_player"
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"sentences": [
|
|
1148
|
+
"(<name>;menys <volum>) [per|un|al] <volume_step>",
|
|
1149
|
+
"<name>;<volume_step> menys [de] <volum>",
|
|
1150
|
+
"(<baixar>) [el|la] <volum> [de|del|per|pel|al|a] <name> [per|un|al] <volume_step>",
|
|
1151
|
+
"<name> <baixar> [el|la] <volum> [per|un|al] <volume_step>"
|
|
1152
|
+
],
|
|
1153
|
+
"expansion_rules": {
|
|
1154
|
+
"volume_step": "{volume_step_down:volume_step}[<percent>]"
|
|
1155
|
+
},
|
|
1156
|
+
"slots": {
|
|
1157
|
+
"volume_step": "down"
|
|
1158
|
+
},
|
|
1159
|
+
"requires_context": {
|
|
1160
|
+
"domain": "media_player"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"sentences": [
|
|
1165
|
+
"(<area_floor>;més <volum>)",
|
|
1166
|
+
"(<pujar>) [el|la|més] <volum> <area_floor>",
|
|
1167
|
+
"<area_floor> <pujar> [el|la] <volum>"
|
|
1168
|
+
],
|
|
1169
|
+
"slots": {
|
|
1170
|
+
"volume_step": "up"
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"sentences": [
|
|
1175
|
+
"(<area_floor>;més <volum>) [per|un|al] <volume_step>",
|
|
1176
|
+
"<area_floor>;<volume_step> més [de] <volum>",
|
|
1177
|
+
"(<pujar>) [el|la|més] <volum> <area_floor> [per|un|al] <volume_step>",
|
|
1178
|
+
"<area_floor> <pujar> [el|la] <volum> [per|un|al] <volume_step>"
|
|
1179
|
+
],
|
|
1180
|
+
"expansion_rules": {
|
|
1181
|
+
"volume_step": "{volume_step_up:volume_step}[<percent>]"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"sentences": [
|
|
1186
|
+
"(<area_floor>;menys <volum>)",
|
|
1187
|
+
"(<baixar>) [el|la] <volum> <area_floor>",
|
|
1188
|
+
"<area_floor> <baixar> [el|la] <volum>"
|
|
1189
|
+
],
|
|
1190
|
+
"slots": {
|
|
1191
|
+
"volume_step": "down"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"sentences": [
|
|
1196
|
+
"(<area_floor>;menys <volum>) [per|un|al] <volume_step>",
|
|
1197
|
+
"<area_floor>;<volume_step> menys [de] <volum>",
|
|
1198
|
+
"(<baixar>) [el|la] <volum> <area_floor> [per|un|al] <volume_step>",
|
|
1199
|
+
"<area_floor> <baixar> [el|la] <volum> [per|un|al] <volume_step>"
|
|
1200
|
+
],
|
|
1201
|
+
"expansion_rules": {
|
|
1202
|
+
"volume_step": "{volume_step_down:volume_step}[<percent>]"
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
979
1206
|
}
|
|
980
1207
|
},
|
|
981
1208
|
"responses": {
|
|
@@ -995,7 +1222,7 @@
|
|
|
995
1222
|
"all": "{% if not query.unmatched: %}\n Si\n{% else %}\n {% set no_match = query.unmatched | map(attribute=\"name\") | sort | list %}\n {% if no_match | length > 4 %}\n No, ni {{ no_match[:3] | join(\", \") }} ni els altres {{ (no_match | length - 3) }} ho són\n {% elif no_match | length == 1 %}\n No, el dispositiu {{ no_match|first }} no\n {%- else -%}\n No, ni\n {% for name in no_match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} ni {% endif -%}\n {{ name }}\n {%- endfor %}\n {% endif %}\n{% endif %}\n",
|
|
996
1223
|
"which": "{% if not query.matched %}\n Cap dispositiu\n{% else: %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n {{ match[:3] | join(\", \") }} i uns altres {{ (match | length - 3) }} més\n {% else %}\n {%- for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} i {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% endif %}\n",
|
|
997
1224
|
"how_many": "{{ query.matched | length }}\n",
|
|
998
|
-
"where": "{% if state == \"not_home\" %}\n
|
|
1225
|
+
"where": "{% if not query.matched %}\n No conec a ningú que es digui {{ slots.name | capitalize }}\n{% else %}\n {% if state == \"not_home\" %}\n {{ slots.name | capitalize }} és a fora\n {% elif state == \"home\" %}\n {{ slots.name | capitalize }} és a casa\n {% else %}\n {{ slots.name | capitalize }} es troba a {{ state.state }}\n {% endif %}\n{% endif %}\n"
|
|
999
1226
|
},
|
|
1000
1227
|
"HassTurnOff": {
|
|
1001
1228
|
"default": "Apago {{ slots.name }}",
|
|
@@ -1055,7 +1282,7 @@
|
|
|
1055
1282
|
"default": "Reproduint l'anterior"
|
|
1056
1283
|
},
|
|
1057
1284
|
"HassGetWeather": {
|
|
1058
|
-
"default": "{% set weather_condition = {\n 'clear': 'Cel clar',\n 'clear-night': 'Cel clar',\n 'cloudy': 'Cel ennuvolat',\n 'exceptional': 'Clima excepcionalment advers',\n 'fog': 'Boira',\n 'hail': 'Precipitacions de calamarsa',\n 'lightning': 'Tempesta',\n 'lightning-rainy': 'Pluja i tempesta',\n 'partlycloudy': 'Cels parcialment ennuvolats',\n 'pouring': 'Plugim',\n 'rainy': 'Pluja',\n 'snowy': 'Precipitacions de neu',\n 'snowy-rainy': 'Precipitacions de aiguaneu',\n 'sunny': 'Sol',\n 'windy': 'Vent',\n 'windy-variant': 'Vent i núvols'\n} %}
|
|
1285
|
+
"default": "{% set weather_condition = {\n 'clear': 'Cel clar',\n 'clear-night': 'Cel clar',\n 'cloudy': 'Cel ennuvolat',\n 'exceptional': 'Clima excepcionalment advers',\n 'fog': 'Boira',\n 'hail': 'Precipitacions de calamarsa',\n 'lightning': 'Tempesta',\n 'lightning-rainy': 'Pluja i tempesta',\n 'partlycloudy': 'Cels parcialment ennuvolats',\n 'pouring': 'Plugim',\n 'rainy': 'Pluja',\n 'snowy': 'Precipitacions de neu',\n 'snowy-rainy': 'Precipitacions de aiguaneu',\n 'sunny': 'Sol',\n 'windy': 'Vent',\n 'windy-variant': 'Vent i núvols'\n} %} {% set weather_condition = weather_condition.get((state.state | string).lower(), \"\") %} {% set temperature_raw = state.attributes.get('temperature') | float %} {% set temperature = temperature_raw | abs | round(1) | replace('.0', '') | replace('.',',') %} {% set temperature_units = 'grau' if temperature_raw | abs == 1 else 'graus' %} {% set temperature_negative = 'sota zero' if temperature_raw < 0 else '' %} {{ weather_condition }}, amb una temperatura de {{ temperature }} {{ temperature_units }} {{ temperature_negative }}\n"
|
|
1059
1286
|
},
|
|
1060
1287
|
"HassLightSet": {
|
|
1061
1288
|
"brightness": "Brillantor de {{ slots.name }} posat a {{ slots.brightness }}",
|
|
@@ -1082,15 +1309,24 @@
|
|
|
1082
1309
|
"HassMediaNext": {
|
|
1083
1310
|
"default": "Reproduint el següent"
|
|
1084
1311
|
},
|
|
1312
|
+
"HassSetVolumeRelative": {
|
|
1313
|
+
"default": "Volum establert"
|
|
1314
|
+
},
|
|
1085
1315
|
"HassCancelTimer": {
|
|
1086
1316
|
"default": "Temporitzador cancel·lat"
|
|
1087
1317
|
},
|
|
1318
|
+
"HassMediaSearchAndPlay": {
|
|
1319
|
+
"default": "{% if slots.media: %}\nReproduïnt\n{% else: %}\nNo ho trobo\n{% endif %}\n"
|
|
1320
|
+
},
|
|
1088
1321
|
"HassClimateGetTemperature": {
|
|
1089
1322
|
"default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {{ temperature | float | abs | round(1) | replace('.0', '') | replace('.',',') }} {{ 'grau' if temperature | float | abs == 1 else 'graus' }} {{ 'sota zero' if temperature | float < 0 else '' }}\n"
|
|
1090
1323
|
},
|
|
1091
1324
|
"HassSetVolume": {
|
|
1092
1325
|
"default": "Volum establert"
|
|
1093
1326
|
},
|
|
1327
|
+
"HassListCompleteItem": {
|
|
1328
|
+
"item_completed": "Completat {{ slots.item }}"
|
|
1329
|
+
},
|
|
1094
1330
|
"HassDecreaseTimer": {
|
|
1095
1331
|
"default": "Canvio el temporitzador"
|
|
1096
1332
|
},
|
|
@@ -1365,6 +1601,63 @@
|
|
|
1365
1601
|
},
|
|
1366
1602
|
"message": {
|
|
1367
1603
|
"wildcard": true
|
|
1604
|
+
},
|
|
1605
|
+
"search_query": {
|
|
1606
|
+
"wildcard": true
|
|
1607
|
+
},
|
|
1608
|
+
"media_class": {
|
|
1609
|
+
"values": [
|
|
1610
|
+
{
|
|
1611
|
+
"in": "artista",
|
|
1612
|
+
"out": "artist"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"in": "(album|àlbum|disc)",
|
|
1616
|
+
"out": "album"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"in": "(track|pista|peça|cançó|tema)",
|
|
1620
|
+
"out": "track"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"in": "(playlist|llista de reproducció)",
|
|
1624
|
+
"out": "playlist"
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"in": "(podcast|pòdcast)",
|
|
1628
|
+
"out": "podcast"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"in": "(peli|pel·lícula|film|vídeo)",
|
|
1632
|
+
"out": "movie"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"in": "(show|sèrie [de TV|de televisió]|[l']episodi|capítol)",
|
|
1636
|
+
"out": "tv_show"
|
|
1637
|
+
}
|
|
1638
|
+
]
|
|
1639
|
+
},
|
|
1640
|
+
"fan_speed": {
|
|
1641
|
+
"range": {
|
|
1642
|
+
"type": "percentage",
|
|
1643
|
+
"from": 0,
|
|
1644
|
+
"to": 100
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
"volume_step_up": {
|
|
1648
|
+
"range": {
|
|
1649
|
+
"type": "percentage",
|
|
1650
|
+
"from": 0,
|
|
1651
|
+
"to": 100
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
"volume_step_down": {
|
|
1655
|
+
"range": {
|
|
1656
|
+
"type": "percentage",
|
|
1657
|
+
"from": 0,
|
|
1658
|
+
"to": 100,
|
|
1659
|
+
"multiplier": -1
|
|
1660
|
+
}
|
|
1368
1661
|
}
|
|
1369
1662
|
},
|
|
1370
1663
|
"expansion_rules": {
|
|
@@ -1380,6 +1673,8 @@
|
|
|
1380
1673
|
"preposicio": "<preposicio_base> [<pronom>]",
|
|
1381
1674
|
"name": "[<pronom_singular>]{name}",
|
|
1382
1675
|
"area": "[<preposicio_singular>]{area}",
|
|
1676
|
+
"floor": "[<preposicio_singular>] [planta|pis] {floor}",
|
|
1677
|
+
"area_floor": "(<area>|<floor>)",
|
|
1383
1678
|
"quin_es": "(quin|quina|què) és",
|
|
1384
1679
|
"lluentor": "{brightness}[<percent>]",
|
|
1385
1680
|
"al_stt_typo": "(del|el|en|o)",
|
|
@@ -1394,10 +1689,11 @@
|
|
|
1394
1689
|
"llums_typo": "[[d]el[s]|la|les] (juny|junta|junts)",
|
|
1395
1690
|
"temp": "(temperatura)",
|
|
1396
1691
|
"graus": "{temperature} [graus]",
|
|
1397
|
-
"pujar": "([a]puja|aixeca)[r|t]",
|
|
1398
|
-
"baixar": "[a]baixa[r|t]",
|
|
1692
|
+
"pujar": "([a]puja|aixeca|posa)[r|t|-li]",
|
|
1693
|
+
"baixar": "[a]baixa[r|t|-li]",
|
|
1399
1694
|
"configura": "(posa[r]|puja[r]|configura[r]|ajusta[r]|canvia[r]|establ(ir|eix|ix))",
|
|
1400
1695
|
"posició": "{position}[<percent>]",
|
|
1696
|
+
"fan_speed": "{fan_speed:percentage}[<percent>]",
|
|
1401
1697
|
"percent": "(%|per[ ]cent)",
|
|
1402
1698
|
"cancela": "cancel[·l]a[r|t]",
|
|
1403
1699
|
"seguent": "següent|(proper|pròxim)[a]",
|
|
@@ -1413,6 +1709,7 @@
|
|
|
1413
1709
|
"again": "([un|una] altr(e|a) (cop|vegada)|de nou)",
|
|
1414
1710
|
"torna_a": "(torna[r] a)",
|
|
1415
1711
|
"can_you": "[pots|podries]",
|
|
1712
|
+
"volum": "(volum|so|veu)",
|
|
1416
1713
|
"temporitzador": "(temporitzador|compte enrere|minuter|cronòmetre)",
|
|
1417
1714
|
"timer_set": "(posa|crea|comença|inicia|activa|programa|fixa|estableix|engega|<timer_set_typos>)[r|t|'m]",
|
|
1418
1715
|
"timer_set_typos": "(cosa)",
|
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"language": "cs",
|
|
3
3
|
"intents": {
|
|
4
|
+
"HassMediaSearchAndPlay": {
|
|
5
|
+
"data": [
|
|
6
|
+
{
|
|
7
|
+
"sentences": [
|
|
8
|
+
"přehraj {search_query}",
|
|
9
|
+
"[s]pusť {search_query}",
|
|
10
|
+
"[pře]hr(e|a)j {search_query}"
|
|
11
|
+
],
|
|
12
|
+
"requires_context": {
|
|
13
|
+
"area": {
|
|
14
|
+
"slot": true
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"sentences": [
|
|
20
|
+
"přehraj {search_query} <area>",
|
|
21
|
+
"[s]pusť {search_query} <area>",
|
|
22
|
+
"[pře]hr(e|a)j {search_query} <area>"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"sentences": [
|
|
27
|
+
"přehraj {search_query} <v> {name} [<area>]",
|
|
28
|
+
"[s]pusť {search_query} <v> {name} [<area>]",
|
|
29
|
+
"[pře]hr(e|a)j {search_query} <v> {name} [<area>]"
|
|
30
|
+
],
|
|
31
|
+
"requires_context": {
|
|
32
|
+
"domain": "media_player"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
4
37
|
"HassTurnOff": {
|
|
5
38
|
"data": [
|
|
6
39
|
{
|
|
@@ -3831,6 +3864,9 @@
|
|
|
3831
3864
|
"HassCancelTimer": {
|
|
3832
3865
|
"default": "Časovač zastaven"
|
|
3833
3866
|
},
|
|
3867
|
+
"HassMediaSearchAndPlay": {
|
|
3868
|
+
"default": "{% if slots.media: %}\nPřehrávání začíná\n{% else: %}\nNenalezen žádný odpovídající obsah\n{% endif %}\n"
|
|
3869
|
+
},
|
|
3834
3870
|
"HassClimateGetTemperature": {
|
|
3835
3871
|
"default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {% if temperature is not none %}\n {% set rounded_temp = (temperature | int) if temperature % 1 == 0 else (temperature | float | round(1)) %}\n {% set degree_word = 'stupeň' if rounded_temp == 1 else 'stupně' if rounded_temp in [2,3,4] or rounded_temp % 1 != 0 else 'stupňů' %}\n {{ rounded_temp }} {{ degree_word }}\n{% else %}\n Omlouvám se, ale nemohu zjistit aktuální teplotu.\n{% endif %}\n"
|
|
3836
3872
|
},
|
|
@@ -3267,6 +3267,26 @@
|
|
|
3267
3267
|
}
|
|
3268
3268
|
]
|
|
3269
3269
|
},
|
|
3270
|
+
"HassListCompleteItem": {
|
|
3271
|
+
"data": [
|
|
3272
|
+
{
|
|
3273
|
+
"sentences": [
|
|
3274
|
+
"<fuldfør> <punkt> (på|fra|af) <min_liste>",
|
|
3275
|
+
"kryds <punkt> af på <min_liste>",
|
|
3276
|
+
"marker <punkt> som <fuldført> på <min_liste>",
|
|
3277
|
+
"marker <punkt> (på|fra) <min_liste> som <fuldført>"
|
|
3278
|
+
],
|
|
3279
|
+
"response": "item_completed",
|
|
3280
|
+
"requires_context": {
|
|
3281
|
+
"domain": "todo"
|
|
3282
|
+
},
|
|
3283
|
+
"expansion_rules": {
|
|
3284
|
+
"min_liste": "[min|vores] {name}[n]",
|
|
3285
|
+
"punkt": "{todo_list_item:item}"
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
]
|
|
3289
|
+
},
|
|
3270
3290
|
"HassClimateSetTemperature": {
|
|
3271
3291
|
"data": [
|
|
3272
3292
|
{
|
|
@@ -3435,6 +3455,9 @@
|
|
|
3435
3455
|
"HassSetVolume": {
|
|
3436
3456
|
"default": "Lydstyrke indstillet"
|
|
3437
3457
|
},
|
|
3458
|
+
"HassListCompleteItem": {
|
|
3459
|
+
"item_completed": "Markerede {{ slots.item }} som færdig"
|
|
3460
|
+
},
|
|
3438
3461
|
"HassDecreaseTimer": {
|
|
3439
3462
|
"default": "{% set h = slots.hours if slots.hours is defined else none %} {% set m = slots.minutes if slots.minutes is defined else none %} {% set s = slots.seconds if slots.seconds is defined else none %} {% set h_text = h ~ (' time' if h in [ \"1\", 'one'] else ' timer') if h else '' %} {% set m_text = m ~ (' minut' if m in [ \"1\", 'one'] else ' minutter') if m else '' %} {% set s_text = s ~ (' sekund' if s in [ \"1\", 'one'] else ' sekunder') if s else '' %} {% set text_list = [ h_text, m_text, s_text] | select() | list %} {% set text = text_list[:-1] | join(', ') ~ ' og ' ~ text_list[-1] if text_list | count > 2 else text_list | join(' og ') %} {% set name = (slots.name | trim) if slots.name is defined else '' %} {{ text }} trukket fra {{ name }} nedtællingen\n"
|
|
3440
3463
|
},
|