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

ha-bridge rest_command

Arguments and flags for every ha-bridge rest_command command.

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

ha-bridge rest_command

DESCRIPTION
  REST command actions

USAGE
  ha-bridge rest_command <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 rest_command run

DESCRIPTION
  Run one

USAGE
  ha-bridge rest_command run [flags] <name>

ARGUMENTS
  name string    Name, without rest_command.

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
  --data string      Data to pass, as a JSON object, such as '{"room":"office"}'
  --response         Wait for the result and print it as JSON

ha-bridge rest_command reload

DESCRIPTION
  Reload the rest_command YAML configuration

USAGE
  ha-bridge rest_command reload [flags]

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

Last updated on