Description
Set the current channel to a specific value.
Fields
Key | Type | Description |
---|---|---|
devices
|
[Device] |
Devices that support setting a channel. Required |
channelName
|
String |
User-friendly name of the requested channel. Optional To use this field, all the following fields CANNOT be used: channelNumber 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 The available values depends on each device. |
channelCode
|
String |
Unique identifier for the requested channel Required 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