Skip to content

Commit

Permalink
Merge branch 'main' into serbian-latn
Browse files Browse the repository at this point in the history
  • Loading branch information
darkobg79 authored Jan 16, 2025
2 parents b0f4ea5 + acb3911 commit 9a5f56c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sentences/bg/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ lists:

bs_light_states:
values:
- in: "(засечен[а|о|и|ия|ият|ата|ите]|задействан[а|о|и|ия|ият|ата|ите]|светъл|светл(а|о|и|ия|ият|ата|ото|ите)|отчита[т][ се]|отчетен[а|о|и|ия|ият|ата|ото|ите])"
- in: "(засечен[а|о|и|ия|ият|ата|ите]|задействан[а|о|и|ия|ият|ата|ите]|светъл|светл(а|о|и|ия|ият|ата|ото|ите)|отчита[т][ се]|отчетен[а|о|и|ия|ият|ата|ото|ите]|свет(я|ят|и|я|нат|нати|натите|нато|ната|натата|натото|натият))"
out: "on"
- in: "((няма|без) светлина|неосветен[а|о|и|ия|ият|ата|ите]|тъм(ен|на|но|ни|ния|ният|ната|ното|ните)|мрач(ен|на|но|ни|ния|ният|ната|ното|ните)|чист[а|о|и|ия|ият|ата|ите]|незадействан[а|о|и|ия|ият|ата|ите]|не [се ]отчита[т])"
out: "off"
Expand Down
5 changes: 3 additions & 2 deletions sentences/bg/binary_sensor_HassGetState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,10 @@ intents:
device_class: light

