mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-30 23:06:49 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
61 lines
2.6 KiB
Markdown
61 lines
2.6 KiB
Markdown
---
|
|
title: "Stride"
|
|
description: "Instructions how to add Stride notifications to Home Assistant."
|
|
logo: stride.png
|
|
ha_category:
|
|
- Notifications
|
|
ha_release: 0.66
|
|
redirect_from:
|
|
- /components/notify.stride/
|
|
---
|
|
|
|
The `stride` platform allows you to send notifications from Home Assistant to [Stride](https://stride.com/).
|
|
|
|
You need to obtain a [Stride API token](https://developer.atlassian.com/cloud/stride/security/authentication/#using-room-tokens) to be able to send notifications. When creating the token, you'll see a section labeled "Use this conversation URL to post messages" - it will look something like "https://api.atlassian.com/site/55872e9f-047e-a619-b32c-19d37fbc6038/conversation/26c98c26-0ffd-a11e-3a55-1b397cb71fe0/message". The first set of numbers and letters (`55872e9f-047e-a619-b32c-19d37fbc6038`) is the Cloud ID, and the second set (`26c98c26-0ffd-a11e-3a55-1b397cb71fe0`) is the Room ID.
|
|
|
|
To enable the Stride notification in your installation, add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
notify:
|
|
- platform: stride
|
|
cloudid: CLOUD-ID
|
|
token: TOKEN
|
|
room: ROOM-ID
|
|
```
|
|
|
|
{% configuration %}
|
|
name:
|
|
description: Setting the optional parameter `name` allows multiple notifiers to be created. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
|
required: false
|
|
default: notify
|
|
type: string
|
|
cloudid:
|
|
description: The Stride Cloud ID to use for sending Stride notification.
|
|
required: true
|
|
type: string
|
|
token:
|
|
description: The Stride API token to use for sending Stride notifications.
|
|
required: true
|
|
type: string
|
|
room:
|
|
description: The default room to post to if no room is explicitly specified when sending the notification.
|
|
required: true
|
|
type: string
|
|
panel:
|
|
description: Setting panel will override the default panel type (`None`) for the notification. By default not setting this will post to Stride without using a panel type. Valid options are 'None', 'info', 'note', 'tip', 'warning'.
|
|
required: false
|
|
type: string
|
|
{% endconfiguration %}
|
|
|
|
### Stride service data
|
|
|
|
The following attributes can be placed `data` for extended functionality.
|
|
|
|
| Service data attribute | Optional | Description |
|
|
| ---------------------- | -------- | ----------- |
|
|
| `room` | yes | (int) Same usage as in configuration.yaml. Overrides any setting set in configuration.yaml.
|
|
| `panel` | yes | (str) Same usage as in configuration.yaml. Overrides any setting set in configuration.yaml.
|
|
|
|
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|