Skip to content

Commit

Permalink
Add docs for SimpliSafe system notifications (home-assistant#12115)
Browse files Browse the repository at this point in the history
* Add docs for SimpliSafe system notifications

* Updates per PR code review
  • Loading branch information
bachya authored Feb 18, 2020
1 parent bb8294b commit 92a6f29
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions source/_integrations/simplisafe.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ For any property denoting a volume, the following values should be used:

## Events

Automations can listen for `SIMPLISAFE_EVENT` events. Anytime one of these events is
received, it will come with event data that contains the following keys:
### `SIMPLISAFE_EVENT`

`SIMPLISAFE_EVENT` events represent events that appear on the timeline of the SimpliSafe
web and mobile apps. When received, they come with event data that contains the
following keys:

* `changed_by`: the PIN that triggered the event (if appropriate)
* `event_type`: the type of event
Expand Down Expand Up @@ -130,3 +133,14 @@ following values:
* `doorbell_detected`
* `entry_detected`
* `motion_detected`

### `SIMPLISAFE_NOTIFICATION`

`SIMPLISAFE_NOTIFICATION` events represent system notifications that would appear in the
messages section of the SimpliSafe web and mobile apps. When received, they come with
event data that contains the following keys:

* `category`: The notification category (e.g., `error`)
* `code`: The SimpliSafe code for the notification
* `message`: The actual text of the notification
* `timestamp`: The UTC timestamp of the notification

0 comments on commit 92a6f29

Please sign in to comment.