<br />

## Description

Switch to the previous 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 |

## Examples

```yaml
actions:
- type: device.command.PreviousInput
  devices: My Device - Room Name
```