home-assistant-intents 2024.9.4__tar.gz → 2024.9.23__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.9.4/home_assistant_intents.egg-info → home_assistant_intents-2024.9.23}/PKG-INFO +1 -1
  2. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/en.json +43 -20
  3. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/nl.json +1 -6
  4. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/sl.json +6 -4
  5. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/sv.json +233 -2
  6. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23/home_assistant_intents.egg-info}/PKG-INFO +1 -1
  7. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/pyproject.toml +1 -1
  8. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/LICENSE.md +0 -0
  9. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/MANIFEST.in +0 -0
  10. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/README.md +0 -0
  11. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/__init__.py +0 -0
  12. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/af.json +0 -0
  13. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ar.json +0 -0
  14. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/bg.json +0 -0
  15. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/bn.json +0 -0
  16. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ca.json +0 -0
  17. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/cs.json +0 -0
  18. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/da.json +0 -0
  19. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/de-CH.json +0 -0
  20. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/de.json +0 -0
  21. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/el.json +0 -0
  22. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/es.json +0 -0
  23. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/et.json +0 -0
  24. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/eu.json +0 -0
  25. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/fa.json +0 -0
  26. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/fi.json +0 -0
  27. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/fr-CA.json +0 -0
  28. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/fr.json +0 -0
  29. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/gl.json +0 -0
  30. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/gu.json +0 -0
  31. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/he.json +0 -0
  32. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/hi.json +0 -0
  33. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/hr.json +0 -0
  34. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/hu.json +0 -0
  35. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/id.json +0 -0
  36. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/is.json +0 -0
  37. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/it.json +0 -0
  38. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ka.json +0 -0
  39. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/kn.json +0 -0
  40. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ko.json +0 -0
  41. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/lb.json +0 -0
  42. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/lt.json +0 -0
  43. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/lv.json +0 -0
  44. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ml.json +0 -0
  45. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/mn.json +0 -0
  46. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ms.json +0 -0
  47. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/nb.json +0 -0
  48. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/pl.json +0 -0
  49. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/pt-br.json +0 -0
  50. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/pt.json +0 -0
  51. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ro.json +0 -0
  52. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ru.json +0 -0
  53. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/sk.json +0 -0
  54. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/sr.json +0 -0
  55. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/sw.json +0 -0
  56. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/te.json +0 -0
  57. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/tr.json +0 -0
  58. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/uk.json +0 -0
  59. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/ur.json +0 -0
  60. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/vi.json +0 -0
  61. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/zh-cn.json +0 -0
  62. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/zh-hk.json +0 -0
  63. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/data/zh-tw.json +0 -0
  64. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents/languages.py +0 -0
  65. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents.egg-info/SOURCES.txt +0 -0
  66. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents.egg-info/dependency_links.txt +0 -0
  67. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents.egg-info/top_level.txt +0 -0
  68. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/home_assistant_intents.egg-info/zip-safe +0 -0
  69. {home_assistant_intents-2024.9.4 → home_assistant_intents-2024.9.23}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: home-assistant-intents
3
- Version: 2024.9.4
3
+ Version: 2024.9.23
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
@@ -1206,7 +1206,7 @@
1206
1206
  },
