停用網路設定檔指令

說明

啟用或停用網路設定檔。必須使用搭配 PIN 碼的次要使用者驗證。如果透過這些指令停用其他安全性裝置,使用者的住家安全就可能會受到影響。

欄位

金鑰 類型 說明
devices [裝置]

支援執行網路專用作業的裝置。

需要

可使用變數。

enable 布林值

true 可啟用設定檔,false 用於停用設定檔。

需要

可使用變數。

profile 字串

networkProfiles 屬性中的設定檔名稱。

選用

可使用變數。

可用值視裝置而定。

範例

actions:
- type: device.command.EnableDisableNetworkProfile
  devices: My Device - Room Name
  enable: true