啟動停止指令

說明

啟動或停止裝置。

欄位

金鑰 類型 說明
devices [裝置]

支援啟動及停止作業的裝置。

需要

可使用變數。

start 布林值

true可啟動裝置作業,false可停止。

需要

可使用變數。

範例

actions:
- type: device.command.StartStop
  devices: My Device - Room Name
  start: true