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

lock Bool

true to lock the device, false to unlock.

Required

Examples

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