Skip to content
Home Assistant BridgeHome Assistant Bridge
Esc
↑↓navigate↵open⌘Jpreview
On this page

ha-bridge lock

Arguments and flags for every ha-bridge lock command.

Every ha-bridge lock command and its help, as --help prints it. Each also accepts the global flags.

ha-bridge lock

DESCRIPTION
  Lock actions

USAGE
  ha-bridge lock <subcommand> [flags]

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)

ha-bridge lock lock

DESCRIPTION
  Lock

USAGE
  ha-bridge lock lock [flags] [<entity_id...>]

ARGUMENTS
  entity_id... string    Entity ID, with or without the lock. prefix; repeat for more (optional)

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
  --code string      The lock's code
  --entity string    Entity ID or name; repeat for more
  --device string    Device ID or name; repeat for more
  --area string      Area ID or name; repeat for more
  --floor string     Floor ID or name; repeat for more
  --label string     Label ID or name; repeat for more

ha-bridge lock unlock

DESCRIPTION
  Unlock

USAGE
  ha-bridge lock unlock [flags] [<entity_id...>]

ARGUMENTS
  entity_id... string    Entity ID, with or without the lock. prefix; repeat for more (optional)

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
  --code string      The lock's code
  --entity string    Entity ID or name; repeat for more
  --device string    Device ID or name; repeat for more
  --area string      Area ID or name; repeat for more
  --floor string     Floor ID or name; repeat for more
  --label string     Label ID or name; repeat for more

ha-bridge lock open

DESCRIPTION
  Open the latch

USAGE
  ha-bridge lock open [flags] [<entity_id...>]

ARGUMENTS
  entity_id... string    Entity ID, with or without the lock. prefix; repeat for more (optional)

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
  --code string      The lock's code
  --entity string    Entity ID or name; repeat for more
  --device string    Device ID or name; repeat for more
  --area string      Area ID or name; repeat for more
  --floor string     Floor ID or name; repeat for more
  --label string     Label ID or name; repeat for more

Last updated on