Skip to content

Commands

This page lists the full Go Automate command tree. Run any command with --help to see its usage at the terminal.

The root command. With no subcommand in an interactive terminal, it launches the TUI when the go-automate-tui binary is available; otherwise it shows CLI help.

FlagEffect
--versionPrint the version and exit.
--helpShow help for the command.

Interact with Home Assistant.

ha watch entity <entity_id> (alias ha w e)

Section titled “ha watch entity <entity_id> (alias ha w e)”

Watch an entity for state changes. Uses the bridge by default and falls back to a direct WebSocket connection if the bridge is unavailable. Prefer ha bridge watch entity (below) for anything long-running.

FlagEffect
--bar-jsonEmit JSON lines (text, tooltip, class) for status bars.
--iconText/icon to show for the state in bar JSON mode.
--text-onText appended when the state is on.
--text-offText appended when the state is not on.
--tooltip-onTooltip when the state is on.
--tooltip-offTooltip when the state is not on.
--class-onStatus-bar class when the state is on.
--class-offStatus-bar class when the state is not on.
--hide-offHide the module when the state is not on.
--directBypass the bridge and connect directly (higher network usage).
--bridge-socketPath to the bridge socket to try before falling back.

See Bar JSON for the output shape and how the --bar-json flags combine.

Serve the shared Home Assistant bridge. See Running the Bridge.

FlagEffect
--socketPath to the bridge socket. Defaults to $XDG_RUNTIME_DIR/go-automate/home-assistant.sock.

ha bridge watch entity <entity_id> (alias ha b w e)

Section titled “ha bridge watch entity <entity_id> (alias ha b w e)”

Watch an entity through the bridge (recommended). Takes the same --bar-json output flags as ha watch entity. See Bar JSON for the output shape.

FlagEffect
--bar-jsonEmit JSON lines for status bars.
--iconText/icon to show for the state in bar JSON mode.
--text-on / --text-offText appended for the on / not-on states.
--tooltip-on / --tooltip-offTooltip for the on / not-on states.
--class-on / --class-offStatus-bar class for the on / not-on states.
--hide-offHide the module when the state is not on.
--socketPath to the bridge socket.

ha assist_satellite announce <area_id> <message> (alias ha as a)

Section titled “ha assist_satellite announce <area_id> <message> (alias ha as a)”

Announce a message to an area through an assist satellite. The first argument is the area ID; the second is the message.

Terminal window
go-automate ha assist_satellite announce living_room "Dinner is ready"

Control light entities. Each subcommand takes the entity name without its domain.

SubcommandAliasService
turn-on <name>onlight.turn_on
turn-off <name>offlight.turn_off
toggle <name>tlight.toggle

Control switch entities. Same subcommands as light.

SubcommandAliasService
turn-on <name>onswitch.turn_on
turn-off <name>offswitch.turn_off
toggle <name>tswitch.toggle

Control input boolean helpers. Same subcommands as light.

SubcommandAliasService
turn-on <name>oninput_boolean.turn_on
turn-off <name>offinput_boolean.turn_off
toggle <name>tinput_boolean.toggle

Send a desktop notification through notify-send. The first argument is the summary; the optional second argument is the body. See Notifications.

Terminal window
go-automate notify "Build complete" "Your build finished successfully"

Launch the interactive TUI menu.