From c8083a2dfe3b89b357bab2d0e4bdc89fdcbb81e7 Mon Sep 17 00:00:00 2001 From: Aidan Timson Date: Mon, 28 Aug 2023 22:00:53 +0100 Subject: [PATCH] Add power command to System Bridge docs (#28037) Co-authored-by: Franck Nijhof --- source/_integrations/system_bridge.markdown | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/source/_integrations/system_bridge.markdown b/source/_integrations/system_bridge.markdown index c7ebffdb16d..94130ececfd 100644 --- a/source/_integrations/system_bridge.markdown +++ b/source/_integrations/system_bridge.markdown @@ -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`