Skip to content

Commit 81f3a21

Browse files
authored
Add documentation of the run_command service.
Documentation change for the following PR:
1 parent b178319 commit 81f3a21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/_integrations/nut.markdown

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,13 @@ values with `ups`, `battery`, `input` and `output` prefixes.
7272
An additional virtual sensor type `ups.status.display` is available
7373
translating the UPS status value retrieved from `ups.status` into a
7474
human-readable version.
75+
76+
## Services
77+
78+
### `nut.run_command`
79+
80+
Invokes "instant commands" in your UPS hardware. On hardware that supports it, you can use this program to start and stop battery tests, invoke a front panel test, turn the load on or off, and more.
81+
82+
| Service Data Attribute | Optional | Description |
83+
| ---------------------- | -------- | -------------------------------- |
84+
| `name` | no | The name of the command to invoke|

0 commit comments

Comments
 (0)