1207
1207
  {
1208
1208
  "sentences": [
1209
- "is <name> {cover_states:state} [[(in|on) ](<area>|<floor>)]"
1209
+ "<is> <name> {cover_states:state} [<in_area_floor>]"
1210
1210
  ],
1211
1211
  "response": "one_yesno",
1212
1212
  "requires_context": {
@@ -1218,8 +1218,20 @@
1218
1218
  },
1219
1219
  {
1220
1220
  "sentences": [
1221
- "(is|are) any {cover_classes:device_class} {cover_states:state} [[(in|on) ](<area>|<floor>)]",
1222
- "(is|are) any (<area>|<floor>) {cover_classes:device_class} {cover_states:state}"
1221
+ "<what_is> <state> of <name> [<in_area_floor>]"
1222
+ ],
1223
+ "response": "one",
1224
+ "requires_context": {
1225
+ "domain": "cover"
1226
+ },
1227
+ "slots": {
1228
+ "domain": "cover"
1229
+ }
1230
+ },
1231
+ {
1232
+ "sentences": [
1233
+ "<are_any> {cover_classes:device_class} {cover_states:state} [<in_area_floor>]",
1234
+ "<are_any> <area_floor> {cover_classes:device_class} {cover_states:state}"
1223
1235
  ],
1224
1236
  "response": "any",
1225
1237
  "slots": {
@@ -1228,8 +1240,8 @@
1228
1240
  },
1229
1241
  {
1230
1242
  "sentences": [
1231
- "are all [the] {cover_classes:device_class} {cover_states:state} [[(in|on) ](<area>|<floor>)]",
1232
- "are all [the] (<area>|<floor>) {cover_classes:device_class} {cover_states:state}"
1243
+ "<are_all> {cover_classes:device_class} {cover_states:state} [<in_area_floor>]",
1244
+ "<are_all> <area_floor> {cover_classes:device_class} {cover_states:state}"
1233
1245
  ],
1234
1246
  "response": "all",
1235
1247
  "slots": {
@@ -1238,8 +1250,8 @@
1238
1250
  },
1239
1251
  {
1240
1252
  "sentences": [
1241
- "(which|what) {cover_classes:device_class} (is|are) {cover_states:state} [[(in|on) ](<area>|<floor>)]",
1242
- "(which|what) (<area>|<floor>) {cover_classes:device_class} (is|are) {cover_states:state}"
1253
+ "<which> {cover_classes:device_class} <is> {cover_states:state} [<in_area_floor>]",
1254
+ "<which> <area_floor> {cover_classes:device_class} <is> {cover_states:state}"
1243
1255
  ],
1244
1256
  "response": "which",
1245
1257
  "slots": {
@@ -1248,8 +1260,8 @@
1248
1260
  },
1249
1261
  {
1250
1262
  "sentences": [
1251
- "how many {cover_classes:device_class} (is|are) {cover_states:state} [[(in|on) ](<area>|<floor>)]",
1252
- "how many (<area>|<floor>) {cover_classes:device_class} (is|are) {cover_states:state}"
1263
+ "<how_many> {cover_classes:device_class} <is> {cover_states:state} [<in_area_floor>]",
1264
+ "<how_many> <area_floor> {cover_classes:device_class} <is> {cover_states:state}"
1253
1265
  ],
1254
1266
  "response": "how_many",
1255
1267
  "slots": {
@@ -4013,28 +4025,38 @@
4013
4025
  }
4014
4026
  },
4015
4027
  "expansion_rules": {
4016
- "name": "[the] {name}",
4017
- "area": "[the] {area}",
4018
- "floor": "[the] {floor}[ floor]",
4019
- "what_is": "(what's|whats|what is)",
4028
+ "name": "[the ]{name}",
4029
+ "area": "[the ]{area}",
4030
+ "floor": "[the ]{floor}[ floor]",
4031
+ "area_floor": "(<area>|<floor>)",
4032
+ "in_area_floor": "[<in> ]<area_floor>",
4033
+ "what_is": "(what's|whats|what is|tell me)[ the]",
4020
4034
  "lockable": "[the ](lock|door|window|gate|garage door|shutter)[s]",
4021
4035
  "where_is": "(where's|wheres|where is)",
4036
+ "which": "(which|what)[ of the]",
4037
+ "is": "(is|are)[ (there|the)]",
4038
+ "are": "<is>",
4039
+ "any": "(any|some)[ of the]",
4040
+ "are_any": "[<are> ]<any>",
4041
+ "how_many": "how many[ of the]",
4022
4042
  "brightness": "{brightness}[[ ]%| percent]",
4023
- "light": "[the] (light|lights|lighting)",
4043
+ "light": "[the ](light|lights|lighting|lamp|lamps)",
4024
4044
  "turn": "(turn|switch|change)",
4025
4045
  "temp": "(temp|temperature)",
4026
4046
  "temperature": "{temperature}[([ ]°[ ][{temperature_unit}])|( degrees[ {temperature_unit}])]",
4027
- "open": "(open|raise)",
4028
- "close": "(close|shut|lower)",
4047
+ "open": "(open|raise|lift)[ up]",
4048
+ "close": "(close|shut|lower)[ (up|down)]",
4029
4049
  "set": "(set|make|change|turn)",
4030
- "numeric_value_set": "(set|change|turn|increase|decrease|make)",
4050
+ "numeric_value_set": "(set|change|turn[ (up|down)]|increase|decrease|make)",
4031
4051
  "in": "(in|on|at|of)",
4032
4052
  "position": "{position}[[ ]%| percent]",
4033
4053
  "volume": "{volume:volume_level}[[ ]%| percent]",
4034
4054
  "currently": "(currently|presently|right now|at the moment)",
4035
- "all": "(all|all of|every|every single|each|each and every)",
4055
+ "state": "[(present|current) ](state|status)",
4056
+ "all": "(all[[ of] the]|every[ single]|each[ and every])",
4057
+ "are_all": "[<are> ]<all>",
4036
4058
  "home": "(home|house|appartment|flat)",
4037
- "everywhere": "(everywhere|in all [the] rooms|in every room[s]|in each room|in the <home>)",
4059
+ "everywhere": "(everywhere|in (all|each)[[ of] the] room[s]|in every room[s]|in the <home>)",
4038
4060
  "here": "(here|in here|in this room|in the room)",
4039
4061
  "what_is_the_class_of_name": "(<what_is> the <class> (of|in|from|(indicated|measured) by) <name> [in <area>]|<what_is> <name>['s] <class> [in <area>]|<what_is> <area> <name>['s] <class>)",
4040
4062
  "timer_set": "(start|set|create)",
@@ -4050,6 +4072,7 @@
4050
4072
  },
4051
4073
  "skip_words": [
4052
4074
  "please",
4053
- "can you"
4075
+ "can you",
4076
+ "would you"
4054
4077
  ]
4055
4078
  }
@@ -2804,12 +2804,7 @@
2804
2804
  "<timer_set>[ een] <timer_duration> timer (genaamd|met de naam|voor) {timer_name:name}",
2805
2805
  "<timer_set>[ een] timer (genaamd|met de naam|voor) {timer_name:name} (van|voor) <timer_duration>",
2806
2806
  "<timer_set>[ een] timer (van|voor) <timer_duration> (genaamd|met de naam|voor) {timer_name:name}"
2807
- ],
2808
- "requires_context": {
2809
- "area": {
2810
- "slot": false
2811
- }
2812
- }
2807
+ ]
2813
2808
  }
