List of functions
The toggle
skill has functions. Functions have parameters and voice scenarios that let you describe the skills for the device.
Function | Description |
---|---|
backlight | This function turns on the backlight. |
controls_locked | This function enables parental locks. |
ionization | This function turns on the ionizer. |
keep_warm | This function turns on "keep warm" mode. |
mute | This function mutes the sound on the device. |
oscillation | This function turns on oscillation or rotation. For example, it can set the fan to oscillate. |
pause | This function pauses the current device activity. For example, it can pause movie playback or a robotic vacuum cleaner. |
Function | Description |
---|---|
backlight | This function turns on the backlight. |
controls_locked | This function enables parental locks. |
ionization | This function turns on the ionizer. |
keep_warm | This function turns on "keep warm" mode. |
mute | This function mutes the sound on the device. |
oscillation | This function turns on oscillation or rotation. For example, it can set the fan to oscillate. |
pause | This function pauses the current device activity. For example, it can pause movie playback or a robotic vacuum cleaner. |
backlight
This function turns on the backlight.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, turn on the TV backlight.
Yasmina, turn off the teapot backlight.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "backlight" } ... }
- Examples of devices with the backlight function
-
controls_locked
This function enables parental locks.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, lock the controls on the washing machine.
Yasmina, turn on parental lock on the TV.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "controls_locked" } ... }
- Examples of devices with the controls_locked function
-
ionization
This function turns on the ionizer.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, turn on the ionizer on the air conditioner.
Yasmina, turn off ionization on the humidifier.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "ionization" } ... }
- Examples of devices with the ionization function
-
keep_warm
This function turns on "keep warm" mode.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, set the kettle to keep warm.
Yasmina, keep the kettle warm.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "keep_warm" } ... }
- Examples of devices with the keep_warm function
-
mute
This function mutes the sound on the device.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, mute the TV.
Yasmina, mute the TV.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "mute" } ... }
- Examples of devices with the mute function
-
oscillation
This function turns on oscillation or rotation. For example, it can set the fan to oscillate.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, set the fan to oscillate.
Yasmina, turn off oscillation for the heater.
Yasmina, turn on oscillation on the air conditioner.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "oscillation" } ... }
- Examples of devices with the oscillation function
-
pause
This function pauses the current device activity. For example, it can pause movie playback or a robotic vacuum cleaner.
Below is the description of the parameters
object from the Description of capability section.
Yasmina, pause the TV.
Yasmina, put the vacuum cleaner on pause.
Yasmina, unpause the TV.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "pause" } ... }
- Examples of devices with the pause function
-