Skip to content

Commit

Permalink
[EN] Add "lock all doors" (#2408)
Browse files Browse the repository at this point in the history
* Add "lock all doors"

* Remove all slot from test
  • Loading branch information
synesthesiam authored Oct 2, 2024
1 parent 07b52fe commit 0409da7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sentences/en/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ expansion_rules:
area_floor: "(<area>|<floor>)"
in_area_floor: "[<in> ]<area_floor>"
what_is: "(what's|whats|what is|tell me)[ the]"
lockable: "[the ](lock|door|window|gate|garage door|shutter)[s]"
lockable: "[(the|my) ](lock|door|window|gate|garage door|shutter)[s]"
where_is: "(where's|wheres|where is)"
which: "(which|what)[ of the]"
is: "(is|are)[ (there|the)]"
Expand Down
2 changes: 1 addition & 1 deletion sentences/en/lock_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ intents:
- sentences:
- "lock[ all] <lockable>[ in] <area>"
- "lock[ all] <area>[ <lockable>]"
- "lock all[ of] <lockable>"
slots:
domain: "lock"
name: "all"
response: lock
1 change: 0 additions & 1 deletion tests/en/lock_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ tests:
slots:
area: Kitchen
domain: lock
name: all
response: Locked

0 comments on commit 0409da7

Please sign in to comment.