Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DE] use more expansion rules #1927

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions sentences/de/binary_sensor_HassGetState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ intents:
device_class: battery

- sentences:
- "wie viele <batterie> [<area>] (ist|sind) {bs_battery_states:state}"
- "<wieviel> <batterie> [<area>] (ist|sind) {bs_battery_states:state}"
response: wie_viele
slots:
domain: binary_sensor
Expand Down Expand Up @@ -79,7 +79,7 @@ intents:
device_class: battery_charging

- sentences:
- "wie viele <batterie> [<area>] [werden] {bs_battery_charging_states:state}"
- "<wieviel> <batterie> [<area>] [werden] {bs_battery_charging_states:state}"
response: wie_viele
slots:
domain: binary_sensor
Expand Down Expand Up @@ -127,7 +127,7 @@ intents:
device_class: carbon_monoxide

- sentences:
- "wie viele <co_sensor> (sind|wurden) [<area>] {bs_carbon_monoxide_states:state}"
- "<wieviel> <co_sensor> (sind|wurden) [<area>] {bs_carbon_monoxide_states:state}"
response: wie_viele
slots:
domain: binary_sensor
Expand Down Expand Up @@ -180,9 +180,9 @@ intents:
state: "on"

- sentences:
- "wie viele <ding> sind [<area>] kalt"
- "wie viele <ding> sind kalt <area>"
- "wie viele <ding> <area> sind kalt"
- "<wieviel> <ding> sind [<area>] kalt"
- "<wieviel> <ding> sind kalt <area>"
- "<wieviel> <ding> <area> sind kalt"
response: wie_viele
slots:
domain: binary_sensor
Expand Down Expand Up @@ -310,7 +310,7 @@ intents:
device_class: gas

- sentences:
- "wie viele <gas_sensor> (sind|wurden) [<area>] {bs_gas_states:state}"
- "<wieviel> <gas_sensor> (sind|wurden) [<area>] {bs_gas_states:state}"
response: wie_viele
slots:
domain: binary_sensor
Expand Down Expand Up @@ -363,9 +363,9 @@ intents:
state: "on"

- sentences:
- "wie viele <ding> sind [<area>] hei(ß|ss)"
- "wie viele <ding> sind hei(ß|ss) <area>"
- "wie viele <ding> <area> sind hei(ß|ss)"
- "<wieviel> <ding> sind [<area>] hei(ß|ss)"
- "<wieviel> <ding> sind hei(ß|ss) <area>"
- "<wieviel> <ding> <area> sind hei(ß|ss)"
response: wie_viele
slots:
domain: binary_sensor
Expand Down
2 changes: 1 addition & 1 deletion sentences/de/climate_HassClimateGetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ intents:
- "Wie [hoch|niedrig] ist <artikel> Temperatur <von_dem> Thermostat <area>"
- "Wie [hoch|niedrig] ist <artikel> Temperatur des Thermostat[s] <area>"
- "Wie (warm|kalt) ist es <area>"
- "Wie viel Grad [hat|sind] es <area>"
- "<wieviel> Grad [hat|sind] es <area>"
24 changes: 12 additions & 12 deletions sentences/de/cover_HassGetState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,33 @@ intents:
domain: cover

- sentences:
- "sind [irgendwelche|einige] {cover_classes:device_class} {cover_states:state} [<area>]"
- "sind [irgendwelche|einige] {cover_classes:device_class} [<area>] {cover_states:state}"
- "sind [<area>] [irgendwelche|einige] {cover_classes:device_class} {cover_states:state}"
- "sind [<irgend>] {cover_classes:device_class} {cover_states:state} [<area>]"
- "sind [<irgend>] {cover_classes:device_class} [<area>] {cover_states:state}"
- "sind [<area>] [<irgend>] {cover_classes:device_class} {cover_states:state}"
response: irgendeins
slots:
domain: cover

- sentences:
- "(sind alle|ist jede[(r|s)]) {cover_classes:device_class} {cover_states:state} [<area>]"
- "(sind alle|ist jede[(r|s)]) {cover_classes:device_class} [<area>] {cover_states:state}"
- "(sind alle|ist jede[(r|s)]) [<area>] {cover_classes:device_class} {cover_states:state}"
- "(sind|ist) <alle> {cover_classes:device_class} {cover_states:state} [<area>]"
- "(sind|ist) <alle> {cover_classes:device_class} [<area>] {cover_states:state}"
- "(sind|ist) <alle> [<area>] {cover_classes:device_class} {cover_states:state}"
response: alle
slots:
domain: cover

