<br />

## Description

Set the current channel to a specific value.

## Fields

| Key | Type | Description |
|---|---|---|
| `devices` | \[[Device](https://developers.home.google.com/automations/schema/basics.md.txt#entity)\] | Devices that support setting a channel. Required |
| `channelName` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | User-friendly name of the requested channel. Optional <br /> To use this field, all the following fields CANNOT be used: *channelNumber* <br /> The available values depends on each device. |
| `channelNumber` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | Numeric identifier for the requested channel. Optional <br /> To use this field, all the following fields CANNOT be used: *channelName* <br /> The available values depends on each device. |
| `channelCode` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | Unique identifier for the requested channel Required The available values depends on each device. |

## Examples

```yaml
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
```