hactl 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cli.js +2662 -8860
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm install -g hactl@latest
|
|
|
26
26
|
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
29
|
-
`hactl` reads entities, devices, areas and services from Home Assistant
|
|
29
|
+
`hactl` reads entities, devices, areas and services from Home Assistant, calls services, with JSON output, and reads logs as plain text. It works on contexts, one per instance, with tokens kept in the OS keychain.
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
hactl ctx set home --url https://ha.example.ts.net --install haos
|
|
@@ -35,6 +35,7 @@ hactl ctx use home
|
|
|
35
35
|
|
|
36
36
|
hactl get entities --domain light
|
|
37
37
|
hactl call light.turn_on --entity light.kitchen
|
|
38
|
+
hactl logs --follow
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
Everything else is in the CLI: start with `hactl --help`, and add `--help` to any command.
|