Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.43 KB

ghastly_service.md

File metadata and controls

31 lines (21 loc) · 1.43 KB

ghastly service

sub-commands for manipulating and interacting with services

Synopsis

sub-commands for manipulating and interacting with services

Options

  -h, --help   help for service

Options inherited from parent commands

      --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")

SEE ALSO

  • ghastly - ghastly is a tool for interacting with homeassistant
  • ghastly service call - call the given service; each argument after service name should be a key=value pair, which will be passed as a field in service_data
  • ghastly service get - retrieve the given service in the given domain
  • ghastly service list - retrieves a list of services
Auto generated by spf13/cobra on 21-Aug-2020