DeviceSelector

Description

Asks device values for the input variable.

Fields

Key Type Description
multiSelect Bool

If allows the user to select multiple devices for this input variable.

Optional

Variable is NOT allowed

supportedTypes [String]

The device types to restrict the available device options. If not used, the user can select devices with any device type. For a list of valid values, see the Supported devices page.

Optional

Variable is NOT allowed

Examples

Ask user inputs for a single TV device

selector:
  type: device
  multiSelect: false
  supportedTypes: TV

Ask user inputs for multiple LIGHT or SWITCH devices

selector:
  type: device
  multiSelect: true
  supportedTypes:
  - LIGHT
  - SWITCH