mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update Hipchat notify component configuration (#7088)
This commit is contained in:
parent
8b2ab49b91
commit
12486d2055
@ -24,19 +24,45 @@ To enable the HipChat notification in your installation, add the following to yo
|
|||||||
notify:
|
notify:
|
||||||
- name: NOTIFIER_NAME
|
- name: NOTIFIER_NAME
|
||||||
platform: hipchat
|
platform: hipchat
|
||||||
token: ABCDEFGHJKLMNOPQRSTUVXYZ
|
token: YOUR_TOKEN
|
||||||
room: 1234567
|
room: 1234567
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
name:
|
||||||
- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
description: Setting the optional parameter `name` allows multiple notifiers to be created. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
||||||
- **token** (*Required*): The HipChat API token to use for sending HipChat notifications.
|
required: false
|
||||||
- **room** (*Required*): The default room to post to if no room is explicitly specified when sending the notification.
|
default: notify
|
||||||
- **color** (*Optional*): Setting color will override the default color for the notification. By default not setting this will post to HipChat using the default color yellow. Valid options are 'yellow', 'green', 'red', 'purple', 'gray', 'random'.
|
type: string
|
||||||
- **notify** (*Optional*): Setting notify will override the default notify (blink application icon, chime, or otherwise call attention) setting for the notification. By default this is 'false'. Valid options are 'true' and 'false'.
|
token:
|
||||||
- **format** (*Optional*): Setting format will override the default message format. Default is 'text'. Valid options are 'text' and 'html'.
|
description: The HipChat API token to use for sending HipChat notifications.
|
||||||
- **host** (*Optional*): Setting the host will override the default HipChat server host. Default is 'https://api.hipchat.com/'.
|
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: integer
|
||||||
|
color:
|
||||||
|
description: Setting color will override the default color for the notification. Valid options are 'yellow', 'green', 'red', 'purple', 'gray', 'random'.
|
||||||
|
required: false
|
||||||
|
default: yellow
|
||||||
|
type: string
|
||||||
|
notify:
|
||||||
|
description: Setting notify will override the default notify (blink application icon, chime, or otherwise call attention) setting for the notification. Valid options are 'true' and 'false'.
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
format:
|
||||||
|
description: Setting format will override the default message format. Default is 'text'. Valid options are 'text' and 'html'.
|
||||||
|
required: false
|
||||||
|
default: text
|
||||||
|
type: string
|
||||||
|
host:
|
||||||
|
description: Setting the host will override the default HipChat server host.
|
||||||
|
required: false
|
||||||
|
default: "https://api.hipchat.com/"
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title HipChat service data %}
|
### {% linkable_title HipChat service data %}
|
||||||
|
|
||||||
@ -50,4 +76,3 @@ The following attributes can be placed `data` for extended functionality.
|
|||||||
| `format` | yes | (str) Same usage as in configuration.yaml. Overrides any setting set in configuration.yaml.
|
| `format` | 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/).
|
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user