ghastly is a tool for interacting with homeassistant
A pretty incomplete tool for interacting with HomeAssistant. Mainly intended for exploring the API and providing a test bed for the /api/ package. Future hopes includes developing a Terraform provider for HomeAssistant.
Downloads available on the GitHub Releases page: https://github.com/asymmetricia/ghastly/releases
-h, --help help for ghastly
--loglevel string log level; one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, PANIC (default "INFO")
-o, --output text output format for commands; options are text or `json` (default "text")
--server string the URL used to access homeassistant. defaults to value of HASS_SERVER environment variable (default "http://nuc.lan:8123")
--token string the bearer token used to authenticate to homeassistant. defaults to value of HASS_TOKEN environment variable (default "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjZGZlZDAwNDE1NmM0NTM2YTI4MDRiMmRiMjUzN2JmMCIsImlhdCI6MTU0OTc2Mzc3MywiZXhwIjoxODY1MTIzNzczfQ.wHtNVzQoEb1hY5m86QaEKOIp5pApyO0HZBJBDjfCJZc")
- ghastly automation - sub-commands for manipulating and interacting with automations
- ghastly completion - generate bash completion scripts
- ghastly config - sub-commands for manipulating and interacting with config entries
- ghastly device - sub-commands for manipulating and interacting with devices
- ghastly entity - sub-commands for manipulating and interacting with entities
- ghastly raw - send a raw request and print the result
- ghastly service - sub-commands for manipulating and interacting with services
- ghastly state - sub-commands for manipulating and interacting with device states