home-assistant-intents 2025.5.7__tar.gz → 2025.5.28__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 (71) hide show
  1. {home_assistant_intents-2025.5.7/home_assistant_intents.egg-info → home_assistant_intents-2025.5.28}/PKG-INFO +1 -1
  2. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ca.json +5 -2
  3. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/cs.json +1 -1
  4. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/da.json +1 -1
  5. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/de.json +52 -9
  6. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/en.json +4 -1
  7. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/es.json +1 -1
  8. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/fr.json +2 -1
  9. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/gl.json +1 -1
  10. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/he.json +1 -1
  11. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/hi.json +23 -0
  12. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/hu.json +1 -1
  13. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/it.json +1 -1
  14. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/kw.json +1 -1
  15. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/nl.json +40 -23
  16. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/pl.json +1 -1
  17. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/pt-br.json +1 -1
  18. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ro.json +1 -1
  19. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ru.json +1 -1
  20. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/sk.json +1 -1
  21. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/sl.json +1 -1
  22. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/sr-Latn.json +1 -1
  23. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/sr.json +1 -1
  24. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/th.json +1 -1
  25. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/vi.json +1 -1
  26. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/zh-cn.json +1 -1
  27. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28/home_assistant_intents.egg-info}/PKG-INFO +1 -1
  28. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/pyproject.toml +1 -1
  29. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/LICENSE.md +0 -0
  30. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/MANIFEST.in +0 -0
  31. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/README.md +0 -0
  32. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/__init__.py +0 -0
  33. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ar.json +0 -0
  34. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/bg.json +0 -0
  35. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/bn.json +0 -0
  36. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/de-CH.json +0 -0
  37. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/el.json +0 -0
  38. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/et.json +0 -0
  39. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/eu.json +0 -0
  40. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/fa.json +0 -0
  41. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/fi.json +0 -0
  42. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/hr.json +0 -0
  43. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/id.json +0 -0
  44. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/is.json +0 -0
  45. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ka.json +0 -0
  46. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ko.json +0 -0
  47. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/lb.json +0 -0
  48. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/lt.json +0 -0
  49. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/lv.json +0 -0
  50. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ml.json +0 -0
  51. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/mn.json +0 -0
  52. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ms.json +0 -0
  53. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/nb.json +0 -0
  54. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ne.json +0 -0
  55. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/pt.json +0 -0
  56. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/sv.json +0 -0
  57. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/sw.json +0 -0
  58. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/te.json +0 -0
  59. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/tr.json +0 -0
  60. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/uk.json +0 -0
  61. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/ur.json +0 -0
  62. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/zh-hk.json +0 -0
  63. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/data/zh-tw.json +0 -0
  64. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/language_scores.json +0 -0
  65. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents/languages.py +0 -0
  66. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents.egg-info/SOURCES.txt +0 -0
  67. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents.egg-info/dependency_links.txt +0 -0
  68. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents.egg-info/top_level.txt +0 -0
  69. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/home_assistant_intents.egg-info/zip-safe +0 -0
  70. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/setup.cfg +0 -0
  71. {home_assistant_intents-2025.5.7 → home_assistant_intents-2025.5.28}/tests/test_intents.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: home-assistant-intents
3
- Version: 2025.5.7
3
+ Version: 2025.5.28
4
4
  Summary: Intents for Home Assistant
5
5
  Author-email: The Home Assistant Authors <hello@home-assistant.io>
6
6
  License-Expression: Apache-2.0
@@ -933,7 +933,7 @@
933
933
  },
934
934
  "expansion_rules": {
935
935
  "my_list": "[la] [meva] llista [de|del|de la] {name}",
936
- "item": "{shopping_list_item:item}",
936
+ "item": "{todo_list_item:item}",
937
937
  "add": "(afeg[e]ix|posa)"
938
938
  }
939
939
  }
@@ -1086,7 +1086,7 @@
1086
1086
  "default": "Temporitzador cancel·lat"
1087
1087
  },
1088
1088
  "HassClimateGetTemperature": {
1089
- "default": "{% set temperature = state_attr(state.entity_id, '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"
1089
+ "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
1090
  },
1091
1091
  "HassSetVolume": {
1092
1092
  "default": "Volum establert"
@@ -1292,6 +1292,9 @@
1292
1292
  "shopping_list_item": {
1293
1293
  "wildcard": true
1294
1294
  },
1295
+ "todo_list_item": {
1296
+ "wildcard": true
1297
+ },
1295
1298
  "zone": {
1296
1299
  "wildcard": true
1297
1300
  },
@@ -3832,7 +3832,7 @@
3832
3832
  "default": "Časovač zastaven"
3833
3833
  },
3834
3834
  "HassClimateGetTemperature": {
3835
- "default": "{% set temperature = state_attr(state.entity_id, '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"
3835
+ "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
3836
  },
3837
3837
  "HassSetVolume": {
3838
3838
  "default": "Hlasitost nastavena"
@@ -3430,7 +3430,7 @@
3430
3430
  "default": "Nedtælling afbrudt"
3431
3431
  },
3432
3432
  "HassClimateGetTemperature": {
3433
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} grad {% else: %} {{ temperature }} grader {% endif %}\n"
3433
+ "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 == 1: %} {{ temperature }} grad {% else: %} {{ temperature }} grader {% endif %}\n"
3434
3434
  },
