<br />

## Description

Set the target operating mode for a thermostat device.

## Fields

| Key | Type | Description |
|---|---|---|
| `devices` | \[[Device](https://developers.home.google.com/automations/schema/basics.md.txt#entity)\] | Thermostats. Required |
| `thermostatMode` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | The thermostat mode to set. Required The available values depends on each device. |

## Examples

```yaml
actions:
- type: device.command.ThermostatSetMode
  devices: My Device - Room Name
  thermostatMode: Eco
```