- sentences:
- "колко [на брой] (светлини|осветления|лампи) са {bs_light_states:state} [<area>]"
- "колко [на брой] са {bs_light_states:state} (светлини|осветления|лампи) [<area>]"
- "колко [на брой] (светлини|осветления|лампи) [са] {bs_light_states:state} [<area>]"
- "колко [на брой] [са] {bs_light_states:state} (светлини|осветления|лампи) [<area>]"
- "колко са [на брой] (светлините|осветленията|лампите) които са {bs_light_states:state} [<area>]"
- "{bs_light_states:state} [ли] [са] (светлините|осветленията|лампите) [<area>]"
response: how_many
slots:
domain: binary_sensor
Expand Down
6 changes: 3 additions & 3 deletions sentences/de/homeassistant_HassStartTimer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ intents:
data:
- sentences:
- "<timer_duration> Timer"
- "Timer (auf|für) <timer_duration>"
- "Timer[ (auf|für)] <timer_duration>"
- "<timer_duration> Timer für {timer_name:name}"
- "Timer (auf|für) <timer_duration> namens {timer_name:name}"
- "{timer_name:name} Timer (auf|für) <timer_duration>"
- "Timer[ (auf|für)] <timer_duration> (namens|für) {timer_name:name}"
- "{timer_name:name} Timer[ (auf|für)] <timer_duration>"
- "<timer_set>[ einen] <timer_duration> Timer"
- "<timer_set>[ einen] Timer (auf|für) <timer_duration>"
- "<timer_set>[ einen][ Timer (auf|für)] <timer_duration>[ Timer] namens {timer_name:name}"
Expand Down
5 changes: 5 additions & 0 deletions sentences/de/homeassistant_HassTimerStatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ intents:
- "Timer Status"
- "Status (des|meines) Timers"
- "wie lange läuft (der|mein) Timer noch"
- "was macht (der|mein) Timer"
- "<timer_start> Timer Status"
- "Status (des|meines) <timer_start> Timers"
- "wie lange läuft (der|mein) <timer_start> Timer noch"
- "was macht (der|mein) <timer_start> Timer"
- "{area} Timer Status"
- "Status (des|meines) {area} Timers"
- "Status (des|meines) Timers <area>"
- "wie lange läuft (der|mein) {area} Timer noch"
- "wie lange läuft (der|mein) Timer <area> noch"
- "was macht (der|mein) {area} Timer"
- "was macht (der|mein) Timer <area>"
- "{timer_name:name} Timer Status"
- "Status (des|meines) {timer_name:name} Timers"
- "wie lange läuft (der|mein) {timer_name:name} Timer noch"
- "was macht (der|mein) {timer_name:name} Timer"
2 changes: 1 addition & 1 deletion sentences/sv/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ expansion_rules:
vad: "(vad är | vad är det | vad är det för | vilken)"
var: "(var | var är | vart | vart är)"
är: "(är det | är)"
brightness: "{brightness}[%| percent]"
brightness: "{brightness}[%| procent]"
slå_på: "(tänd | sätt (på | igång | fart på) | slå (på | till) | starta)"
slå_av: "(slå (av | från | ifrån) | släck | stäng [av] | stoppa)"
i_på: "(i | på | vid | bredvid)"
Expand Down
7 changes: 7 additions & 0 deletions tests/de/homeassistant_HassStartTimer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tests:
- "2 Stunden Timer"
- "Timer auf 2 Stunden"
- "Timer für 2 Stunden"
- "Timer 2 Stunden"
intent:
name: HassStartTimer
slots:
Expand All @@ -27,6 +28,7 @@ tests:
- "1 Stunde Timer"
- "Timer auf 1 Stunde"
- "Timer für 1 Stunde"
- "Timer 1 Stunde"
intent:
name: HassStartTimer
context:
Expand All @@ -39,6 +41,7 @@ tests:
- "Starte einen 1 Stunde und 15 Minuten Timer"
- "Timer für 1 Stunde und 15 Minuten"
- "Setze Timer für 1 Stunde und 15 Minuten"
- "Timer 1 Stunde 15 Minuten"
intent:
name: HassStartTimer
context:
Expand Down Expand Up @@ -78,6 +81,7 @@ tests:
- sentences:
- "Starte einen 5 Minuten Timer"
- "5 Minuten Timer"
- "Timer 5 Minuten"
- "Timer für 5 Minuten"
intent:
name: HassStartTimer
Expand All @@ -93,8 +97,10 @@ tests:
- "Stelle Timer namens Pizza für 5 Minuten"
- "Timer auf 5 Minuten namens Pizza"
- "Timer für 5 Minuten namens Pizza"
- "Timer 5 Minuten namens Pizza"
- "Pizza Timer auf 5 Minuten"
- "Pizza Timer für 5 Minuten"
- "Pizza Timer 5 Minuten"
- "Stelle einen Pizza Timer auf 5 Minuten"
- "Stelle einen Pizza Timer für 5 Minuten"
- "Stelle Pizza Timer auf 5 Minuten"
Expand Down Expand Up @@ -126,6 +132,7 @@ tests:
- "Starte einen 45 Sekunden Timer"
- "Timer für 45 Sekunden"
- "45 Sekunden Timer"
- "Timer 45 Sekunden"
intent:
name: HassStartTimer
context:
Expand Down
7 changes: 7 additions & 0 deletions tests/de/homeassistant_HassTimerStatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tests:
- "Timer Status"
- "status meines Timers"
- "Wie lange läuft der Timer noch"
- "Was macht mein Timer"
intent:
name: HassTimerStatus
response: |
Expand All @@ -14,6 +15,7 @@ tests:
- "1 Stunde Timer Status"
- "Wie lange läuft der 1 Stunde Timer noch"
- "Status des 1 Stunde Timers"
- "Was macht der 1 Stunde Timer"
intent:
name: HassTimerStatus
slots:
Expand All @@ -25,6 +27,7 @@ tests:
- "Pizza Timer Status"
- "Status des Pizza Timers"
- "Wie lange läuft der Pizza Timer noch"
- "Was macht der Pizza Timer"
intent:
name: HassTimerStatus
slots:
Expand All @@ -38,6 +41,10 @@ tests:
- "Status meines Timers im Wohnzimmer"
- "wie lange läuft der Wohnzimmer Timer noch"
- "wie lange läuft der Timer im Wohnzimmer noch"
- "Was macht mein Wohnzimmer Timer"
- "Was macht mein Timer im Wohnzimmer"
- "Was macht der Wohnzimmer Timer"
- "Was macht der Timer im Wohnzimmer"
intent:
name: HassTimerStatus
slots:
Expand Down
1 change: 1 addition & 0 deletions tests/sv/light_HassLightSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: sv
tests:
- sentences:
- Sätt garagelampan till 50%
- Sätt garagelampan till 50 procent
- Vrid upp garagelampa till 50%
- Vrid ner garagelampans ljusstyrka till 50
- Skruva ner garagelampans intensitet till 50%
Expand Down

0 comments on commit 9a5f56c

Please sign in to comment.