<br />

## Description

A condition to represent logical NOT of another condition.

## Fields

| Key | Type | Description |
|---|---|---|
| `condition` | [Condition](https://developers.home.google.com/automations/schema/reference/standard/condition.md.txt) | The condition to negate. Required |

## Examples

Use a condition: if the time is not between 6 pm and 8 pm.

```yaml
condition:
  type: not
  condition:
    type: time.between
    after: 6:00 pm
    before: 8:00 pm
```