<br />

## Description

Start or stop cooking.

## Fields

| Key | Type | Description |
|---|---|---|
| `devices` | \[[Device](https://developers.home.google.com/automations/schema/basics.md.txt#entity)\] | Devices that support setting a channel. Required |
| `start` | [Bool](https://developers.home.google.com/automations/schema/basics.md.txt#bool) | `true` to start cooking, `false` to stop current cooking mode. Required |
| `cookingMode` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | Requested cooking mode for the device. Optional The available values depends on each device. |
| `foodPreset` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | The name of the food preset requested by the user. Optional The available values depends on each device. |
| `quantity` | [Number](https://developers.home.google.com/automations/schema/basics.md.txt#number) | The quantity of the food requested by the user. Optional |
| `unit` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | The unit associated with the quantity. Optional The available values depends on each device. |

## Examples

```yaml
actions:
- type: device.command.Cook
  devices: My Device - Room Name
  start: true
  cookingMode: Some String
```