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

ha-bridge python_script

Arguments and flags for every ha-bridge python_script command.

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

ha-bridge python_script

DESCRIPTION
  Python script actions

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

DESCRIPTION
  Run one

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

ARGUMENTS
  name string    Name, without python_script.

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 python_script reload

DESCRIPTION
  Reload the python_script YAML configuration

USAGE
  ha-bridge python_script 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