Fix description

This commit is contained in:
Fabian Affolter 2016-07-17 13:10:19 +02:00
parent 8c1ae6d000
commit 40d60227f2
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -60,18 +60,15 @@ notify:
Configuration variables:
- **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`.
- **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`.
- **api_key** (*Required*): The API token of your bot.
- **chat_id** (*Required*: The chat ID of your user.
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
### Photo support
### {% linkable_title Photo support %}
```yaml
...
action:
service: notify.NOTIFIER_NAME
data:
@ -88,6 +85,8 @@ action:
caption: I.e. for a Title
```
- **url** or **file** (*Required*): For local or remote path to a picture
- **caption** (*Optional*: Picture title
- **username** and **password** (*Optional*: For URL they require a basic auth
- **url** or **file** (*Required*): For local or remote path to an image.
- **caption** (*Optional*): The title of the image.
- **username** (*Optional*): Username for an URL which require HTTP basic authentication.
- **password** (*Optional*): Username for an URL which require HTTP basic authentication.