Add reboot and shutdown service to synology_dsm (#15511)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Michael 2020-11-11 19:08:34 +01:00 committed by GitHub
parent 021550a553
commit 946e13fdd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,3 +159,21 @@ For each disk:
## Cameras
- `{camera_name}`: Displays cameras added in [Surveillance Station](https://www.synology.com/en-us/surveillance).
## Services
### Service `synology_dsm.reboot`
Reboot the by `serial` specified DSM. If only one DSM is configured, `serial` is not requiered.
| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `serial` | yes, when multiple NAS are configured | serial of DSM |
### Service `synology_dsm.shutdown`
Shutdown the by `serial` specified DSM. If only one DSM is configured, `serial` is not requiered.
| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `serial` | yes, when multiple NAS are configured | serial of DSM |