docs: update power documentation for "smartthings" devices

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-02-14 06:26:34 -05:00
parent 10703321b0
commit 0e27a949af
1 changed files with 10 additions and 8 deletions

View File

@ -334,7 +334,7 @@ The following configuration options are available for all power device types:
type: type:
# The type of device. Can be either gpio, klipper_device, rf, # The type of device. Can be either gpio, klipper_device, rf,
# tplink_smartplug, tasmota, shelly, homeseer, homeassistant, loxonev1, # tplink_smartplug, tasmota, shelly, homeseer, homeassistant, loxonev1,
# or mqtt. # smartthings, or mqtt.
# This parameter must be provided. # This parameter must be provided.
off_when_shutdown: False off_when_shutdown: False
# If set to True the device will be powered off when Klipper enters # If set to True the device will be powered off when Klipper enters
@ -883,11 +883,11 @@ query_after_command: False
``` ```
#### SmartThings (HTTP) #### SmartThings (HTTP)
!!! Important SmartThings Developer API Topics !!! Important
* See [Getting a Bearer Token]( SmartThings Developer API Topics:
https://developer-preview.smartthings.com/docs/advanced/authorization-and-permissions/)
* See [Getting a list of devices]( * See [Getting a Bearer Token](https://developer-preview.smartthings.com/docs/advanced/authorization-and-permissions/)
https://developer-preview.smartthings.com/api/public#operation/getDevices) * See [Getting a list of devices](https://developer-preview.smartthings.com/api/public#operation/getDevices)
The following options are available for `smartthings` device types: The following options are available for `smartthings` device types:
@ -898,8 +898,10 @@ address: api.smartthings.com
protocol: https protocol: https
port: 443 port: 443
token: token:
# A bearer token used for request authorization. This parameter must be provided. # A token used for request authorization. This option accepts
device: # Jinja2 Templates, see the [secrets] section for details. This paramter
# must be provided.
device:
# The Device guid of the switch to control. This parameter must be provided. # The Device guid of the switch to control. This parameter must be provided.
``` ```