diff --git a/sentences/en/_common.yaml b/sentences/en/_common.yaml index 0b4037b155..e1e016ef61 100644 --- a/sentences/en/_common.yaml +++ b/sentences/en/_common.yaml @@ -369,7 +369,7 @@ expansion_rules: where_is: "(where's|wheres|where is)" brightness: "{brightness}[[ ]%| percent]" light: "[the] (light|lights|lighting)" - turn: "(turn|switch|change)" + turn: "(turn|switch|change|set)" temp: "(temp|temperature)" temperature: "{temperature}[([ ]°[ ][{temperature_unit}])|( degrees[ {temperature_unit}])]" open: "(open|raise)" diff --git a/sentences/en/fan_HassTurnOff.yaml b/sentences/en/fan_HassTurnOff.yaml index 8f1c2bafb9..404825f38d 100644 --- a/sentences/en/fan_HassTurnOff.yaml +++ b/sentences/en/fan_HassTurnOff.yaml @@ -5,8 +5,8 @@ intents: - sentences: - " off [all] [the] fan[s] in " - " off fan[s]" - - "[] [all] fan[s] off" - - "[] [all] [the] fan[s] [in] off" + - "[] [all] fan[s] [to] off" + - "[] [all] [the] fan[s] [in] [to] off" - "deactivate [all] [the] fan[s] [in] " - "deactivate [all] [the] fan[s]" slots: @@ -15,7 +15,7 @@ intents: response: fans_area - sentences: - - "[] (all [the] fan[s] off|[the] fan[s] off everywhere)" + - "[] (all [the] fan[s] off|[the] fan[s] [to] off everywhere)" - "deactivate (all [the] fan[s]|[the] fan[s] everywhere)" response: "light_all" slots: @@ -24,8 +24,8 @@ intents: - sentences: - " off[ all][ the] fan[s][]" - - "[ all][ the] fan[s]( off;)" - - "[ all][ the] fan[s] off" + - "[ all][ the] fan[s] [to]( off;)" + - "[ all][ the] fan[s][ to] off" response: "fans_area" expansion_rules: in_here: "[ in] here" diff --git a/sentences/en/fan_HassTurnOn.yaml b/sentences/en/fan_HassTurnOn.yaml index 305c04b407..f2cb684033 100644 --- a/sentences/en/fan_HassTurnOn.yaml +++ b/sentences/en/fan_HassTurnOn.yaml @@ -5,7 +5,7 @@ intents: - sentences: - " on [all] [the] fan[s] in " - " on fan[s]" - - "[] [all] fan[s] on" + - "[] [all] fan[s] [to] on" - "activate [all] fan[s]" - "activate [all] fan[s] [in] " slots: @@ -15,8 +15,8 @@ intents: - sentences: - " on[ all][ the] fan[s][]" - - "[ all][ the] fan[s]( on;)" - - "[ all][ the] fan[s] on" + - "[ all][ the] fan[s] [to] ( on;)" + - "[ all][ the] fan[s] [to] on" response: "fans_area" expansion_rules: in_here: "[ in] here" diff --git a/sentences/en/light_HassTurnOff.yaml b/sentences/en/light_HassTurnOff.yaml index 0ff55ac898..d1acfc3410 100644 --- a/sentences/en/light_HassTurnOff.yaml +++ b/sentences/en/light_HassTurnOff.yaml @@ -13,8 +13,8 @@ intents: - sentences: - " off [all] in " - " off [all] " - - "[] [all] off" - - "[] [all] [in] off" + - "[] [all] [to] off" + - "[] [all] [in] [to] off" - "deactivate [all] [in] " - "deactivate [all] " slots: @@ -23,13 +23,13 @@ intents: # Turn off all lights in the home - sentences: - - " off " + - " [to] off " - " off " - "deactivate " - " off " - " off " - "deactivate " - - " off" + - " [to] off" - " off " - "deactivate " response: "light_all" @@ -40,13 +40,13 @@ intents: - sentences: - " off " - " off " - - " off" - - " off" + - " [to] off" + - " [to] off" - " off " - " off " - "deactivate " - "deactivate " - - " off" + - " [to] off" - " off " - "deactivate " response: "lights_area" @@ -61,7 +61,7 @@ intents: - " off (on|in) " - " off " - " off " - - " off" + - " [] [to] off" - " off" - "deactivate " - "deactivate (on|in) " diff --git a/sentences/en/light_HassTurnOn.yaml b/sentences/en/light_HassTurnOn.yaml index 6860cb9758..9d64f62470 100644 --- a/sentences/en/light_HassTurnOn.yaml +++ b/sentences/en/light_HassTurnOn.yaml @@ -13,8 +13,8 @@ intents: - sentences: - " on [all] in " - " on [all] " - - "[] [all] on" - - "[] [all] [in] on" + - "[] [all] [to] on" + - "[] [all] [in] [to] on" - "activate [all] [in] " - "activate [all] " slots: @@ -29,7 +29,7 @@ intents: - " on " - " on " - "activate " - - " on" + - " [to] on" - " on " - "activate " response: "light_all" @@ -40,13 +40,13 @@ intents: - sentences: - " on " - " on " - - " on" - - " on" + - " [to] on" + - " [to] on" - " on " - " on " - "activate " - "activate " - - " on" + - " [to] on" - " on " - "activate " response: "lights_area" @@ -61,7 +61,7 @@ intents: - " on (on|in) " - " on " - " on " - - " on" + - " [] [to] on" - " on" - "activate " - "activate (on|in) " diff --git a/tests/en/fan_HassTurnOff.yaml b/tests/en/fan_HassTurnOff.yaml index 9c5151764b..4327111ca4 100644 --- a/tests/en/fan_HassTurnOff.yaml +++ b/tests/en/fan_HassTurnOff.yaml @@ -12,6 +12,7 @@ tests: - "turn all the living room fans off" - "living room fans off" - "deactivate living room fans" + - "set the living room fans to off" intent: name: HassTurnOff slots: @@ -25,6 +26,7 @@ tests: - Turn all fans off - Deactivate all fans - Deactivate the fan everywhere + - Set all the fans to off intent: name: HassTurnOff slots: @@ -37,6 +39,7 @@ tests: - "turn all the fans off in here" - "turn the fans here off" - "turn the fans off" + - "set the fans to off" intent: name: HassTurnOff context: diff --git a/tests/en/fan_HassTurnOn.yaml b/tests/en/fan_HassTurnOn.yaml index 3beab387ad..09a25dd096 100644 --- a/tests/en/fan_HassTurnOn.yaml +++ b/tests/en/fan_HassTurnOn.yaml @@ -13,6 +13,7 @@ tests: - "all kitchen fans on" - "kitchen fans on" - "activate kitchen fans" + - "set the kitchen fans to on" intent: name: HassTurnOn slots: @@ -27,6 +28,7 @@ tests: - "turn all the fans on in here" - "turn the fans here on" - "turn the fans on" + - "set the fans to on" intent: name: HassTurnOn context: diff --git a/tests/en/light_HassTurnOff.yaml b/tests/en/light_HassTurnOff.yaml index 48c45200b6..4486edcd92 100644 --- a/tests/en/light_HassTurnOff.yaml +++ b/tests/en/light_HassTurnOff.yaml @@ -23,6 +23,7 @@ tests: - "turn the kitchen lights off" - "kitchen lighting off" - "deactivate kitchen lights" + - "Set the kitchen lights to off" intent: name: HassTurnOff slots: @@ -45,6 +46,7 @@ tests: - Turn all lighting off - Deactivate every single light - Deactivate lights in each room + - Set all the lights to off intent: name: HassTurnOff slots: @@ -63,6 +65,7 @@ tests: - Turn the lights off - Turn off the lights - Deactivate the lights + - Set the lights to off intent: name: HassTurnOff context: @@ -81,6 +84,7 @@ tests: - First floor lights off - Deactivate all first floor lights - Deactivate all lights on the first floor + - Set all the first floor lights to off intent: name: HassTurnOff slots: diff --git a/tests/en/light_HassTurnOn.yaml b/tests/en/light_HassTurnOn.yaml index c3eadf3aae..1af9c18644 100644 --- a/tests/en/light_HassTurnOn.yaml +++ b/tests/en/light_HassTurnOn.yaml @@ -25,6 +25,7 @@ tests: - "activate living room lights" - "lights living room on" - "living room lighting on" + - "set the living room lights to on" intent: name: HassTurnOn slots: @@ -47,6 +48,7 @@ tests: - Turn all lighting on - Activate every single light - Activate lights in each room + - Set all lights to on intent: name: HassTurnOn slots: @@ -65,6 +67,7 @@ tests: - Turn the lights on - Turn on the lights - Activate the lights + - Set the lights to on intent: name: HassTurnOn context: @@ -83,6 +86,7 @@ tests: - First floor lights on - Activate all first floor lights - Activate all lights on the first floor + - Set all the first floor lights to on intent: name: HassTurnOn slots: