Commands
Every Home Assistant Bridge command, alias, argument and flag, generated from the CLI's help.
Each command has its own page with its help, as ha-bridge <command> --help prints it.
Global flags
DESCRIPTION
One shared Home Assistant connection for your machine, served to local apps over a single socket
USAGE
ha-bridge <subcommand> [flags]
FLAGS
--socket string Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
GLOBAL FLAGS
--help, -h Show help information
--version, -v Show version information
--wizard Start wizard mode for a command
--completions <bash|zsh|fish|powershell|sh|pwsh> Print shell completion script (choices: bash, zsh, fish, powershell, sh, pwsh)
--log-level <all|trace|debug|info|warn|warning|error|fatal|none> Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)
SUBCOMMANDS
serve Hold the shared Home Assistant connection and serve it on the bridge socket
setup Set the Home Assistant URL and access token
get, g Print the state of every entity a target matches once
watch, w Print the state of every entity a target matches now and on every change
assist_satellite, as Assist satellite actions
input_boolean, ib Input boolean actions
input_number, in Input number actions
light, l Light actions
switch, s Switch actions
cover, c Cover actions
climate, cl Climate actions
camera Camera actions
button Button actions
input_button Input button actions
lock Lock actions
valve Valve actions
siren Siren actions
remote Remote actions
select Select actions
input_select Input select actions
number Number actions
text Text actions
input_text Input text actions
date Date actions
time Time actions
datetime Date and time actions
input_datetime Input date and time actions
counter Counter actions
script Script actions
automation Automation actions
scene Scene actions
timer Timer actions
schedule Schedule actions
group Group actions
homeassistant Home Assistant actions
fan Fan actions
humidifier Humidifier actions
water_heater Water heater actions
media_player, mp Media player actions
vacuum Vacuum actions
lawn_mower Lawn mower actions
alarm_control_panel, alarm Alarm control panel actions
update Update actions
notify Notification actions
persistent_notification, pn Persistent notification actions
tts Text-to-speech actions
todo To-do list actions
calendar Calendar actions
weather Weather actions
conversation Conversation actions
ai_task AI task actions
image Image actions
image_processing Image processing actions
device_tracker Device tracker actions
alert Alert actions
utility_meter Utility meter actions
logbook Logbook actions
system_log System log actions
logs, log Read, watch and search Home Assistant's logs. Needs an admin token
logger Logger actions
recorder Recorder actions
frontend Frontend actions
backup Backup actions
wake_on_lan, wol Wake on LAN actions
hassio Supervisor actions
shell_command Shell command actions
rest_command REST command actions
python_script Python script actions
cloud Home Assistant Cloud actions
ffmpeg FFmpeg sensor actions
google_assistant Google Assistant actions
lovelace Dashboard actions
template Render templates and reload template entities
event Watch and fire events on Home Assistant's event bus
trigger Listen for automation triggers
condition Check automation conditions
history Read recorded entity history
bayesian Bayesian sensor actions
command_line Command line actions
derivative Derivative sensor actions
filter Filter sensor actions
generic_thermostat Generic thermostat actions
history_stats History stats actions
intent_script Intent script actions
min_max Min/max sensor actions
person Person actions
rest RESTful actions
statistics Statistics sensor actions
trend Trend sensor actions
universal Universal media player actions
zone Zone actions
search Search Home Assistant entities, devices and areas, and ha-bridge commands