Add power command to System Bridge docs (#28037)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Aidan Timson 2023-08-28 22:00:53 +01:00 committed by GitHub
parent 0499817d95
commit c8083a2dfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,3 +137,26 @@ data:
bridge: "deviceid"
text: "Hello"
```
### Service `system_bridge.power_command`
Sends power command to the system.
{% my developer_call_service service="system_bridge.power_command" title="Show service in your Home Assistant instance." %}
```yaml
service: system_bridge.power_command
data:
bridge: "device"
command: "sleep"
```
Supported commands are:
- `hibernate`
- `lock`
- `logout`
- `restart`
- `shutdown`
- `sleep`