home-assistant-intents 2023.4.17.post1__tar.gz → 2023.5.30__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {home-assistant-intents-2023.4.17.post1/home_assistant_intents.egg-info → home-assistant-intents-2023.5.30}/PKG-INFO +35 -3
- home-assistant-intents-2023.5.30/README.md +35 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ar.json +158 -52
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/cs.json +10 -2
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/de-CH.json +3 -3
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/de.json +416 -69
- home-assistant-intents-2023.5.30/home_assistant_intents/data/homeassistant/el.json +1987 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/en.json +4 -3
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/es.json +13 -10
- home-assistant-intents-2023.5.30/home_assistant_intents/data/homeassistant/fr.json +2411 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/it.json +1 -1
- home-assistant-intents-2023.5.30/home_assistant_intents/data/homeassistant/ko.json +47 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/nl.json +138 -64
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/pl.json +4 -5
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/zh-tw.json +71 -59
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/de.json +4 -6
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/el.json +3 -5
- home-assistant-intents-2023.5.30/home_assistant_intents/data/light/fr.json +83 -0
- home-assistant-intents-2023.5.30/home_assistant_intents/data/light/ko.json +11 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/zh-tw.json +4 -2
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/domains.py +2 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30/home_assistant_intents.egg-info}/PKG-INFO +35 -3
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents.egg-info/SOURCES.txt +2 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/pyproject.toml +1 -1
- home-assistant-intents-2023.4.17.post1/README.md +0 -3
- home-assistant-intents-2023.4.17.post1/home_assistant_intents/data/homeassistant/el.json +0 -236
- home-assistant-intents-2023.4.17.post1/home_assistant_intents/data/homeassistant/fr.json +0 -789
- home-assistant-intents-2023.4.17.post1/home_assistant_intents/data/light/fr.json +0 -49
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/LICENSE.md +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/MANIFEST.in +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/__init__.py +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/bg.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/bn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ca.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/da.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/fa.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/fi.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/fr-CA.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/gl.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/gu.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/he.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/hi.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/hr.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/hu.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/id.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/is.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ka.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/kn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/lb.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/lt.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/lv.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ml.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/mn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ms.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/nb.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/pt-br.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/pt.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ro.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ru.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/sk.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/sl.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/sr.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/sv.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/sw.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/te.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/tr.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/uk.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/ur.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/vi.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/zh-cn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/homeassistant/zh-hk.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ar.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/bg.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/bn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ca.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/cs.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/da.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/de-CH.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/en.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/es.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/fa.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/fi.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/fr-CA.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/gl.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/gu.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/he.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/hi.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/hr.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/hu.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/id.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/is.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/it.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ka.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/kn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/lb.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/lt.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/lv.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ml.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/mn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ms.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/nb.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/nl.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/pl.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/pt-br.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/pt.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ro.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ru.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/sk.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/sl.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/sr.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/sv.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/sw.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/te.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/tr.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/uk.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/ur.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/vi.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/zh-cn.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents/data/light/zh-hk.json +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents.egg-info/dependency_links.txt +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents.egg-info/top_level.txt +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/home_assistant_intents.egg-info/zip-safe +0 -0
- {home-assistant-intents-2023.4.17.post1 → home-assistant-intents-2023.5.30}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: home-assistant-intents
|
|
3
|
-
Version: 2023.
|
|
3
|
+
Version: 2023.5.30
|
|
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
|
|
@@ -17,6 +17,38 @@ Requires-Python: >=3.9.0
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE.md
|
|
19
19
|
|
|
20
|
-
# Home Assistant Intents
|
|
20
|
+
# Home Assistant Intents Package
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Packaging for [intents](https://github.com/home-assistant/intents/)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
Clone the repo and create a virtual environment:
|
|
28
|
+
|
|
29
|
+
``` sh
|
|
30
|
+
git clone --recursive https://github.com/home-assistant/intents-package
|
|
31
|
+
cd intents-package
|
|
32
|
+
python3 -m venv venv
|
|
33
|
+
venv/bin/pip3 install --upgrade pip
|
|
34
|
+
venv/bin/pip3 install -r requirements.txt
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## Package
|
|
39
|
+
|
|
40
|
+
Update the submodule
|
|
41
|
+
|
|
42
|
+
``` sh
|
|
43
|
+
git submodule update --remote
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Bump the version in `pyproject.toml` to `YYYY.M.D`
|
|
47
|
+
|
|
48
|
+
Generate dist:
|
|
49
|
+
|
|
50
|
+
``` sh
|
|
51
|
+
script/package
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Upload `.tar.gz` and `.whl` to PyPI.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Home Assistant Intents Package
|
|
2
|
+
|
|
3
|
+
Packaging for [intents](https://github.com/home-assistant/intents/)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
Clone the repo and create a virtual environment:
|
|
9
|
+
|
|
10
|
+
``` sh
|
|
11
|
+
git clone --recursive https://github.com/home-assistant/intents-package
|
|
12
|
+
cd intents-package
|
|
13
|
+
python3 -m venv venv
|
|
14
|
+
venv/bin/pip3 install --upgrade pip
|
|
15
|
+
venv/bin/pip3 install -r requirements.txt
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Package
|
|
20
|
+
|
|
21
|
+
Update the submodule
|
|
22
|
+
|
|
23
|
+
``` sh
|
|
24
|
+
git submodule update --remote
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Bump the version in `pyproject.toml` to `YYYY.M.D`
|
|
28
|
+
|
|
29
|
+
Generate dist:
|
|
30
|
+
|
|
31
|
+
``` sh
|
|
32
|
+
script/package
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Upload `.tar.gz` and `.whl` to PyPI.
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"slots": {
|
|
11
11
|
"domain": "fan",
|
|
12
12
|
"name": "all"
|
|
13
|
-
}
|
|
13
|
+
},
|
|
14
|
+
"response": "fans_area"
|
|
14
15
|
},
|
|
15
16
|
{
|
|
16
17
|
"sentences": [
|
|
@@ -20,7 +21,8 @@
|
|
|
20
21
|
"domain": "fan",
|
|
21
22
|
"name": "all",
|
|
22
23
|
"area": "all"
|
|
23
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"response": "fan_all"
|
|
24
26
|
},
|
|
25
27
|
{
|
|
26
28
|
"sentences": [
|
|
@@ -86,63 +88,42 @@
|
|
|
86
88
|
"domain": "cover"
|
|
87
89
|
},
|
|
88
90
|
"response": "cover_device_class"
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"HassGetState": {
|
|
93
|
-
"data": [
|
|
91
|
+
},
|
|
94
92
|
{
|
|
95
93
|
"sentences": [
|
|
96
|
-
"
|
|
94
|
+
"<open> <name> [<in> <area>]"
|
|
97
95
|
],
|
|
98
|
-
"response": "one_yesno",
|
|
99
96
|
"requires_context": {
|
|
100
|
-
"domain": "
|
|
97
|
+
"domain": "lock"
|
|
101
98
|
},
|
|
102
|
-
"
|
|
103
|
-
"domain": "cover"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"sentences": [
|
|
108
|
-
"هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
|
|
109
|
-
],
|
|
110
|
-
"response": "any",
|
|
111
|
-
"slots": {
|
|
112
|
-
"domain": "cover"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"sentences": [
|
|
117
|
-
"هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
|
|
118
|
-
],
|
|
119
|
-
"response": "all",
|
|
120
|
-
"slots": {
|
|
121
|
-
"domain": "cover"
|
|
122
|
-
}
|
|
99
|
+
"response": "unlock"
|
|
123
100
|
},
|
|
124
101
|
{
|
|
125
102
|
"sentences": [
|
|
126
|
-
"
|
|
103
|
+
"<open> [<all>] <lock> [<in>] <area>"
|
|
127
104
|
],
|
|
128
|
-
"response": "which",
|
|
129
105
|
"slots": {
|
|
130
|
-
"domain": "
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"sentences": [
|
|
135
|
-
"(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
|
|
136
|
-
],
|
|
137
|
-
"response": "how_many",
|
|
138
|
-
"slots": {
|
|
139
|
-
"domain": "cover"
|
|
140
|
-
}
|
|
106
|
+
"domain": "lock",
|
|
107
|
+
"name": "all"
|
|
108
|
+
},
|
|
109
|
+
"response": "unlock"
|
|
141
110
|
}
|
|
142
111
|
]
|
|
143
112
|
},
|
|
144
113
|
"HassTurnOn": {
|
|
145
114
|
"data": [
|
|
115
|
+
{
|
|
116
|
+
"sentences": [
|
|
117
|
+
"[<turn_on>] [<scene>] <name>"
|
|
118
|
+
],
|
|
119
|
+
"requires_context": {
|
|
120
|
+
"domain": "scene"
|
|
121
|
+
},
|
|
122
|
+
"slots": {
|
|
123
|
+
"domain": "scene"
|
|
124
|
+
},
|
|
125
|
+
"response": "scene"
|
|
126
|
+
},
|
|
146
127
|
{
|
|
147
128
|
"sentences": [
|
|
148
129
|
"<turn_on> [<all>] <light> [<in>] <area>"
|
|
@@ -188,7 +169,27 @@
|
|
|
188
169
|
"slots": {
|
|
189
170
|
"domain": "fan",
|
|
190
171
|
"name": "all"
|
|
191
|
-
}
|
|
172
|
+
},
|
|
173
|
+
"response": "fans_area"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"sentences": [
|
|
177
|
+
"<close> <name> [<in> <area>]"
|
|
178
|
+
],
|
|
179
|
+
"requires_context": {
|
|
180
|
+
"domain": "lock"
|
|
181
|
+
},
|
|
182
|
+
"response": "lock"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"sentences": [
|
|
186
|
+
"<close> [<all>] <lock> [<in>] <area>"
|
|
187
|
+
],
|
|
188
|
+
"slots": {
|
|
189
|
+
"domain": "lock",
|
|
190
|
+
"name": "all"
|
|
191
|
+
},
|
|
192
|
+
"response": "lock"
|
|
192
193
|
},
|
|
193
194
|
{
|
|
194
195
|
"sentences": [
|
|
@@ -220,6 +221,105 @@
|
|
|
220
221
|
"response": "default"
|
|
221
222
|
}
|
|
222
223
|
]
|
|
224
|
+
},
|
|
225
|
+
"HassGetState": {
|
|
226
|
+
"data": [
|
|
227
|
+
{
|
|
228
|
+
"sentences": [
|
|
229
|
+
"<what_is> [حالة] <name> [<in> <area>]"
|
|
230
|
+
],
|
|
231
|
+
"excludes_context": {
|
|
232
|
+
"domain": [
|
|
233
|
+
"scene",
|
|
234
|
+
"script"
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
"response": "one"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"sentences": [
|
|
241
|
+
"<is_it> <name> [<in> <area>] {on_off_states:state}"
|
|
242
|
+
],
|
|
243
|
+
"excludes_context": {
|
|
244
|
+
"domain": [
|
|
245
|
+
"cover"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"response": "one_yesno"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"sentences": [
|
|
252
|
+
"<is_it> <any> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
|
|
253
|
+
],
|
|
254
|
+
"response": "any"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"sentences": [
|
|
258
|
+
"<is_it> <all> {on_off_domains:domain} {on_off_states:state} [<in> <area>]"
|
|
259
|
+
],
|
|
260
|
+
"response": "all"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"sentences": [
|
|
264
|
+
"<what_is> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
|
|
265
|
+
],
|
|
266
|
+
"response": "which"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"sentences": [
|
|
270
|
+
"<how_many> {on_off_domains:domain} [التي] {on_off_states:state} [<in> <area>]"
|
|
271
|
+
],
|
|
272
|
+
"response": "how_many"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"sentences": [
|
|
276
|
+
"هل <name> {cover_states:state} [<in> <area>]"
|
|
277
|
+
],
|
|
278
|
+
"response": "one_yesno",
|
|
279
|
+
"requires_context": {
|
|
280
|
+
"domain": "cover"
|
|
281
|
+
},
|
|
282
|
+
"slots": {
|
|
283
|
+
"domain": "cover"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"sentences": [
|
|
288
|
+
"هل هناك {cover_classes:device_class} {cover_states:state} [<in> <area>]"
|
|
289
|
+
],
|
|
290
|
+
"response": "any",
|
|
291
|
+
"slots": {
|
|
292
|
+
"domain": "cover"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"sentences": [
|
|
297
|
+
"هل جميع {cover_classes:device_class} {cover_states:state} [<in> <area>]"
|
|
298
|
+
],
|
|
299
|
+
"response": "all",
|
|
300
|
+
"slots": {
|
|
301
|
+
"domain": "cover"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"sentences": [
|
|
306
|
+
"اي {cover_classes:device_class} {cover_states:state} [<in> <area>]"
|
|
307
|
+
],
|
|
308
|
+
"response": "which",
|
|
309
|
+
"slots": {
|
|
310
|
+
"domain": "cover"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"sentences": [
|
|
315
|
+
"(كم|ما|ماهو|ماذا) [عدد] {cover_classes:device_class} [اللتي] {cover_states:state} [<in> <area>]"
|
|
316
|
+
],
|
|
317
|
+
"response": "how_many",
|
|
318
|
+
"slots": {
|
|
319
|
+
"domain": "cover"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
]
|
|
223
323
|
}
|
|
224
324
|
},
|
|
225
325
|
"responses": {
|
|
@@ -233,7 +333,7 @@
|
|
|
233
333
|
},
|
|
234
334
|
"intents": {
|
|
235
335
|
"HassGetState": {
|
|
236
|
-
"one": "{{ slots.name
|
|
336
|
+
"one": "حالة {{ slots.name }} هي {{ state.state_with_unit }}\n",
|
|
237
337
|
"one_yesno": "{% if query.matched %}\n اجل\n{% else %}\n لا, {{ state.state_with_unit }}\n{% endif %}\n",
|
|
238
338
|
"any": "{% if query.matched %}\n {% set match = query.matched | map(attribute=\"name\") | sort | list %}\n {% if match | length > 4 %}\n اجل, {{ match[:3] | join(\", \") }} و {{ (match | length - 3) }} ايضا\n {%- else -%}\n اجل,\n {% for name in match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor -%}\n {% endif %}\n{% else %}\n لا\n{% endif %}\n",
|
|
239
339
|
"all": "{% if not query.unmatched: %}\n اجل\n{% else %}\n {% set no_match = query.unmatched | map(attribute=\"name\") | sort | list %}\n {% if no_match | length > 4 %}\n لا, {{ no_match[:3] | join(\", \") }} و {{ (no_match | length - 3) }} ايضا\n {%- else -%}\n لا,\n {% for name in no_match -%}\n {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} و {% endif -%}\n {{ name }}\n {%- endfor %} ليست\n {% endif %}\n{% endif %}\n",
|
|
@@ -248,7 +348,7 @@
|
|
|
248
348
|
"light_all": "تم اطفاء جميع الاضواء",
|
|
249
349
|
"fan_all": "تم اطفاء جميع المراوح",
|
|
250
350
|
"cover_device_class": "تم اغلاق {{ slots.device_class }}",
|
|
251
|
-
"
|
|
351
|
+
"unlock": "تم الفتح"
|
|
252
352
|
},
|
|
253
353
|
"HassTurnOn": {
|
|
254
354
|
"default": "تم تشغيل {{state.domain}}",
|
|
@@ -314,7 +414,7 @@
|
|
|
314
414
|
"values": [
|
|
315
415
|
"مئوية",
|
|
316
416
|
{
|
|
317
|
-
"in": "c",
|
|
417
|
+
"in": "°c",
|
|
318
418
|
"out": "celsius"
|
|
319
419
|
},
|
|
320
420
|
"فهرنهايت",
|
|
@@ -346,11 +446,11 @@
|
|
|
346
446
|
"on_off_states": {
|
|
347
447
|
"values": [
|
|
348
448
|
{
|
|
349
|
-
"in": "
|
|
449
|
+
"in": "(شغال|[ت|ي]عمل|[ي|ت]وجد|[ي|ت]شحن)",
|
|
350
450
|
"out": "on"
|
|
351
451
|
},
|
|
352
452
|
{
|
|
353
|
-
"in": "
|
|
453
|
+
"in": "(مطفي|لا [ت|ي]عمل|لا [ي|ت]وجد|لا [ي|ت]شحن)",
|
|
354
454
|
"out": "off"
|
|
355
455
|
}
|
|
356
456
|
]
|
|
@@ -425,7 +525,10 @@
|
|
|
425
525
|
"area": "[ال]{area}",
|
|
426
526
|
"colors": "[ال]{color}",
|
|
427
527
|
"script": "[ال](برنامج|برامج|مسار|مسارات|سيناريو)",
|
|
428
|
-
"
|
|
528
|
+
"scene": "[ال](مشهد|مشاهد|اعدادات)",
|
|
529
|
+
"what_is": "(ما هو|ما هي|ماذا يكون|ماذا تكون|كم هي|كم هو)",
|
|
530
|
+
"is_it": "(هل [هي]|هل [هو]|هل هناك)",
|
|
531
|
+
"how_many": "كم عدد",
|
|
429
532
|
"brightness": "{brightness}[% | بالمائة]",
|
|
430
533
|
"temperature": "{temperature}[°| درجة] [{temperature_unit}]",
|
|
431
534
|
"light": "[ال](اضواء|اضاءة|ضوء|مصابيح|مصباح|انوار|نور|لمبة|لمبات|انوار)",
|
|
@@ -439,6 +542,8 @@
|
|
|
439
542
|
"color": "[ال](لون|الوان)",
|
|
440
543
|
"in": "(في|داخل)",
|
|
441
544
|
"all": "(كل|جميع)",
|
|
545
|
+
"to": "(على|الى)",
|
|
546
|
+
"any": "(أي)",
|
|
442
547
|
"open": "(افتح|ارفع)",
|
|
443
548
|
"close": "(اغلق|اقفل|اخفض|انزل|نزل)",
|
|
444
549
|
"awning": "[ال](مظلة|مظلات)",
|
|
@@ -446,7 +551,8 @@
|
|
|
446
551
|
"door": "[ال](باب|ابواب)",
|
|
447
552
|
"garage": "[ال](باب|ابواب|بوابة|بوابات) [ال]جراج",
|
|
448
553
|
"gate": "[ال](بوابة|بوابات)",
|
|
449
|
-
"window": "[ال](نافذة|نوافذ|نافذات|شباك|شبابيك)"
|
|
554
|
+
"window": "[ال](نافذة|نوافذ|نافذات|شباك|شبابيك)",
|
|
555
|
+
"lock": "[ال](اقفال|قفل)"
|
|
450
556
|
},
|
|
451
557
|
"skip_words": [
|
|
452
558
|
"(من فضلك|لو سمحت)",
|
|
@@ -84,8 +84,10 @@
|
|
|
84
84
|
],
|
|
85
85
|
"requires_context": {
|
|
86
86
|
"device_class": [
|
|
87
|
+
"awning",
|
|
87
88
|
"blind",
|
|
88
89
|
"curtain",
|
|
90
|
+
"shade",
|
|
89
91
|
"shutter"
|
|
90
92
|
],
|
|
91
93
|
"domain": "cover"
|
|
@@ -94,12 +96,14 @@
|
|
|
94
96
|
},
|
|
95
97
|
{
|
|
96
98
|
"sentences": [
|
|
97
|
-
"(<zavrit>|<zatahnout>) (rolet(u|y)|žaluzi(i|e)|závěs[y]) <area>"
|
|
99
|
+
"(<zavrit>|<zatahnout>) (rolet(u|y)|žaluzi(i|e)|závěs[y]|markýz[u|y]|stínítk[o|a]) <area>"
|
|
98
100
|
],
|
|
99
101
|
"slots": {
|
|
100
102
|
"device_class": [
|
|
103
|
+
"awning",
|
|
101
104
|
"blind",
|
|
102
105
|
"curtain",
|
|
106
|
+
"shade",
|
|
103
107
|
"shutter"
|
|
104
108
|
],
|
|
105
109
|
"domain": "cover"
|
|
@@ -217,8 +221,10 @@
|
|
|
217
221
|
],
|
|
218
222
|
"requires_context": {
|
|
219
223
|
"device_class": [
|
|
224
|
+
"awning",
|
|
220
225
|
"blind",
|
|
221
226
|
"curtain",
|
|
227
|
+
"shade",
|
|
222
228
|
"shutter"
|
|
223
229
|
],
|
|
224
230
|
"domain": "cover"
|
|
@@ -227,12 +233,14 @@
|
|
|
227
233
|
},
|
|
228
234
|
{
|
|
229
235
|
"sentences": [
|
|
230
|
-
"(<otevrit>|<roztahnout>) (rolet(u|y)|žaluzi(i|e)|závěs[y]) <area>"
|
|
236
|
+
"(<otevrit>|<roztahnout>) (rolet(u|y)|žaluzi(i|e)|závěs[y]|markýz[u|y]|stínítk[o|a]) <area>"
|
|
231
237
|
],
|
|
232
238
|
"slots": {
|
|
233
239
|
"device_class": [
|
|
240
|
+
"awning",
|
|
234
241
|
"blind",
|
|
235
242
|
"curtain",
|
|
243
|
+
"shade",
|
|
236
244
|
"shutter"
|
|
237
245
|
],
|
|
238
246
|
"domain": "cover"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"sentences": [
|
|
54
|
-
"(Zünd|Mach|Lösch|Schalt|Schaut) [<Liecht>] <name> <ab_us>"
|
|
54
|
+
"(Zünd|Mach|Lösch|Schalt|Schaut) [(<Liecht> |(d'[ ]|d |de |dr |der |die |ds |s ))]<name> <ab_us>"
|
|
55
55
|
],
|
|
56
56
|
"slots": {
|
|
57
57
|
"domain": "light"
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
"data": [
|
|
299
299
|
{
|
|
300
300
|
"sentences": [
|
|
301
|
-
"(Zünd|Mach|Schalt|Schaut) [<Liecht>] <name> [<a_y>]"
|
|
301
|
+
"(Zünd|Mach|Schalt|Schaut) [(<Liecht> |(d'[ ]|d |de |dr |der |die |ds |s ))]<name> [<a_y>]"
|
|
302
302
|
],
|
|
303
303
|
"slots": {
|
|
304
304
|
"domain": "light"
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
"expansion_rules": {
|
|
660
660
|
"name": "[(d'[ ]|d |de |dr |der |die |ds |s )]{name}",
|
|
661
661
|
"area": "[(idr|i dr|im|ir|ide|idä|i dä|i de|i dr|i der)] {area}",
|
|
662
|
-
"a_y": "(a|y|ii|ih)",
|
|
662
|
+
"a_y": "(a|aa|y|ii|ih)",
|
|
663
663
|
"ab_us": "(ab|us|uus|uis)",
|
|
664
664
|
"cover": "[(d'[' ']|d |alli |aui )]([Sunne]s[ch]tore|Vorhang|Vorhäng|Tür[e]|Tor|Abdeckig[e]|Fänschter[l(a|ä)de])",
|
|
665
665
|
"what_is": "(was isch|wasch)",
|