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

ha-bridge logbook

Arguments and flags for every ha-bridge logbook command.

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

ha-bridge logbook

DESCRIPTION
  Logbook actions

USAGE
  ha-bridge logbook <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 logbook get

DESCRIPTION
  Print logbook entries for the target, or every entry without one

USAGE
  ha-bridge logbook get [flags] [<entity_id...>]

ARGUMENTS
  entity_id... string    Entity ID, such as light.desk; 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)
  --start string     Start, as an ISO time or a duration before now, such as "2 hours"
  --end string       End, as an ISO time or a duration before now; now when left out
  --json             Print JSON
  --domain string    Only entities in this domain, such as light
  --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 logbook watch

Alias: ha-bridge logbook w

DESCRIPTION
  Print new logbook entries for the target, or every entry without one

USAGE
  ha-bridge logbook watch [flags] [<entity_id...>]

ARGUMENTS
  entity_id... string    Entity ID, such as light.desk; 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)
  --json             Print each entry as JSON
  --domain string    Only entities in this domain, such as light
  --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 logbook log

DESCRIPTION
  Add a logbook entry

USAGE
  ha-bridge logbook log [flags] <name> <message>

ARGUMENTS
  name string       Who or what the entry is about, such as Kitchen
  message string    What happened, such as is being used

FLAGS
  --socket string       Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
  --entity-id string    Full entity ID to tie the entry to
  --domain string       Domain whose icon the entry shows

Last updated on