LockUnlockCommand

Description

Lock or unlock the device.

Fields

Key Type Description
devices [Device]

Device can be locked/unlocked such as door, garage, window etc.

Required

Variable is allowed.

lock Bool

true to lock the device, false to unlock.

Required

Variable is allowed.

Examples

actions:
- type: device.command.LockUnlock
  devices: My Device - Room Name
  lock: true