<br />

## Description

Fill or drain the device.

## Fields

| Key | Type | Description |
|---|---|---|
| `devices` | \[[Device](https://developers.home.google.com/automations/schema/basics.md.txt#entity)\] | Devices that support setting the speed of a fan. Required |
| `fill` | [Bool](https://developers.home.google.com/automations/schema/basics.md.txt#bool) | `true` to fill, `false` to drain. Required |
| `fillLevel` | [String](https://developers.home.google.com/automations/schema/basics.md.txt#string) | Indicates the `level_name` to set. If unspecified, fill to the default level. Optional <br /> To use this field, all the following fields CANNOT be used: *fillPercent* <br /> The available values depends on each device. |

## Examples

```yaml
actions:
- type: device.command.Fill
  devices: My Device - Room Name
  fill: true
  fillLevel: full
```