3435
3435
  "HassSetVolume": {
3436
3436
  "default": "Lydstyrke indstillet"
@@ -824,6 +824,18 @@
824
824
  "device_class": "door"
825
825
  }
826
826
  },
827
+ {
828
+ "sentences": [
829
+ "(sind|stehen) <alle> türen[ <area>] {bs_door_states:state}",
830
+ "(sind|stehen) <alle> türen {bs_door_states:state} <area>",
831
+ "(sind|stehen) <area> <alle> türen {bs_door_states:state}"
832
+ ],
833
+ "response": "alle",
834
+ "slots": {
835
+ "domain": "binary_sensor",
836
+ "device_class": "door"
837
+ }
838
+ },
827
839
  {
828
840
  "sentences": [
829
841
  "(ist|steht) <name>[ <area>] {bs_garage_door_states:state}",
@@ -856,6 +868,18 @@
856
868
  "device_class": "window"
857
869
  }
858
870
  },
871
+ {
872
+ "sentences": [
873
+ "(sind|stehen) <alle> fenster[ <area>] {bs_door_states:state}",
874
+ "(sind|stehen) <alle> fenster {bs_door_states:state} <area>",
875
+ "(sind|stehen) <area> <alle> fenster {bs_door_states:state}"
876
+ ],
877
+ "response": "alle",
878
+ "slots": {
879
+ "domain": "binary_sensor",
880
+ "device_class": "window"
881
+ }
882
+ },
859
883
  {
860
884
  "sentences": [
861
885
  "(ist|wurde) <name>[ <area>] {bs_gas_states:state}",
@@ -1582,13 +1606,28 @@
1582
1606
  },
1583
1607
  {
1584
1608
  "sentences": [
1585
- "[<setzen> ][die ]Helligkeit[ (<lichter>|<alle_lichter>)][ <area>][ auf] <brightness>[ ein]",
1586
- "[die ]Helligkeit[ (<lichter>|<alle_lichter>)][ <area>] auf <brightness> <setzen>",
1587
- "dimme[ (<lichter>|<alle_lichter>)][ <area>][ (auf|zu)] <brightness>",
1588
- "[<lichter>|<alle_lichter>][ <area>][ (auf|zu)] <brightness> dimmen"
1609
+ "[<setzen> ][die ]Helligkeit[ (<licht>|<lichtes>|<lichter>|<alle_lichter>)][ <area>][ auf] <brightness>[ ein]",
1610
+ "[die ]Helligkeit[ (<licht>|<lichtes>|<lichter>|<alle_lichter>)][ <area>] auf <brightness> <setzen>",
1611
+ "dimme[ (<licht>|<lichter>|<alle_lichter>)][ <area>][ (auf|zu)] <brightness>",
1612
+ "[<licht>|<lichter>|<alle_lichter>][ <area>][ (auf|zu)] <brightness> dimmen"
1589
1613
  ],
1590
1614
  "response": "brightness"
1591
1615
  },
1616
+ {
1617
+ "sentences": [
1618
+ "[<setzen> ][die ]Helligkeit [<hier> ]auf <brightness>",
1619
+ "[die ]Helligkeit [<hier> ]auf <brightness> dimmen"
1620
+ ],
1621
+ "expansion_rules": {
1622
+ "hier": "(hier|im Raum)"
1623
+ },
1624
+ "response": "brightness",
1625
+ "requires_context": {
1626
+ "area": {
1627
+ "slot": true
1628
+ }
1629
+ }
1630
+ },
1592
1631
  {
1593
1632
  "sentences": [
1594
1633
  "[<setzen> ][die ][ Farbe][ von] <name>[ (auf|zu)] {color}",
@@ -1606,11 +1645,11 @@
1606
1645
  },
1607
1646
  {
1608
1647
  "sentences": [
1609
- "[<setzen> ][die ][ Farbe][ (<lichter>|<alle_lichter>)][ <area>][ (auf|zu)] {color}",
1610
- "[die ]Farbe[ (<lichter>|<alle_lichter>)][ <area>][ (auf|zu)] {color} <setzen>",
1611
- "[<lichter>|<alle_lichter>][ <area>] Farbe[ (auf|zu)] {color}[ <setzen>]",
1612
- "[<lichter>|<alle_lichter>][ <area>][ Farbe][ (auf|zu)] {color} <leuchten_lassen>",
1613
- "Färbe[ (<lichter>|<alle_lichter>)][ <area>] {color}[ ein]"
1648
+ "[<setzen> ][die ][ Farbe][ (<licht>|<lichtes>|<lichter>|<alle_lichter>)][ <area>][ (auf|zu)] {color}",
1649
+ "[die ]Farbe[ (<licht>|<lichtes>|<lichter>|<alle_lichter>)][ <area>][ (auf|zu)] {color} <setzen>",
1650
+ "[<licht>|<lichtes>|<lichter>|<alle_lichter>][ <area>] Farbe[ (auf|zu)] {color}[ <setzen>]",
1651
+ "[<licht>|<lichter>|<alle_lichter>][ <area>][ Farbe][ (auf|zu)] {color} <leuchten_lassen>",
1652
+ "Färbe[ (<licht>|<lichter>|<alle_lichter>)][ <area>] {color}[ ein]"
1614
1653
  ],
1615
1654
  "response": "color"
1616
1655
  },
@@ -2523,6 +2562,9 @@
2523
2562
  },
2524
2563
  "message": {
2525
2564
  "wildcard": true
2565
+ },
2566
+ "search_query": {
2567
+ "wildcard": true
2526
2568
  }
2527
2569
  },
