List of functions

The range capability has functions. Functions have parameters and voice scenarios that let you describe the skills for the device.

Function Description
brightness

Changing brightness of lighting.

channel

Changing the channel (for example, on a TV).

humidity

Changing the humidity.

open

Opening something (shades or windows).

temperature

Changing the temperature. It may indicate the heating temperature of an electric kettle, heater, or an air conditioner in any of its modes.

volume

Changing the device volume.

Function Description
brightness

Changing brightness of lighting.

channel

Changing the channel (for example, on a TV).

humidity

Changing the humidity.

open

Opening something (shades or windows).

temperature

Changing the temperature. It may indicate the heating temperature of an electric kettle, heater, or an air conditioner in any of its modes.

volume

Changing the device volume.

brightness

Changing brightness of lighting elements.

Below is the description of the parameters object from the Description of capability section.

parameters object
Parameter Type Description
instance String Function name for this capability. Acceptable values: brightness.
unit String Function value units. Acceptable values: unit.percent (percentage).
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float Minimum acceptable value: 0.
max Float Maximum acceptable value: 100.
precision Float The minimum step between values in the range. The default value is 1.
parameters object
Parameter Type Description
instance String Function name for this capability. Acceptable values: brightness.
unit String Function value units. Acceptable values: unit.percent (percentage).
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float Minimum acceptable value: 0.
max Float Maximum acceptable value: 100.
precision Float The minimum step between values in the range. The default value is 1.

channel

Changing the channel (for example, on a TV).

Below is the description of the parameters object from the Description of capability section.

parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: channel.
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float No restrictions.
max Float No restrictions.
precision Float The minimum step between values in the range. The default value is 1.
parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: channel.
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float No restrictions.
max Float No restrictions.
precision Float The minimum step between values in the range. The default value is 1.

humidity

Changing the humidity.

Below is the description of the parameters object from the Description of capability section.

parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: humidity.
unit String Function value units. Acceptable values: unit.percent (percentage).
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float Minimum acceptable value: 0.
max Float Maximum acceptable value: 100.
precision Float The minimum step between values in the range. The default value is 1.
parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: humidity.
unit String Function value units. Acceptable values: unit.percent (percentage).
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float Minimum acceptable value: 0.
max Float Maximum acceptable value: 100.
precision Float The minimum step between values in the range. The default value is 1.

open

Opening something (shades or windows).

Below is the description of the parameters object from the Description of capability section.

parameters object
Parameter Type Description
instance String Function name for this capability. Valid value: open.
unit String Function value units. Acceptable values: unit.percent (percentage).
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float Minimum acceptable value: 0.
max Float Maximum acceptable value: 100.
precision Float The minimum step between values in the range. The default value is 1.
parameters object
Parameter Type Description
instance String Function name for this capability. Valid value: open.
unit String Function value units. Acceptable values: unit.percent (percentage).
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float Minimum acceptable value: 0.
max Float Maximum acceptable value: 100.
precision Float The minimum step between values in the range. The default value is 1.

temperature

Changing the temperature. It may indicate the heating temperature of an electric kettle, heater, or an air conditioner in any of its modes.

Below is the description of the parameters object from the Description of capability section.

parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: temperature.
unit String Function value units. Acceptable values:
  • unit.temperature.celsius — Measured in degrees Celsius.
  • unit.temperature.kelvin — measured in kelvins.
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float No restrictions.
max Float No restrictions.
precision Float The minimum step between values in the range. The default value is 1.
parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: temperature.
unit String Function value units. Acceptable values:
  • unit.temperature.celsius — Measured in degrees Celsius.
  • unit.temperature.kelvin — measured in kelvins.
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
range object
min Float No restrictions.
max Float No restrictions.
precision Float The minimum step between values in the range. The default value is 1.

volume

Changing the device volume.

Below is the description of the parameters object from the Description of capability section.

parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: volume.
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
unit String Function value units. Acceptable values:
  • unit.percent — Measured as a percentage.

If the parameter is omitted, the function is measured in abstract units. Example of a voice command:

Yasmina, turn the TV volume up by 3.

range object
min Float No restrictions.
max Float No restrictions.
precision Float The minimum step between values in the range. The default value is 1.
parameters object
Parameter Type Description
instance String Function name for this capability. Accepted values: volume.
random_access Boolean

Setting arbitrary function values. If this feature is disabled, the user can only change the values gradually, either up or down. For example, turning the TV volume up or down via an IR remote.

Acceptable values:

  • true: Setting arbitrary values is enabled.
  • false: The feature is disabled.

Default value: true.

range Object Object that describes the range of function values.
unit String Function value units. Acceptable values:
  • unit.percent — Measured as a percentage.

If the parameter is omitted, the function is measured in abstract units. Example of a voice command:

Yasmina, turn the TV volume up by 3.

range object
min Float No restrictions.
max Float No restrictions.
precision Float The minimum step between values in the range. The default value is 1.

Support