<br />

## Description

Set the media input.

## Fields

| Key | Type | Description |
|---|---|---|
| `devices` | \[[Device](https://developers.home.google.com/automations/schema/basics.md.txt#entity)\] | Devices with media inputs such as TVs. Required |
| `newInput` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | Name of the new input. Required The available values depends on each device. |

## Examples

```yaml
actions:
- type: device.command.SetInput
  devices: My Device - Room Name
  newInput: InputName
```