Ha CLI

Queries and controls an explicitly configured Home Assistant instance and can write a private inventory into the active overlay. Use for Home Assistant state, configuration, integration, service-call, reload, or inventory operations. Never place returned instance data in public Axon.

larsboes Updated 0 repo stars
Sjel

File contents

ha-cli

Generic Home Assistant REST tooling. Non-secret connection facts come from the active overlay; the API token comes from the configured private secret mechanism at runtime.

Commands

scripts/ha-cli config
scripts/ha-cli domains
scripts/ha-cli states [DOMAIN]
scripts/ha-cli get ENTITY_ID
scripts/ha-cli automations
scripts/ha-cli unavailable
scripts/ha-cli entries
scripts/ha-cli call DOMAIN SERVICE [JSON]
scripts/ha-cli reload-automations
scripts/ha-inventory [--overlay PATH] [--output PATH]

Read operations may reveal private entity IDs, locations, devices, URLs, and integration names. Keep their output local. ha-inventory writes to the active overlay by default and must never target the Axon repository.

Service calls and reloads are writes. Confirm the target and requested action before invoking them. A missing token or endpoint is an error; do not substitute remembered deployment facts.

larsboes/Axon commit 2f81116ed6

Frequently asked questions

npx get-skill add larsboes/ha-cli