SelectChannelCommand

Description

Set the current channel to a specific value.

Fields

Key Type Description
devices [Device]

Devices that support setting a channel.

Required

Variable is allowed.

channelName String

User-friendly name of the requested channel.

Optional

To use this field, all the following fields CANNOT be used: channelNumber

Variable is allowed.

The available values depends on each device.

channelNumber String

Numeric identifier for the requested channel.

Optional

To use this field, all the following fields CANNOT be used: channelName

Variable is allowed.

The available values depends on each device.

channelCode String

Unique identifier for the requested channel

Required

Variable is allowed.

The available values depends on each device.

Examples

actions:
- type: device.command.SelectChannel
  devices: My Device - Room Name
  channelCode: code123

actions:
- type: device.command.SelectChannel
  devices: My Device - Room Name
  channelNumber: 123

actions:
- type: device.command.SelectChannel
  devices: My Device - Room Name
  channelName: Some Text