設定輸入指令

說明

設定媒體輸入。

欄位

金鑰 類型 說明
devices [裝置]

具備媒體輸入裝置 (例如電視) 的裝置。

需要

可使用變數。

newInput 字串

新輸入項目的名稱。

需要

可使用變數。

可用值視裝置而定。

範例

actions:
- type: device.command.SetInput
  devices: My Device - Room Name
  newInput: InputName