Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add power command to System Bridge docs #28037

Merged
merged 2 commits into from
Aug 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions source/_integrations/system_bridge.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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." %}


frenck marked this conversation as resolved.
Show resolved Hide resolved
```yaml
service: system_bridge.power_command
data:
bridge: "device"
command: "sleep"
```

Supported commands are:

- `hibernate`
- `lock`
- `logout`
- `restart`
- `shutdown`
- `sleep`