2528
2570
  "expansion_rules": {
@@ -2557,6 +2599,7 @@
2557
2599
  "brightness": "{brightness}[ (Prozent|%)]",
2558
2600
  "temperature": "{temperature}[ ][°|Grad]",
2559
2601
  "licht": "[(das|die) ](Licht|Lampe|Beleuchtung)",
2602
+ "lichtes": "([des ](Lichts|Lichtes)|[der ](Lampe|Beleuchtung))",
2560
2603
  "lichter": "[(die|der|von den) ](Lichter|Lichtern|Lampen|Leuchten|Beleuchtungen)",
2561
2604
  "alle_lichter": "(<alle> (<lichter>|Beleuchtung)|von allen[ (Lichtern|Lampen|Leuchten|Beleuchtungen)])",
2562
2605
  "leuchten_lassen": "([er]leuchten lassen|[ein]färben)",
@@ -3670,7 +3670,7 @@
3670
3670
  "default": "Timer cancelled"
3671
3671
  },
3672
3672
  "HassClimateGetTemperature": {
3673
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} degree {% else: %} {{ temperature }} degrees {% endif %}\n"
3673
+ "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 == 1: %} {{ temperature }} degree {% else: %} {{ temperature }} degrees {% endif %}\n"
3674
3674
  },
3675
3675
  "HassSetVolume": {
3676
3676
  "default": "Volume set"
@@ -4222,6 +4222,9 @@
4222
4222
  },
4223
4223
  "message": {
4224
4224
  "wildcard": true
4225
+ },
4226
+ "search_query": {
4227
+ "wildcard": true
4225
4228
  }
4226
4229
  },
4227
4230
  "expansion_rules": {
@@ -3508,7 +3508,7 @@
3508
3508
  "default": "Temporizador cancelado"
3509
3509
  },
3510
3510
  "HassClimateGetTemperature": {
3511
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {{ temperature | float | abs | round(1) | replace('.0', '') | replace('.',',') }} {{ 'grado' if temperature | float | abs == 1 else 'grados' }} {{ 'bajo cero' if temperature | float < 0 else '' }}\n"
3511
+ "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('.',',') }} {{ 'grado' if temperature | float | abs == 1 else 'grados' }} {{ 'bajo cero' if temperature | float < 0 else '' }}\n"
3512
3512
  },
3513
3513
  "HassSetVolume": {
3514
3514
  "default": "Volumen establecido"
@@ -2127,7 +2127,8 @@
2127
2127
  "data": [
2128
2128
  {
2129
2129
  "sentences": [
2130
- "<renvoie> [<le>]{name} [(à|sur) (sa|la) base]"
2130
+ "<renvoie> [<le>]{name} [(à|sur) (sa|la) base]",
2131
+ "<eteins> [<le>]{name}"
2131
2132
  ],
2132
2133
  "requires_context": {
2133
2134
  "domain": "vacuum"
@@ -1588,7 +1588,7 @@
1588
1588
  "default": "Temporizador cancelado"
1589
1589
  },
1590
1590
  "HassClimateGetTemperature": {
1591
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {{ temperature | float | abs | round(1) | replace('.0', '') | replace('.',',') }} {{ 'grao' if temperature | float | abs == 1 else 'graos' }} {{ 'baixo cero' if temperature | float < 0 else '' }}\n"
1591
+ "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('.',',') }} {{ 'grao' if temperature | float | abs == 1 else 'graos' }} {{ 'baixo cero' if temperature | float < 0 else '' }}\n"
1592
1592
  },
1593
1593
  "HassSetVolume": {
1594
1594
  "default": "Volume establecido"
@@ -468,7 +468,7 @@
468
468
  "default": "הטיימר בוטל"
469
469
  },
470
470
  "HassClimateGetTemperature": {
471
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if slots.area: %} ב{{ slots.area }} {{ state_attr(state.entity_id, 'current_temperature') }} מעלות {% else: %} הטמפרטורה היא {{ state_attr(state.entity_id, 'current_temperature') }} מעלות {% endif %}\n"
471
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {% if slots.area: %} ב{{ slots.area }} {{ temperature }} מעלות {% else: %} הטמפרטורה היא {{ temperature }} מעלות {% endif %}\n"
472
472
  },
473
473
  "HassRespond": {
474
474
  "hello": "שלום מהום אסיסטנט.",
@@ -17,6 +17,26 @@
17
17
  }
18
18
  ]
19
19
  },
