mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add power command to System Bridge docs (#28037)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
0499817d95
commit
c8083a2dfe
@ -137,3 +137,26 @@ data:
|
|||||||
bridge: "deviceid"
|
bridge: "deviceid"
|
||||||
text: "Hello"
|
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`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user