2814
2809
  ]
2815
2810
  },
@@ -3036,16 +3036,18 @@
3036
3036
  "data": [
3037
3037
  {
3038
3038
  "sentences": [
3039
- "kakšna je <temp> [[v|na] <area>]",
3040
- "ali je (toplo|hladno|vroče) [[v|na] <area>]",
3039
+ "(kakšna|kaksna) je <temp> [[v|na] <area>]",
3040
+ "ali je (toplo|hladno|vroče|vroce) [[v|na] <area>]",
3041
3041
  "<temp> <area>",
3042
3042
  "koliko stopinj je [[v|na] <area>]",
3043
- "povej mi <temp> [[v|na] <area>]"
3043
+ "povej mi <temp> [[v|na] <area>]",
3044
+ "<temp> <name>",
3045
+ "[v|na] <name> <temp>"
3044
3046
  ]
3045
3047
  },
3046
3048
  {
3047
3049
  "sentences": [
3048
- "([na] kakšno) <temp> je [nastavljen[a|o|i]] <name> [[v|na] <area>]",
3050
+ "([na] kakšno|[na] kaksno) <temp> je [nastavljen[a|o|i]] <name> [[v|na] <area>]",
3049
3051
  "[na] koliko [stopinj] je [nastavljen[a|o|i]] <name> [[v|na] <area>]"
3050
3052
  ],
3051
3053
  "requires_context": {
@@ -83,6 +83,44 @@
83
83
  }
84
84
  ]
85
85
  },