20
+ "HassGetCurrentTime": {
21
+ "data": [
22
+ {
23
+ "sentences": [
24
+ "[वर्तमान] समय क्या है",
25
+ "अभी [वर्तमान] समय क्या है",
26
+ "घड़ी में क्या समय हो रहा है",
27
+ "[अभी] कितने बजे हैं",
28
+ "समय बताओ",
29
+ "अभी समय कितना हो रहा है",
30
+ "अभी कितने बज रहे हैं",
31
+ "क्या समय हो रहा है",
32
+ "वक्त क्या हो रहा है",
33
+ "अभी [का] समय [क्या है]",
34
+ "[अभी [का]] समय बताओ",
35
+ "अभी समय क्या हुआ है"
36
+ ]
37
+ }
38
+ ]
39
+ },
20
40
  "HassTurnOn": {
21
41
  "data": [
22
42
  {
@@ -63,6 +83,9 @@
63
83
  "HassTurnOn": {
64
84
  "default": "{{ slots.name }}"
65
85
  },
86
+ "HassGetCurrentTime": {
87
+ "default": "{% set minute_str = '{0:02d}'.format(slots.time.minute) %}\n{% if slots.time.hour == 0: %} रात्रि 12:{{ minute_str }} बजे {% elif slots.time.hour < 12: %} सुबह {{ slots.time.hour }}:{{ minute_str }} बजे {% elif slots.time.hour == 12: %} दोपहर 12:{{ minute_str }} बजे {% else: %} शाम {{ slots.time.hour - 12 }}:{{ minute_str }} बजे {% endif %}\n"
88
+ },
66
89
  "HassLightSet": {
67
90
  "brightness": "{{ slots.name }} brightness set to {{ slots.brightness }}",
68
91
  "brightness_area": "Brightness in {{ slots.area }} set to {{ slots.brightness }}",
@@ -3499,7 +3499,7 @@
3499
3499
  "default": "Időzítő törölve"
3500
3500
  },
3501
3501
  "HassClimateGetTemperature": {
3502
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature is number %}\n {% if temperature < 0 %}\n {% set temperature_string = 'mínusz ' ~ (temperature * -1) | string | replace('.', ',') %}\n {% else %}\n {% set temperature_string = temperature | string | replace('.', ',') %}\n {% endif %}\n {{ temperature_string }} fok\n{% else %}\n Nem várt eredmény: {{ temperature }}\n{% endif %}\n"
3502
+ "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 number %}\n {% if temperature < 0 %}\n {% set temperature_string = 'mínusz ' ~ (temperature * -1) | string | replace('.', ',') %}\n {% else %}\n {% set temperature_string = temperature | string | replace('.', ',') %}\n {% endif %}\n {{ temperature_string }} fok\n{% else %}\n Nem várt eredmény: {{ temperature }}\n{% endif %}\n"
3503
3503
  },
3504
3504
  "HassSetVolume": {
3505
3505
  "default": "Hangerő beállítva"
@@ -1327,7 +1327,7 @@
1327
1327
  "default": "Timer cancellato"
1328
1328
  },
1329
1329
  "HassClimateGetTemperature": {
1330
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} grado {% else: %} {{ temperature }} gradi {% endif %}\n"
1330
+ "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 == 1: %} {{ temperature }} grado {% else: %} {{ temperature }} gradi {% endif %}\n"
1331
1331
  },
1332
1332
  "HassSetVolume": {
1333
1333
  "default": "Volume impostato"
@@ -178,7 +178,7 @@
178
178
  "default": "TODO: Timer cancelled"
179
179
  },
180
180
  "HassClimateGetTemperature": {
181
- "default": "TODO: {% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} degree {% else: %} {{ temperature }} degrees {% endif %}\n"
181
+ "default": "TODO: {% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} %} {% if temperature == 1: %} {{ temperature }} degree {% else: %} {{ temperature }} degrees {% endif %}\n"
182
182
  },
183
183
  "HassSetVolume": {
184
184
  "default": "TODO: Volume set"
@@ -185,9 +185,11 @@
185
185
  },
186
186
  {
187
187
  "sentences": [
188
- "sluit [de|het] (<blind>|<shutter>|<shade>) [<in>] (<area>|<floor>)",
189
- "[<would>] ([de|het] (<blind>|<shutter>|<shade>);[<in>] (<area>|<floor>)) (sluiten|dicht doen)",
190
- "[<would>] (<area>|<floor>)[ ](<blind>|<shutter>|<shade>) (sluiten|dicht doen)",
188
+ "<close_command> [de|het] (<blind>|<shutter>|<shade>) [<in>] (<area>|<floor>) [<close_command_suffix>]",
189
+ "[<would>] ([de|het] (<blind>|<shutter>|<shade>);[<in>] (<area>|<floor>)) <close_action>",
190
+ "[<would>] (<area>|<floor>)[ ](<blind>|<shutter>|<shade>) <close_action>",
191
+ "[<close_command>] [<in>] (<area>|<floor>) [de|het] (<blind>|<shutter>|<shade>) [<close_command_suffix>]",
192
+ "[<close_command>] [de|het] (<blind>|<shutter>|<shade>) (<close_command_suffix>;[<in>] (<area>|<floor>))",
191
193
  "[<change>] [<in>] (<area>|<floor>) [de|het] (<blind>|<shutter>|<shade>) <closed>",
192
194
  "[<change>] [de|het] (<blind>|<shutter>|<shade>) (<closed>;[<in>] (<area>|<floor>))"
193
195
  ],
@@ -223,10 +225,12 @@
223
225
  },
224
226
  {
225
227
  "sentences": [
226
- "sluit [de|het] (<blind>|<shutter>|<shade>)",
227
- "sluit ([de|het] (<blind>|<shutter>|<shade>);<here>)",
228
- "[<would>] [de|het] (<blind>|<shutter>|<shade>) (sluiten|dicht doen)",
229
- "[<would>] ([de|het] (<blind>|<shutter>|<shade>);<here>) (sluiten|dicht doen)",
228
+ "<close_command> [de|het] (<blind>|<shutter>|<shade>) [<close_command_suffix>]",
229
+ "<close_command> ([de|het] (<blind>|<shutter>|<shade>);<here>) [<close_command_suffix>]",
230
+ "[<would>] [de|het] (<blind>|<shutter>|<shade>) <close_action>",
231
+ "[<would>] ([de|het] (<blind>|<shutter>|<shade>);<here>) <close_action>",
232
+ "[<close_command>] [de|het] (<blind>|<shutter>|<shade>) [<here>] [<close_command_suffix>]",
233
+ "[<close_command>] ([de|het] (<blind>|<shutter>|<shade>) [<close_command_suffix>];<here>)",
230
234
  "[<change>] [de|het] (<blind>|<shutter>|<shade>) [<here>] <closed>",
231
235
  "[<change>] ([de|het] (<blind>|<shutter>|<shade>) <closed>;<here>)"
232
236
  ],
@@ -2800,8 +2804,10 @@
2800
2804
  },
2801
2805
  {
2802
2806
  "sentences": [
2803
- "open [de|het] (<blind>|<shutter>|<shade>) [<in>] (<area>|<floor>)",
2804
- "[<would>] ([de|het] (<blind>|<shutter>|<shade>);[<in>] (<area>|<floor>)) (openen|open doen)",
2807
+ "[<open_command>] [de|het] (<blind>|<shutter>|<shade>) [op] [<in>] (<area>|<floor>)",
2808
+ "[<would>] ([de|het] (<blind>|<shutter>|<shade>);[<in>] (<area>|<floor>)) <open_action>",
2809
+ "[<open_command>] [<in>] (<area>|<floor>) [de|het] (<blind>|<shutter>|<shade>) op",
2810
+ "[<open_command>] [de|het] (<blind>|<shutter>|<shade>) ([op];[<in>] (<area>|<floor>))",
2805
2811
  "[<change>] [<in>] (<area>|<floor>) [de|het] (<blind>|<shutter>|<shade>) <open>",
2806
2812
  "[<change>] [de|het] (<blind>|<shutter>|<shade>) (<open>;[<in>] (<area>|<floor>))"
2807
2813
  ],
@@ -2837,10 +2843,12 @@
2837
2843
  },
2838
2844
  {
2839
2845
  "sentences": [
2840
- "open [de|het] (<blind>|<shutter>|<shade>)",
2841
- "open ([de|het] (<blind>|<shutter>|<shade>);<here>)",
2842
- "[<would>] [de|het] (<blind>|<shutter>|<shade>) (openen|open doen)",
2843
- "[<would>] ([de|het] (<blind>|<shutter>|<shade>);<here>) (openen|open doen)",
2846
+ "[<open_command>] [de|het] (<blind>|<shutter>|<shade>) [op]",
2847
+ "[<open_command>] ([de|het] (<blind>|<shutter>|<shade>);<here>) [op]",
2848
+ "[<would>] [de|het] (<blind>|<shutter>|<shade>) <open_action>",
2849
+ "[<would>] ([de|het] (<blind>|<shutter>|<shade>);<here>) <open_action>",
2850
+ "[<open_command>] [de|het] (<blind>|<shutter>|<shade>) [<here>] [op]",
2851
+ "[<open_command>] ([de|het] (<blind>|<shutter>|<shade>) [op];<here>)",
2844
2852
  "[<change>] [de|het] (<blind>|<shutter>|<shade>) [<here>] <open>",
2845
2853
  "[<change>] ([de|het] (<blind>|<shutter>|<shade>) <open>;<here>)"
2846
2854
  ],
@@ -3455,19 +3463,19 @@
3455
3463
  "data": [
3456
3464
  {
3457
3465
  "sentences": [
3458
- "[<numeric_value_set>] [de] temperatuur <to> <temperature>",
3459
- "temperatuur [<to>] <temperature> [(zetten|draaien|doen)]",
3460
- "[<would>] [de] temperatuur [<to>] <temperature> (zetten|draaien|doen)",
3466
+ "[<numeric_value_set>] [de] <temp> <to> <temperature>",
3467
+ "<temp> [<to>] <temperature> [(zetten|draaien|doen)]",
3468
+ "[<would>] [de] <temp> [<to>] <temperature> (zetten|draaien|doen)",
3461
3469
  "<numeric_value_set> <to> {temperature}<degrees>"
3462
3470
  ]
3463
3471
  },
3464
3472
  {
3465
3473
  "sentences": [
3466
- "<numeric_value_set> [de] temperatuur [<in>] (<area>|<floor>) <to> <temperature>",
3467
- "<numeric_value_set> [de] temperatuur <to> <temperature> <in> (<area>|<floor>)",
3468
- "<numeric_value_set> [de] (<area>|<floor>)[ ]temperatuur <to> <temperature>",
3469
- "[<would>] (<area>|<floor>)[ ]temperatuur [<to>] <temperature> [(zetten|draaien|doen)]",
3470
- "[<would>] [de] temperatuur [<in>] (<area>|<floor>) [<to>] <temperature> [(zetten|draaien|doen)]",
3474
+ "<numeric_value_set> [de] <temp> [<in>] (<area>|<floor>) <to> <temperature>",
3475
+ "<numeric_value_set> [de] <temp> <to> <temperature> <in> (<area>|<floor>)",
3476
+ "<numeric_value_set> [de] (<area>|<floor>)[ ]<temp> <to> <temperature>",
3477
+ "[<would>] (<area>|<floor>)[ ]<temp> [<to>] <temperature> [(zetten|draaien|doen)]",
3478
+ "[<would>] [de] <temp> [<in>] (<area>|<floor>) [<to>] <temperature> [(zetten|draaien|doen)]",
3471
3479
  "<numeric_value_set> (<area>|<floor>) <to> {temperature}<degrees>",
3472
3480
  "[<would>] (<area>|<floor>) [<to>] {temperature}<degrees> [(zetten|draaien|doen)]"
3473
3481
  ]
@@ -3621,7 +3629,7 @@
3621
3629
  "default": "Timer geannuleerd"
3622
3630
  },
3623
3631
  "HassClimateGetTemperature": {
3624
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %}\n {{ temperature }} graad\n{% else: %}\n {{ temperature }} graden\n{% endif %}\n"
3632
+ "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 == 1: %}\n {{ temperature }} graad\n{% else: %}\n {{ temperature }} graden\n{% endif %}\n"
3625
3633
  },
3626
3634
  "HassSetVolume": {
3627
3635
  "default": "Volume aangepast"
@@ -4230,6 +4238,9 @@
4230
4238
  },
4231
4239
  "message": {
4232
4240
  "wildcard": true
4241
+ },
4242
+ "search_query": {
4243
+ "wildcard": true
4233
4244
  }
4234
4245
  },
4235
4246
  "expansion_rules": {
@@ -4268,10 +4279,16 @@
4268
4279
  "brightness": "[de] (helderheid|felheid|intensiteit|lichtsterkte)",
4269
4280
  "brightness_value": "{brightness}[ ][%|procent]",
4270
4281
  "degrees": "([ ]°| graad| graden)",
4282
+ "temp": "(temperatuur|verwarming)",
4271
4283
  "temperature": "{temperature}[<degrees>]",
4272
4284
  "warm": "(warm|heet|koud|koel)",
4273
- "open": "(open|omhoog|naar boven|opwaarts)",
4285
+ "open": "(open|omhoog|naar boven|opwaarts|op|optrekken|ophalen)",
4274
4286
  "closed": "(dicht|omlaag|naar beneden|neerwaarts)",
4287
+ "open_action": "(openen|open doen|optrekken|ophalen)",
4288
+ "open_command": "(open|haal|trek)",
4289
+ "close_action": "(sluiten|dicht doen|neer laten|laten zakken)",
4290
+ "close_command": "(sluit|laat)",
4291
+ "close_command_suffix": "(neer|zakken)",
4275
4292
  "detect": "(detecteert|registreert|detecteren|registreren|gedetecteerd|geregistreerd|waar[ ]genomen)",
4276
4293
  "sensor": "[een|de] (apparaat|apparaten|sensor[s|en]|iets)",
4277
4294
  "sensor_area": "(\n [[de|een] {area}][ ](apparaat|apparaten|sensor[s|en])\n |[<in> [de|het] {area}] <sensor>\n |[een|de] (apparaat|apparaten|sensor[s|en]|iets) [[in|op|van|bij] <area>]\n)\n",
@@ -2541,7 +2541,7 @@
2541
2541
  "default": "Anulowano minutnik"
2542
2542
  },
2543
2543
  "HassClimateGetTemperature": {
2544
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature_pl = (temperature | string).replace(\".\", \",\") %} {% set temperature_decimal = (temperature | float - temperature | int) | round(2) %} {% set negative_name = \"\" %} {% if temperature | float < 0 %}\n {% set negative_name = \"minus \" %}\n{% endif %} {% if temperature_decimal == 0 %}\n {% if temperature | int | abs == 1 %}\n {% set degree_name = 'stopień' %}\n {% elif temperature | int | abs in [2, 3, 4] %}\n {% set degree_name = 'stopnie' %}\n {% elif temperature | int | abs in [12, 13, 14] %}\n {% set degree_name = 'stopni' %}\n {% elif (temperature | int | string)[-1] | int | abs in [2, 3, 4] %}\n {% set degree_name = 'stopnie' %}\n {% else %}\n {% set degree_name = 'stopni' %}\n {% endif %}\n{% else %}\n {% set degree_name = \"stopnia\" %}\n{% endif %} Temperatura wynosi {{ negative_name }}{{ temperature_pl.replace(\"-\", \"\") }} {{ degree_name }}\n"
2544
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {% set temperature_pl = (temperature | string).replace(\".\", \",\") %} {% set temperature_decimal = (temperature | float - temperature | int) | round(2) %} {% set negative_name = \"\" %} {% if temperature | float < 0 %}\n {% set negative_name = \"minus \" %}\n{% endif %} {% if temperature_decimal == 0 %}\n {% if temperature | int | abs == 1 %}\n {% set degree_name = 'stopień' %}\n {% elif temperature | int | abs in [2, 3, 4] %}\n {% set degree_name = 'stopnie' %}\n {% elif temperature | int | abs in [12, 13, 14] %}\n {% set degree_name = 'stopni' %}\n {% elif (temperature | int | string)[-1] | int | abs in [2, 3, 4] %}\n {% set degree_name = 'stopnie' %}\n {% else %}\n {% set degree_name = 'stopni' %}\n {% endif %}\n{% else %}\n {% set degree_name = \"stopnia\" %}\n{% endif %} Temperatura wynosi {{ negative_name }}{{ temperature_pl.replace(\"-\", \"\") }} {{ degree_name }}\n"
2545
2545
  },
2546
2546
  "HassSetVolume": {
2547
2547
  "default": "Ustawiono głośność"
@@ -1095,7 +1095,7 @@
1095
1095
  "default": "Cancelado"
1096
1096
  },
1097
1097
  "HassClimateGetTemperature": {
1098
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if (temperature | float) >= -1 and (temperature | float) <= 1 %} {{ temperature }} grau {% else: %} {{ temperature }} graus {% endif %}\n"
1098
+ "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 | float) >= -1 and (temperature | float) <= 1 %} {{ temperature }} grau {% else: %} {{ temperature }} graus {% endif %}\n"
1099
1099
  },
1100
1100
  "HassSetVolume": {
1101
1101
  "default": "Volume alterado"
@@ -2923,7 +2923,7 @@
2923
2923
  "default": "Am anulat temporizatorul"
2924
2924
  },
2925
2925
  "HassClimateGetTemperature": {
2926
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature_ro = (temperature|string).replace(\".\", \",\") %}\n{% set temperature_num = temperature | float %}\n{% if temperature_num | abs == 1 %}\n{{ temperature_ro }} grad\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or temperature_num % 100 | abs < 20 %}\n{{ temperature_ro }} grade\n{% else %}\n{{ temperature_ro }} de grade\n{% endif %}\n"
2926
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature = state.state if current_temperature is none else current_temperature %}\n{% set temperature_ro = (temperature|string).replace(\".\", \",\") %}\n{% set temperature_num = temperature | float %}\n{% if temperature_num | abs == 1 %}\n{{ temperature_ro }} grad\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or temperature_num % 100 | abs < 20 %}\n{{ temperature_ro }} grade\n{% else %}\n{{ temperature_ro }} de grade\n{% endif %}\n"
2927
2927
  },
2928
2928
  "HassSetVolume": {
2929
2929
  "default": "Am setat volumul"
@@ -3030,7 +3030,7 @@
3030
3030
  "default": "Таймер выключен"
3031
3031
  },
3032
3032
  "HassClimateGetTemperature": {
3033
- "default": "{{ state_attr(state.entity_id, 'current_temperature') }} {% set temp = state_attr(state.entity_id, 'current_temperature') | float %} {% set last_digit = temp|abs|int % 10 %} {% set last_two_digits = temp|abs|int % 100 %} {% if last_digit == 1 and last_two_digits != 11 %}\n градус\n{% elif last_digit in [2, 3, 4] and (last_two_digits < 10 or last_two_digits > 20) %}\n градуса\n{% else %}\n градусов\n{% endif %}"
3033
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {{ temperature }} {% set temp = temperature | float %} {% set last_digit = temp|abs|int % 10 %} {% set last_two_digits = temp|abs|int % 100 %} {% if last_digit == 1 and last_two_digits != 11 %}\n градус\n{% elif last_digit in [2, 3, 4] and (last_two_digits < 10 or last_two_digits > 20) %}\n градуса\n{% else %}\n градусов\n{% endif %}"
3034
3034
  },
3035
3035
  "HassSetVolume": {
3036
3036
  "default": "Громкость задана"
@@ -4070,7 +4070,7 @@
4070
4070
  "default": "Časovač zrušený"
4071
4071
  },
4072
4072
  "HassClimateGetTemperature": {
4073
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {{ temperature }} {{ 'stupeň' if temperature | int | abs == 1 else 'stupne' if temperature | int | abs in [2,3,4] else 'stupňov' }}\n"
4073
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {{ temperature }} {{ 'stupeň' if temperature | int | abs == 1 else 'stupne' if temperature | int | abs in [2,3,4] else 'stupňov' }}\n"
4074
4074
  },
4075
4075
  "HassSetVolume": {
4076
4076
  "default": "Hlasitosť nastavená"
@@ -3402,7 +3402,7 @@
3402
3402
  "default": "Časovnik preklican"
3403
3403
  },
3404
3404
  "HassClimateGetTemperature": {
3405
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature_sl = (temperature|string).replace(\".\", \",\") %}\n{% set temperature_num = temperature | float %}\n{% set temperature_abs = temperature_num | abs %}\n\n{% if temperature_abs == 1 %}\n {{ temperature_sl }} stopinja\n{% elif temperature_abs == 2 %}\n {{ temperature_sl }} stopinji\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or (temperature_num % 100 | abs) < 20 %}\n {{ temperature_sl }} stopinje\n{% else %}\n {{ temperature_sl }} stopinj\n{% endif %}\n"
3405
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %}\n{% set temperature = state.state if current_temperature is none else current_temperature %}\n{% set temperature_sl = (temperature|string).replace(\".\", \",\") %}\n{% set temperature_num = temperature | float %}\n{% set temperature_abs = temperature_num | abs %}\n\n{% if temperature_abs == 1 %}\n {{ temperature_sl }} stopinja\n{% elif temperature_abs == 2 %}\n {{ temperature_sl }} stopinji\n{% elif temperature_num == 0 or temperature_num % 1 != 0 or (temperature_num % 100 | abs) < 20 %}\n {{ temperature_sl }} stopinje\n{% else %}\n {{ temperature_sl }} stopinj\n{% endif %}\n"
3406
3406
  },
3407
3407
  "HassSetVolume": {
3408
3408
  "default": "Glasnost nastavljena"
@@ -1899,7 +1899,7 @@
1899
1899
  "default": "Tajmer je zaustavljen"
1900
1900
  },
1901
1901
  "HassClimateGetTemperature": {
1902
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} stepen {% else: %} {{ temperature }} stepena {% endif %}"
1902
+ "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 == 1: %} {{ temperature }} stepen {% else: %} {{ temperature}} stepena {% endif %}\n"
1903
1903
  },
1904
1904
  "HassSetVolume": {
1905
1905
  "default": "OK"
@@ -1027,7 +1027,7 @@
1027
1027
  "default": "Тајмер поништен"
1028
1028
  },
1029
1029
  "HassClimateGetTemperature": {
1030
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% set value = state.state | int | abs %} {% set variant = 0 if (value % 10 == 1 and value != 11) else 1 if (value % 10 in [2, 3, 4] and (value < 10 or value > 20)) else 2 %} {{ temperature}} {{ ['степен', 'степена', 'степени'][variant] }}\n"
1030
+ "default": "{% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} {% set value = state.state | int | abs %} {% set variant = 0 if (value % 10 == 1 and value != 11) else 1 if (value % 10 in [2, 3, 4] and (value < 10 or value > 20)) else 2 %} {{ temperature}} {{ ['степен', 'степена', 'степени'][variant] }}\n"
1031
1031
  },
1032
1032
  "HassSetVolume": {
1033
1033
  "default": "Постављена јачина звука"
@@ -144,7 +144,7 @@
144
144
  "default": "TODO: Timer cancelled"
145
145
  },
146
146
  "HassClimateGetTemperature": {
147
- "default": "TODO: {% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} degree {% else: %} {{ temperature }} degrees {% endif %}\n"
147
+ "default": "TODO: {% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} {% set temperature = state.state if current_temperature is none else current_temperature %} %} {% if temperature == 1: %} {{ temperature }} degree {% else: %} {{ temperature }} degrees {% endif %}\n"
148
148
  },
149
149
  "HassSetVolume": {
150
150
  "default": "TODO: Volume set"
@@ -2230,7 +2230,7 @@
2230
2230
  "default": "Đang chuyển sang mục tiếp theo"
2231
2231
  },
2232
2232
  "HassClimateGetTemperature": {
2233
- "default": "{% set temperature = state_attr(state.entity_id, 'current_temperature') %} {% if temperature == 1: %} {{ temperature }} độ {% else: %} {{ temperature }} độ {% endif %}\n"
2233
+ "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 == 1: %} {{ temperature }} độ {% else: %} {{ temperature }} độ {% endif %}\n"
2234
2234
  },
2235
2235
  "HassSetVolume": {
2236
2236
  "default": "đã thiết lập âm lượng"
@@ -890,7 +890,7 @@
890
890
  "default": "已暂停"
891
891
  },
892
892
  "HassGetCurrentTime": {
893
- "default": "{% set minute_str = '{0:02d}'.format(slots.time.minute) %}\n{% if slots.time.hour <= 12: %} 上午{{ slots.time.hour }}点{{ minute_str }}分 {% else: %} 下午{{ slots.time.hour - 12 }}点{ minute_str }}分 {% endif %}\n"
893
+ "default": "{% set minute_str = '{0:02d}'.format(slots.time.minute) %}\n{% if slots.time.hour <= 12: %} 上午{{ slots.time.hour }}点{{ minute_str }}分 {% else: %} 下午{{ slots.time.hour - 12 }}点{{ minute_str }}分 {% endif %}\n"
894
894
  },
895
895
  "HassPauseTimer": {
896
896
  "default": "已暂停"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: home-assistant-intents
3
- Version: 2025.5.7
3
+ Version: 2025.5.28
4
4
  Summary: Intents for Home Assistant
5
5
  Author-email: The Home Assistant Authors <hello@home-assistant.io>
6
6
  License-Expression: 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 = "2025.5.7"
7
+ version = "2025.5.28"
8
8
  license = "Apache-2.0"
9
9
  description = "Intents for Home Assistant"
10
10
  readme = "README.md"