# Create Event

### Usage

```yaml
action: llmvision.create_event
data:
  title: Car seen
  description: A white SUV was seen pulling into a driveway.
  label: Car
  image_path: /media/llmvision/snapshots/example.jpg
  camera_entity: camera.front_door
  start_time: 2022-02-22T13:30:00.000Z
  end_time: 2022-02-22T13:30:00.000Z

```

### Parameter Reference

<table><thead><tr><th width="185">Parameter</th><th width="101">Required</th><th width="240.52734375">Description</th><th width="211.5078125">Default</th></tr></thead><tbody><tr><td><code>title</code></td><td>Yes</td><td>Title of the event</td><td></td></tr><tr><td><code>description</code></td><td>Yes</td><td>Description or summary of the event</td><td></td></tr><tr><td><code>label</code></td><td>No</td><td>Label to assign to the event</td><td></td></tr><tr><td><code>image_path</code></td><td>No</td><td>File path to the image. Path must be stored in <code>/media/llmvision/snapshots/</code></td><td></td></tr><tr><td><code>camera_entity</code></td><td>No</td><td>Entity to associate with the event. Can be a camera entity or any other entity type.</td><td></td></tr><tr><td><code>start_time</code></td><td>No</td><td>Datetime the event started</td><td>now</td></tr><tr><td><code>end_time</code></td><td>No</td><td>Datetime the event ended</td><td>start_time + 1min</td></tr></tbody></table>
