عمل

-

شرح

عمل اتوماسیون عمومی این یک ساختار تایپ شده است.

یکی از فیلدها

تایپ کنید ساختار توسعه یافته
دستیار.فرمان.پخش Broadcast Command
assistant.command.OkGoogle OkGoogleCommand
device.command.ActivateScene ActivateSceneCommand
device.command.AppInstall AppInstallCommand
device.command.AppSearch AppSearchCommand
device.command.AppSelect AppSelectCommand
دستگاه.فرمان.ArmDisarm ArmDisarm Command
device.command.BrightnessAbsolute BrightnessAbsoluteCommand
device.command.BrightnessRelative BrightnessRelativeCommand
دستگاه.فرمان.شارژ ChargeCommand
device.command.ColorAbsolute ColorAbsoluteCommand
دستگاه.فرمان.آشپزی Cook Command
دستگاه.فرمان.توزیع DispenseCommand
دستگاه.فرمان.بارانداز DockCommand
دستگاه.فرمان.پر کردن FillCommand
device.command.FindMyDevice LocateCommand
دستگاه.فرمان.رطوبت نسبی HumidityRelative Command
device.command.LightEffectColorLoop LightEffectColorLoopCommand
device.command.LightEffectPulse LightEffectPulseCommand
device.command.LightEffectSleep LightEffectSleepCommand
device.command.LightEffectWake LightEffectWakeCommand
device.command.LockUnlock LockUnlock Command
device.command.MediaNext MediaNextCommand
device.command.MediaPause MediaPauseCommand
device.command.MediaPrevious MediaPreviousCommand
device.command.MediaResume MediaResumeCommand
device.command.MediaShuffle MediaShuffleCommand
device.command.MediaStop MediaStopCommand
device.command.Mute MuteCommand
device.command.NextInput NextInputCommand
device.command.OnOff OnOffCommand
device.command.OpenClose OpenCloseCommand
device.command.PauseUnpause PauseUnpauseCommand
device.command.PreviousInput PreviousInputCommand
device.command.Reboot RebootCommand
device.command.RelativeChannel RelativeChannelCommand
device.command.ReturnChannel ReturnChannelCommand
device.command.ReverseFan Reverse Command
device.command.RotateAbsolute RotateAbsoluteCommand
device.command.SelectChannel ChannelCommand را انتخاب کنید
device.command.SetFanSpeed SetFanSpeedCommand
device.command.SetFanSpeedRelative SetFanSpeedRelativeCommand
device.command.SetHumidity SetHumidityCommand
device.command.SetInput SetInputCommand
device.command.SetVolume SetVolumeCommand
device.command.StartStop StartStopCommand
device.command.StopLightEffect StopLightEffectCommand
device.command.ThermostatSetMode ThermostatSetModeCommand
device.command.ThermostatTemperatureSetpoint ترموستاتTemperatureSetpointCommand
device.command.ThermostatTemperatureSetRange ترموستاتTemperatureSetRangeCommand
device.command.TimerAdjust TimerAdjustCommand
device.command.TimerCancel TimerCancelCommand
device.command.TimerPause TimerPauseCommand
device.command.TimerResume TimerResumeCommand
device.command.TimerStart TimerStartCommand
خانه.فرمان.اعلان Notification Command
تاخیر زمانی DelayAction

مثال ها

یک اقدام برای روشن کردن تلویزیون و چراغ.

actions:
  type: device.command.OnOff
  devices:
  - TV - Living Room
  - Light A - Living Room
  on: true

یک اقدام واحد برای پخش یک پیام از طریق دستیار Google.

actions:
  type: assistant.command.Broadcast
  message: Dinner time

چندین عمل برای روشن کردن یک چراغ و خاموش کردن آن پس از 5 دقیقه.

actions:
- type: device.command.OnOff
  devices: Light A - Living Room
  on: true
- type: time.delay
  for: 5min
- type: device.command.OnOff
  devices: Light A - Living Room
  on: false