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 when command is to lock, false to unlock.

Required

Variable is allowed.

Examples

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