86
+ "HassCancelTimer": {
87
+ "data": [
88
+ {
89
+ "sentences": [
90
+ "<timer_cancel> <timer>",
91
+ "<timer_cancel> <timer_start_time>[s] <timer>",
92
+ "<timer_cancel> <timer> på <timer_start_time>",
93
+ "<timer_cancel> <area>[ ]<timer>",
94
+ "<timer_cancel> <timer> i <area>",
95
+ "<timer_cancel> {timer_name:name} <timer>",
96
+ "<timer_cancel> <timer> {timer_name:name}"
97
+ ]
98
+ }
99
+ ]
100
+ },
101
+ "HassTimerStatus": {
102
+ "data": [
103
+ {
104
+ "sentences": [
105
+ "(<timers>|<timer>) status",
106
+ "status på [min[a] ](<timers>|<timer>)",
107
+ "[<time_left> ]tid [är det ]kvar på [min[a] |mitt ](<timers>|<timer>)",
108
+ "<timer_start_time>[s] <timer> status",
109
+ "status[ på] <timer_start_time>[s] <timers>",
110
+ "[<time_left> ]tid [är det ]kvar på <timer_start_time>[s] <timer>",
111
+ "[<time_left> ]tid [är det ]kvar på <timer> [(på|med) ]<timer_start_time>",
112
+ "<area>[ ](<timer>|<timers>) status",
113
+ "status [på ]<area>[ ](<timers>|<timer>)",
114
+ "status på (<timers>|<timer>) i <area>",
115
+ "[<time_left> ]tid[ är det] kvar på[ min[a]|mitt ] <area>[s][ ](<timers>|<timer>)",
116
+ "[<time_left> ]tid[ är det] kvar på[ min[a]|mitt ] (<timers>|<timer>) i <area>",
117
+ "{timer_name:name}[ ]<timer>[ ]status",
118
+ "status på[min[a] |mitt ] {timer_name:name} <timers>",
119
+ "[<time_left> ]tid[ är det] kvar på[ min|mitt ] {timer_name:name}[ ]<timer>"
120
+ ]
121
+ }
122
+ ]
123
+ },
86
124
  "HassGetWeather": {
87
125
  "data": [
88
126
  {
@@ -241,6 +279,32 @@
241
279
  }
242
280
  ]
243
281
  },
282
+ "HassIncreaseTimer": {
283
+ "data": [
284
+ {
285
+ "sentences": [
286
+ "lägg till <timer_duration> till <timer>",
287
+ "lägg till <timer_duration> till <timer> på <timer_start_time>",
288
+ "lägg till <timer_duration> till <timer_start_time>[s][ ]<timer>",
289
+ "lägg till <timer_duration> till <area>[ ]<timer>",
290
+ "lägg till <timer_duration> till <timer> i <area>",
291
+ "lägg till <timer_duration> till {timer_name:name} <timer>",
292
+ "lägg till <timer_duration> till <timer>[ <timer_named>] {timer_name:name}"
293
+ ]
294
+ },
295
+ {
296
+ "sentences": [
297
+ "<timer_increase> <timer> med <timer_duration>",
298
+ "<timer_increase> <timer_start_time>[s][ ]<timer> med <timer_duration>",
299
+ "<timer_increase> <timer> på <timer_start_time> med <timer_duration>",
300
+ "<timer_increase> <area>[ ]<timer> med <timer_duration>",
301
+ "<timer_increase> <timer> i <area> med <timer_duration>",
302
+ "<timer_increase> {timer_name:name}[ ]<timer> med <timer_duration>",
303
+ "<timer_increase> <timer> [<timer_named> ]{timer_name:name} med <timer_duration>"
304
+ ]
305
+ }
306
+ ]
307
+ },
244
308
  "HassLightSet": {
245
309
  "data": [
246
310
  {
@@ -310,6 +374,47 @@
310
374
  }
311
375
  ]
312
376
  },
