From 99f8b897f8250bfa70e43506d16225f6f4171131 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Sat, 20 Jul 2019 05:58:47 -0600 Subject: [PATCH] Add docs for new SimpliSafe PIN services (#9887) --- source/_components/simplisafe.markdown | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/source/_components/simplisafe.markdown b/source/_components/simplisafe.markdown index 2922d60cfdf..d69cf12385d 100644 --- a/source/_components/simplisafe.markdown +++ b/source/_components/simplisafe.markdown @@ -15,6 +15,8 @@ There is currently support for the following device types within Home Assistant: - Alarm +## Configuration + To enable this component, add the following lines to your `configuration.yaml`: ```yaml @@ -39,3 +41,28 @@ code: required: false type: string {% endconfiguration %} + +## Services + +Note that the `system_id` parameter required by the below service calls can be discovered +by looking at the device state attributes for the integration's `alarm_control_panel` +entity. + +### `simplisafe.remove_pin` + +Remove a SimpliSafe PIN (by label or PIN value). + +| Service Data Attribute | Optional | Description | +|---------------------------|----------|---------------------------------------------| +| `system_id` | no | The ID of the system to remove the PIN from | +| `label_or_pin` | no | The PIN label or value to remove | + +### `simplisafe.set_pin` + +Set a SimpliSafe PIN. + +| Service Data Attribute | Optional | Description | +|---------------------------|----------|---------------------------------------------| +| `system_id` | no | The ID of the system to remove the PIN from | +| `label` | no | The label to show in the SimpliSafe UI | +| `pin` | no | The PIN value to use |