CookCommand

Description

Start or stop cooking.

Fields

Key Type Description
devices [Device]

Devices that support setting a channel.

Required

Variable is allowed.

start Bool

true to start cooking, false to stop current cooking mode.

Required

Variable is allowed.

cookingMode String

Requested cooking mode for the device.

Optional

Variable is allowed.

The available values depends on each device.

foodPreset String

The name of the food preset requested by the user.

Optional

Variable is allowed.

The available values depends on each device.

quantity Number

The quantity of the food requested by the user.

Optional

Variable is allowed.

unit String

The unit associated with the quantity.

Optional

Variable is allowed.

The available values depends on each device.

Examples

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