377
+ "HassPauseTimer": {
378
+ "data": [
379
+ {
380
+ "sentences": [
381
+ "pausa <timer>",
382
+ "pausa <area> <timer>",
383
+ "pausa <timer_start_time>[s] <timer>",
384
+ "pausa <timer> på <timer_start_time>",
385
+ "pausa <timer> i <area>",
386
+ "pausa {timer_name:name} <timer>",
387
+ "pausa <timer>[ <timer_named>] {timer_name:name}"
388
+ ]
389
+ }
390
+ ]
391
+ },
392
+ "HassDecreaseTimer": {
393
+ "data": [
394
+ {
395
+ "sentences": [
396
+ "<timer_remove> <timer_duration> från <timer>",
397
+ "<timer_remove> <timer_duration> från <timer_start_time>[s][ ]<timer>",
398
+ "<timer_remove> <timer_duration> från <timer> på <timer_start_time>",
399
+ "<timer_remove> <timer_duration> från <area>[ ]<timer>",
400
+ "<timer_remove> <timer_duration> från <timer> i <area>",
401
+ "<timer_remove> <timer_duration> från {timer_name:name} <timer>",
402
+ "<timer_remove> <timer_duration> från <timer> [<timer_named> ]{timer_name:name}"
403
+ ]
404
+ },
405
+ {
406
+ "sentences": [
407
+ "<timer_decrease> <timer> med <timer_duration>",
408
+ "<timer_decrease> <timer_start_time>[s][ ]<timer> med <timer_duration>",
409
+ "<timer_decrease> <timer> på <timer_start_time> med <timer_duration>",
410
+ "<timer_decrease> <area>[ ]<timer> med <timer_duration>",
411
+ "<timer_decrease> <timer> i <area> med <timer_duration>",
412
+ "<timer_decrease> {timer_name:name} <timer> med <timer_duration>",
413
+ "<timer_decrease> <timer> [<timer_named> ]{timer_name:name} med <timer_duration>"
414
+ ]
415
+ }
416
+ ]
417
+ },
313
418
  "HassMediaPause": {
314
419
  "data": [
315
420
  {
@@ -322,6 +427,41 @@
322
427
  }
323
428
  ]
324
429
  },
