Skip to content

Commit

Permalink
[NL] Add options for Pause and Unpause media (#2716)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFes authored Dec 6, 2024
1 parent 3ffe975 commit af6967c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
13 changes: 8 additions & 5 deletions sentences/nl/media_player_HassMediaPause.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@ intents:
data:
- sentences:
- "(pauzeer|stop) [[de|het] <media_item> [op]] <name>"
- "[zet] <name> [op] (pauze|stop)"
- "[zet] [[de|het] <media_item> [op]] <name> [op] (pauze|stop)"
- "[[de|het] <media_item> [op]] <name> (op (pauze|stop) zetten|pauzeren|stoppen)"
requires_context:
domain: media_player
- sentences:
- "(pauzeren|pauzeer|stoppen)"
- "[zet op] (pauze|stop)"
- "(pauzeer|stop) [de|het] <media_item>"
- "[de|het] <media_item> (pauzeren|stoppen)"
- "[zet [[de|het] <media_item>] op] (pauze|stop)"
requires_context:
area:
slot: true
- sentences:
- "(pauzeer|stop) [[de|het] <media_item> [<in>]] <area>"
- "<area> pauze"
- "[zet] <area> [op] (pauze|stop)"
- "<area> (op (pauze|stop) zetten|pauzeren|stoppen)"
- "(pauzeer|stop) [<in>] <area>[ ]<media_item>"
- "<area>[[ ]<media_item>] pauze"
- "[zet] [[de|het] <media_item> <in>] <area> [op] (pauze|stop)"
- "[[de|het] <media_item> <in>] <area> (op (pauze|stop) zetten|pauzeren|stoppen)"
1 change: 1 addition & 0 deletions sentences/nl/media_player_HassMediaUnpause.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ intents:
requires_context:
domain: media_player
- sentences:
- "hervat [[de|het] <media_item>] "
- "[[de|het] <media_item>] hervat[ten]"
- "[zet] [[de|het] <media_item>] [weer] [op] ([af]spelen|play)"
- "ga verder met [de|het] <media_item>"
Expand Down
8 changes: 4 additions & 4 deletions tests/nl/media_player_HassMediaPause.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ tests:
response: "Gepauzeerd"
- sentences:
- "pauze"
- "pauzeer"
- "pauzeer de muziek"
- "pauzeren"
- "stoppen"
- "zet op pauze"
- "zet op stop"
- "de muziek stoppen"
- "zet muziek op pauze"
- "zet de muziek op stop"
intent:
name: HassMediaPause
slots:
Expand Down
1 change: 1 addition & 0 deletions tests/nl/media_player_HassMediaUnpause.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tests:
name: "TV"
response: "Hervat"
- sentences:
- "hervat de muziek"
- "hervatten"
- "liedjes hervatten"
- "zet de muziek weer op afspelen"
Expand Down

0 comments on commit af6967c

Please sign in to comment.