- sentences:
- "welche[(r|s)] {cover_classes:device_class} (ist|sind) {cover_states:state} [<area>]"
- "welche[(r|s)] {cover_classes:device_class} (ist|sind) [<area>] {cover_states:state}"
- "welche[(r|s)] {cover_classes:device_class} [<area>] (ist|sind) {cover_states:state}"
- "<welche> {cover_classes:device_class} (ist|sind) {cover_states:state} [<area>]"
- "<welche> {cover_classes:device_class} (ist|sind) [<area>] {cover_states:state}"
- "<welche> {cover_classes:device_class} [<area>] (ist|sind) {cover_states:state}"
response: welches
slots:
domain: cover

- sentences:
- "wie viele {cover_classes:device_class} (ist|sind) {cover_states:state} [<area>]"
- "wie viele {cover_classes:device_class} (ist|sind) [<area>] {cover_states:state}"
- "wie viele {cover_classes:device_class} [<area>] (ist|sind) {cover_states:state}"
- "<wieviel> {cover_classes:device_class} (ist|sind) {cover_states:state} [<area>]"
- "<wieviel> {cover_classes:device_class} (ist|sind) [<area>] {cover_states:state}"
- "<wieviel> {cover_classes:device_class} [<area>] (ist|sind) {cover_states:state}"
response: wie_viele
slots:
domain: cover
24 changes: 12 additions & 12 deletions sentences/de/homeassistant_HassGetState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ intents:
- cover

- sentences:
- "sind [irgendwelche|einige] {on_off_domains:domain} {on_off_states:state} [<area>]"
- "sind [irgendwelche|einige] {on_off_domains:domain} [<area>] {on_off_states:state}"
- "sind [<area>] [irgendwelche|einige] {on_off_domains:domain} {on_off_states:state}"
- "sind [<irgend>] {on_off_domains:domain} {on_off_states:state} [<area>]"
- "sind [<irgend>] {on_off_domains:domain} [<area>] {on_off_states:state}"
- "sind [<area>] [<irgend>] {on_off_domains:domain} {on_off_states:state}"
response: irgendeins

- sentences:
- "(sind alle|ist jede[(r|s)]) {on_off_domains:domain} {on_off_states:state} [<area>]"
- "(sind alle|ist jede[(r|s)]) {on_off_domains:domain} [<area>] {on_off_states:state}"
- "(sind|ist) [<area>] (alle|jede[(r|s)]) {on_off_domains:domain} {on_off_states:state}"
- "(sind|ist) <alle> {on_off_domains:domain} {on_off_states:state} [<area>]"
- "(sind|ist) <alle> {on_off_domains:domain} [<area>] {on_off_states:state}"
- "(sind|ist) [<area>] <alle> {on_off_domains:domain} {on_off_states:state}"
response: alle

- sentences:
- "welche[(r|s)] {on_off_domains:domain} (ist|sind) {on_off_states:state} [<area>]"
- "welche[(r|s)] {on_off_domains:domain} (ist|sind) [<area>] {on_off_states:state}"
- "welche[(r|s)] {on_off_domains:domain} [<area>] (ist|sind) {on_off_states:state}"
- "<welche> {on_off_domains:domain} (ist|sind) {on_off_states:state} [<area>]"
- "<welche> {on_off_domains:domain} (ist|sind) [<area>] {on_off_states:state}"
- "<welche> {on_off_domains:domain} [<area>] (ist|sind) {on_off_states:state}"
response: welches

- sentences:
- "wie viele {on_off_domains:domain} (ist|sind) {on_off_states:state} [<area>]"
- "wie viele {on_off_domains:domain} (ist|sind) [<area>] {on_off_states:state}"
- "wie viele {on_off_domains:domain} [<area>] (ist|sind) {on_off_states:state}"
- "<wieviel> {on_off_domains:domain} (ist|sind) {on_off_states:state} [<area>]"
- "<wieviel> {on_off_domains:domain} (ist|sind) [<area>] {on_off_states:state}"
- "<wieviel> {on_off_domains:domain} [<area>] (ist|sind) {on_off_states:state}"
response: wie_viele
6 changes: 3 additions & 3 deletions sentences/de/lock_HassGetState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ intents:
domain: lock

- sentences:
- "wie viele {lock_domains:domain} (ist|sind) {lock_states:state} [<area>]"
- "wie viele {lock_domains:domain} (ist|sind) [<area>] {lock_states:state}"
- "wie viele {lock_domains:domain} [<area>] (ist|sind) {lock_states:state}"
- "<wieviel> {lock_domains:domain} (ist|sind) {lock_states:state} [<area>]"
- "<wieviel> {lock_domains:domain} (ist|sind) [<area>] {lock_states:state}"
- "<wieviel> {lock_domains:domain} [<area>] (ist|sind) {lock_states:state}"
response: wie_viele
slots:
domain: lock