430
+ "HassUnpauseTimer": {
431
+ "data": [
432
+ {
433
+ "sentences": [
434
+ "<timer_resume> <timer>",
435
+ "<timer_resume> <timer_start_time>[s] <timer>",
436
+ "<timer_resume> <timer> på <timer_start_time>",
437
+ "<timer_resume> <area> <timer>",
438
+ "<timer_resume> <timer> i <area>",
439
+ "<timer_resume> <timer> [<timer_named> ]{timer_name:name}",
440
+ "<timer_resume> {timer_name:name} <timer>"
441
+ ]
442
+ }
443
+ ]
444
+ },
445
+ "HassStartTimer": {
446
+ "data": [
447
+ {
448
+ "sentences": [
449
+ "<timer_start> [(en|ett)] <timer> [på ]<timer_duration>",
450
+ "<timer_start> [en|ett] <timer_duration>[s] <timer>",
451
+ "<timer_start> [(en|ett)] <timer> [på ]<timer_duration> som heter {timer_name:name}",
452
+ "<timer_start> [(en|ett)] <timer> <timer_named> {timer_name:name} på <timer_duration>",
453
+ "<timer_start> [en|ett] <timer_duration>[s] <timer> som heter {timer_name:name}"
454
+ ]
455
+ },
456
+ {
457
+ "sentences": [
458
+ "om <timer_duration> {timer_command:conversation_command}",
459
+ "{timer_command:conversation_command} om <timer_duration>"
460
+ ],
461
+ "response": "command"
462
+ }
463
+ ]
464
+ },
325
465
  "HassClimateGetTemperature": {
326
466
  "data": [
327
467
  {
@@ -445,7 +585,10 @@
445
585
  "no_device_class_exposed": "Ingen {{ device_class }} enhet är exponerad",
446
586
  "no_device_class_in_area_exposed": "Ingen {{ device_class }} enhet i {{ area }} är exponerad",
447
587
  "duplicate_entities": "Det finns flera enheter med namnet {{ entity }}",
448
- "duplicate_entities_in_area": "Det finns flera enheter med namnet {{ entity }} i {{ area }}"
588
+ "duplicate_entities_in_area": "Det finns flera enheter med namnet {{ entity }} i {{ area }}",
589
+ "timer_not_found": "Jag kan inte hitta den timern",
590
+ "multiple_timers_matched": "Jag kan inte kontrollera flera timers samtidigt",
591
+ "no_timer_support": "Den här enheten hanterar inte timers"
449
592
  },
450
593
  "intents": {
451
594
  "HassGetState": {
@@ -465,6 +608,10 @@
465
608
  "cover_area": "Stängde i {{ slots.area }}",
466
609
  "cover_device_class": "Stängde {{ slots.device_class }}"
467
610
  },
611
+ "HassStartTimer": {
612
+ "default": "Timer startad",
613
+ "command": "Kommando mottaget"
614
+ },
468
615
  "HassShoppingListAddItem": {
469
616
  "item_added": "{{ slots.item | title }} tillagt"
470
617
  },
@@ -483,9 +630,18 @@
483
630
  "HassGetCurrentTime": {
484
631
  "default": "{{ slots.time.hour }}:{{ '{0:02d}'.format(slots.time.minute) }}\n"
485
632
  },
633
+ "HassPauseTimer": {
634
+ "default": "Timer pausad"
635
+ },
636
+ "HassTimerStatus": {
637
+ "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 Det finns inga timers.\n{% elif num_active_timers == 0: %}\n {# No active timers #}\n {% if num_paused_timers == 1: %}\n {% set next_timer = paused_timers[0] %}\n Timern är pausad.\n {% else: %}\n {{ num_paused_timers }} pausade timers.\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 }} pågående timers.\n {% endif %}\n\n {% if num_paused_timers == 1: %}\n 1 pausad timer.\n {% elif num_paused_timers > 0: %}\n {{ num_paused_timers }} pausade timers.\n {% endif %}\n{% endif %}\n\n{% if next_timer: %}\n {# At least one active timer #}\n {% if (next_timer.rounded_hours_left == 1) and (next_timer.rounded_minutes_left > 1): %}\n 1 timme och {{ next_timer.rounded_minutes_left }} minuter\n {% elif (next_timer.rounded_hours_left ==1) and (next_timer.rounded_minutes_left == 1): %}\n 1 timme och 1 minut\n {% elif (next_timer.rounded_hours_left > 1) and (next_timer.rounded_minutes_left > 0): %}\n {{ next_timer.rounded_hours_left }} timmar och {{ next_timer.rounded_minutes_left }} minuter\n {% elif (next_timer.rounded_hours_left > 1): %}\n {{ next_timer.rounded_hours_left }} timmar\n {% elif (next_timer.rounded_hours_left == 1): %}\n 1 timme\n {% elif (next_timer.rounded_minutes_left > 1): %}\n {{next_timer.rounded_minutes_left}} minuter\n {% elif (next_timer.rounded_minutes_left == 1) and (next_timer.rounded_seconds_left > 0): %}\n 1 minut och {{ next_timer.rounded_seconds_left }} sekunder\n {% elif (next_timer.rounded_minutes_left == 1): %}\n 1 minut\n {% elif (next_timer.rounded_minutes_left > 1) and (next_timer.rounded_seconds_left > 0): %}\n {{ next_timer.rounded_minutes_left }} minuter och {{ next_timer.rounded_seconds_left }} sekunder\n {% elif (next_timer.rounded_minutes_left > 1): %}\n {{ next_timer.rounded_minutes_left }} minuter\n {% elif (next_timer.rounded_seconds_left > 0): %}\n 1 sekund\n {% elif (next_timer.rounded_seconds_left > 1): %}\n {{ next_timer.rounded_seconds_left }} sekunder\n {% endif %}\n\n {% if num_timers > 1: %}\n {# Give some extra information to disambiguate #}\n kvar på\n {% if (next_timer.start_hours > 1) and (next_timer.start_minutes > 1): %}\n {{ next_timer.start_hours }} timme och {{ next_timer.start_minutes }} minuters\n {% elif (next_timer.start_hours > 1) and (next_timer.start_minutes > 0): %}\n {{ next_timer.start_hours }} timme och 1 minuts\n {% elif (next_timer.start_hours == 1): %}\n 1 timme\n {% elif (next_timer.start_minutes > 0) and (next_timer.start_seconds > 0): %}\n {{ next_timer.start_minutes }} minuter och {{ next_timer.start_seconds }} sekunders\n {% elif (next_timer.start_minutes > 1): %}\n {{ next_timer.start_minutes }} minuters\n {% elif (next_timer.start_seconds > 0): %}\n {{ next_timer.start_seconds }} sekunders\n {% endif %}\n {% if next_timer.name: %}\n {{ next_timer.name }}stimer\n {% elif next_timer.area: %}\n {{ next_timer.area }}stimer\n {% endif %}\n {% else %}\n kvar\n {% endif %}\n{% endif %}\n"
638
+ },
486
639
  "HassGetCurrentDate": {
487
640
  "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
641
  },
642
+ "HassUnpauseTimer": {
643
+ "default": "Timer återupptagen"
644
+ },
489
645
  "HassGetWeather": {
490
646
  "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"
491
647
  },
@@ -504,12 +660,21 @@
504
660
  "HassMediaNext": {
505
661
  "default": "Spelar nästa"
506
662
  },
663
+ "HassCancelTimer": {
664
+ "default": "Timer avbruten"
665
+ },
507
666
  "HassClimateGetTemperature": {
508
667
  "default": "{{ state.state }} grader"
509
668
  },
510
669
  "HassSetVolume": {
511
670
  "default": "Volym satt"
512
671
  },
672
+ "HassDecreaseTimer": {
673
+ "default": "Timer uppdaterad"
674
+ },
675
+ "HassIncreaseTimer": {
676
+ "default": "Timer uppdaterad"
677
+ },
513
678
  "HassVacuumReturnToBase": {
514
679
  "default": "Återvänder"
515
680
  }
@@ -965,6 +1130,54 @@
965
1130
  "from": 0,
966
1131
  "to": 100
967
1132
  }
1133
+ },
1134
+ "timer_seconds": {
1135
+ "range": {
1136
+ "from": 1,
1137
+ "to": 100
1138
+ }
1139
+ },
1140
+ "timer_minutes": {
1141
+ "range": {
1142
+ "from": 1,
1143
+ "to": 100
1144
+ }
1145
+ },
1146
+ "timer_hours": {
1147
+ "range": {
1148
+ "from": 1,
1149
+ "to": 100
1150
+ }
1151
+ },
1152
+ "timer_half": {
1153
+ "values": [
1154
+ {
1155
+ "in": "halv",
1156
+ "out": 30
1157
+ },
1158
+ {
1159
+ "in": "1/2",
1160
+ "out": 30
1161
+ }
1162
+ ]
1163
+ },
1164
+ "timer_quart": {
1165
+ "values": [
1166
+ {
1167
+ "in": "trekvart",
1168
+ "out": 45
1169
+ },
1170
+ {
1171
+ "in": "kvart",
1172
+ "out": 15
1173
+ }
1174
+ ]
1175
+ },
1176
+ "timer_name": {
1177
+ "wildcard": true
1178
+ },
1179
+ "timer_command": {
1180
+ "wildcard": true
968
1181
  }
969
1182
  },
