Debian Codegraph @

intents/responses/ko/HassGetState.yaml

raw
1 language: ko
2 responses:
3 intents:
4 HassGetState:
5 # the number of names returned is limited to 4, in case there are more, the first 3 names and the remaining count is returned
6 # with 4 names or less, the names are joined with a comma ", " and the last name is joined with " and "
7
8 one: "{{ slots.name }}의 상태는 {{ state.state_with_unit }}입니다"
9
10 one_yesno: |
11 {% if query.matched %}
12 네
13 {% else %}
14 아니요, {{ slots.name }}의 상태는 {{ state.state }}입니다
15 {% endif %}
16
17 any: |
18 {% if query.matched %}
19 {% set match = query.matched | map(attribute="name") | sort | list %}
20 {% if match | length > 4 %}
21 네, {{ match[:3] | join(", ") }} 그리고 {{ (match | length - 3) }}개의 기기가 그렇습니다
22 {%- else -%}
23 {% if match | length == 1 %}
24 네, {{ match|first }} 기기가 그렇습니다
25 {% else %}
26 네,
27 {% for name in match -%}
28 {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} 그리고 {% endif -%}
29 {{ name }}
30 {%- endfor -%}
31 기기가 그렇습니다
32 {% endif %}
33 {% endif %}
34 {% else %}
35 아니요
36 {% endif %}
37
38 all: |
39 {% if not query.unmatched: %}
40 네
41 {% else %}
42 {% set no_match = query.unmatched | map(attribute="name") | sort | list %}
43 {% if no_match | length > 4 %}
44 아니요, {{ no_match[:3] | join(", ") }} 그리고 {{ (no_match | length - 3) }}개의 기기는 그렇지 않습니다
45 {% else %}
46 {% if no_match | length == 1 %}
47 아니요, {{ no_match|first }} 기기는 그렇지 않습니다
48 {%- else -%}
49 아니요,
50 {% for name in no_match -%}
51 {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} 그리고 {% endif -%}
52 {{ name }}
53 {%- endfor %}
54 기기가 그렇습니다
55 {% endif %}
56 {% endif %}
57 {% endif %}
58
59 which: |
60 {% if not query.matched %}
61 어떤 기기도 그렇지 않습니다
62 {% else: %}
63 {% set match = query.matched | map(attribute="name") | sort | list %}
64 {% if match | length > 4 %}
65 {{ match[:3] | join(", ") }} 그리고 {{ (match | length - 3) }}개의 기기가 그렇습니다
66 {% else %}
67 {%- for name in match -%}
68 {% if not loop.first and not loop.last %}, {% elif loop.last and not loop.first %} 그리고 {% endif -%}
69 {{ name }}
70 {%- endfor %}
71 기기가 그렇습니다
72 {% endif %}
73 {% endif %}
74
75 how_many: |
76 {{ query.matched | length }}개의 기기가 그렇습니다