<br />

## Description

It defines the starters which trigger an automation. This is a
[Typed Struct](https://developers.home.google.com/automation/schema/basics#typed_struct).

## One of Fields

| Type | Extended Struct |
|---|---|
| assistant.event.OkGoogle | [OkGoogleEvent](https://developers.home.google.com/automations/schema/reference/entity/assistant/ok_google_event.md.txt) |
| device.event.AnimalOtherDetection | [AnimalOtherDetectionEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/animal_other_detection_event.md.txt) |
| device.event.DoorbellPress | [DoorbellPressEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/doorbell_press_event.md.txt) |
| device.event.FaceFamiliarDetection | [FaceFamiliarDetectionEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/face_familiar_detection_event.md.txt) |
| device.event.FaceUnfamiliarDetection | [FaceUnfamiliarDetectionEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/face_unfamiliar_detection_event.md.txt) |
| device.event.MotionDetection | [MotionDetectionEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/motion_detection_event.md.txt) |
| device.event.MovingVehicleDetection | [MovingVehicleDetectionEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/moving_vehicle_detection_event.md.txt) |
| device.event.PackageDelivered | [PackageDeliveredEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/package_delivered_event.md.txt) |
| device.event.PersonDetection | [PersonDetectionEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/person_detection_event.md.txt) |
| device.event.PersonTalking | [PersonTalkingEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/person_talking_event.md.txt) |
| device.event.Sound | [SoundEvent](https://developers.home.google.com/automations/schema/reference/entity/sht_device/sound_event.md.txt) |
| device.state.AppSelector | [AppSelectorState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/app_selector_state.md.txt) |
| device.state.ArmDisarm | [ArmDisarmState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/arm_disarm_state.md.txt) |
| device.state.Brightness | [BrightnessState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/brightness_state.md.txt) |
| device.state.Channel | [ChannelState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/channel_state.md.txt) |
| device.state.ColorSetting | [ColorSettingState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/color_setting_state.md.txt) |
| device.state.Cook | [CookState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/cook_state.md.txt) |
| device.state.Dock | [DockState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/dock_state.md.txt) |
| device.state.EnergyStorage | [EnergyStorageState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/energy_storage_state.md.txt) |
| device.state.FanSpeed | [FanSpeedState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/fan_speed_state.md.txt) |
| device.state.Fill | [FillState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/fill_state.md.txt) |
| device.state.HumiditySetting | [HumiditySettingState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/humidity_setting_state.md.txt) |
| device.state.InputSelector | [InputSelectorState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/input_selector_state.md.txt) |
| device.state.LightEffects | [LightEffectsState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/light_effects_state.md.txt) |
| device.state.LockUnlock | [LockUnlockState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/lock_unlock_state.md.txt) |
| device.state.MediaState | [MediaStateState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/media_state_state.md.txt) |
| device.state.MotionDetection | [MotionDetectionState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/motion_detection_state.md.txt) |
| device.state.OccupancySensing | [OccupancySensingState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/occupancy_sensing_state.md.txt) |
| device.state.Online | [OnlineState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/online_state.md.txt) |
| device.state.OnOff | [OnOffState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/on_off_state.md.txt) |
| device.state.OpenClose | [OpenCloseState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/open_close_state.md.txt) |
| device.state.Record | [RecordState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/record_state.md.txt) |
| device.state.Rotation | [RotationState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/rotation_state.md.txt) |
| device.state.RunCycle | [RunCycleState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/run_cycle_state.md.txt) |
| device.state.SensorState | [SensorStateState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/sensor_state_state.md.txt) |
| device.state.StartStop | [StartStopState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/start_stop_state.md.txt) |
| device.state.TemperatureControl | [TemperatureControlState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/temperature_control_state.md.txt) |
| device.state.TemperatureSetting | [TemperatureSettingState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/temperature_setting_state.md.txt) |
| device.state.Timer | [TimerState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/timer_state.md.txt) |
| device.state.Volume | [VolumeState](https://developers.home.google.com/automations/schema/reference/entity/sht_device/volume_state.md.txt) |
| home.state.HomePresence | [ModeState](https://developers.home.google.com/automations/schema/reference/entity/sht_structure/home_presence_state.md.txt) |
| time.schedule | [TimeScheduleEvent](https://developers.home.google.com/automations/schema/reference/standard/time_schedule_event.md.txt) |

## Examples

Starts the automation when TV is on.

```yaml
starters:
  type: device.state.OnOff
  device: Google TV - Living Room
  state: on
  is: true
```

Starts at 6pm or at 8pm.

```yaml
starters:
- type: time.schedule
  at: 6:00 pm
- type: time.schedule
  at: 8:00 pm
```