970
1183
  "expansion_rules": {
@@ -991,7 +1204,25 @@
991
1204
  "varmt_kallt": "(varmt | varm | kallt | kall | het | svalt )",
992
1205
  "temperature": "{temperature}[°| grader] [{temperature_unit}]",
993
1206
  "färga": "(färga | ändra | byt)",
994
- "volym": "{volume:volume_level}[[ ]%| procent]"
1207
+ "volym": "{volume:volume_level}[[ ]%| procent]",
1208
+ "timer": "(timer[n]|äggklocka[n]|tidur[et])",
1209
+ "timers": "(timer[s]|äggklock(a|or)|tidur[en])",
1210
+ "time_left": "hur (lång|mycket)",
1211
+ "timer_duration_seconds": "{timer_seconds:seconds} sekund[er]",
1212
+ "timer_duration_minutes": "({timer_minutes:minutes} minut[er][[ och] {timer_seconds:seconds} sekund[er]])|([{timer_minutes:minutes} och][ en] {timer_half:seconds} minut[er])|({timer_minutes:minutes} minut[er])|([en ]{timer_quart:seconds}[s] minut)",
1213
+ "timer_duration_hours": "({timer_hours:hours} timm(e|ar)[[ och] <timer_duration_minutes>])|({timer_hours:hours}[ [och ] [en ]{timer_half:minutes}] timm(e|ar))|([en ]{timer_half:minutes}timme)|({timer_hours:hours} timm(e|ar) [och ]{timer_seconds:seconds} sekund[er])|([{timer_hours:hours} timm(e|ar) [och ]][en ]{timer_quart:minutes})",
1214
+ "timer_duration": "<timer_duration_seconds>|<timer_duration_minutes>|<timer_duration_hours>",
1215
+ "timer_start_seconds": "{timer_seconds:start_seconds} sekund[er]",
1216
+ "timer_start_minutes": "({timer_minutes:start_minutes} minut[er][[ och] {timer_seconds:start_seconds} sekund[er]])|([{timer_minutes:start_minutes} och][ en] {timer_half:start_seconds} minut[er])|({timer_minutes:start_minutes} minut[er])|([en ]{timer_quart:start_seconds}[s] minut)",
1217
+ "timer_start_hours": "({timer_hours:start_hours} timm(e|ar)[[ och] <timer_start_minutes>])|({timer_hours:start_hours}[ [och ] [en ]{timer_half:start_minutes}] timm(e|ar))|([en ]{timer_half:start_minutes}timme)|({timer_hours:start_hours} timm(e|ar) [och ]{timer_seconds:start_seconds} sekund[er])|([{timer_hours:start_hours} timm(e|ar) [och ]][en ]{timer_quart:start_minutes})",
1218
+ "timer_start_time": "(<timer_start_seconds>|<timer_start_minutes>|<timer_start_hours>)",
1219
+ "timer_start": "(starta|sätt)",
1220
+ "timer_resume": "(fortsätt|återuppta)",
1221
+ "timer_cancel": "(avbryt|stoppa)",
1222
+ "timer_increase": "(förläng|öka)",
1223
+ "timer_remove": "(ta bort|dra [av|bort])",
1224
+ "timer_decrease": "(minska|korta[ av])",
1225
+ "timer_named": "som heter"
995
1226
  },
996
1227
  "skip_words": [
997
1228
  "snälla",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: home-assistant-intents
3
- Version: 2024.9.4
3
+ Version: 2024.9.23
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.9.4"
7
+ version = "2024.9.23"
8
8
  license = {text = "Apache-2.0"}
9
9
  description = "Intents for Home Assistant"
10
10
  readme = "README.md"