설명
자동화를 트리거하는 시작 조건을 정의합니다. 이것은 유형이 있는 구조체.
필드 중 하나
유형 | 확장 구조체 |
---|---|
assistant.event.OkGoogle | OkGoogleEvent |
device.event.AnimalCatDetection | AnimalCatDetectionEvent |
device.event.AnimalDogDetection | AnimalDogDetectionEvent |
device.event.AnimalOtherDetection | AnimalOtherDetectionEvent |
device.event.DoorbellPress | DoorbellPressEvent |
device.event.FaceFamiliarDetection | FaceFamiliarDetectionEvent |
device.event.FaceUnfamiliarDetection | FaceUnfamiliarDetectionEvent |
device.event.MotionDetection | MotionDetectionEvent |
device.event.MovingVehicleDetection | MovingVehicleDetectionEvent |
device.event.PackageDelivered | PackageDeliveredEvent |
device.event.PersonDetection | PersonDetectionEvent |
device.event.PersonTalking | PersonTalkingEvent |
device.event.Sound | SoundEvent |
device.state.AppSelector | AppSelectorState |
device.state.ArmDisarm | ArmDisarmState |
device.state.Brightness | BrightnessState |
device.state.Channel | ChannelState |
device.state.ColorSetting | ColorSettingState |
device.state.Cook | CookState |
device.state.Dock | DockState |
device.state.EnergyStorage | EnergyStorageState |
device.state.FanSpeed | FanSpeedState |
device.state.Fill | FillState |
device.state.HumiditySetting | HumiditySettingState |
device.state.InputSelector | InputSelectorState |
device.state.LightEffects | LightEffectsState |
device.state.LockUnlock | LockUnlockState |
device.state.MediaState | MediaStateState |
device.state.MotionDetection | MotionDetectionState |
device.state.OccupancySensing | OccupancySensingState |
device.state.Online | OnlineState |
device.state.OnOff | OnOffState |
device.state.OpenClose | OpenCloseState |
device.state.Record | RecordState |
device.state.Rotation | RotationState |
device.state.RunCycle | RunCycleState |
device.state.SensorState | SensorStateState |
device.state.StartStop | StartStopState |
device.state.TemperatureControl | TemperatureControlState |
device.state.TemperatureSetting | TemperatureSettingState |
device.state.Timer | TimerState |
device.state.Volume | VolumeState |
home.state.HomePresence | ModeState |
time.schedule | TimeScheduleEvent |
예
TV가 켜지면 자동화가 시작됩니다.
starters:
type: device.state.OnOff
device: Google TV - Living Room
state: on
is: true
오후 6시 또는 오후 8시에 시작합니다.
starters:
- type: time.schedule
at: 6:00 pm
- type: time.schedule
at: 8:00 pm