mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Fix description
This commit is contained in:
parent
8c1ae6d000
commit
40d60227f2
@ -60,18 +60,15 @@ notify:
|
|||||||
|
|
||||||
Configuration variables:
|
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
|
- **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`.
|
||||||
`notify.NOTIFIER_NAME`.
|
|
||||||
- **api_key** (*Required*): The API token of your bot.
|
- **api_key** (*Required*): The API token of your bot.
|
||||||
- **chat_id** (*Required*: The chat ID of your user.
|
- **chat_id** (*Required*: The chat ID of your user.
|
||||||
|
|
||||||
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/).
|
||||||
|
|
||||||
### Photo support
|
### {% linkable_title Photo support %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
...
|
|
||||||
|
|
||||||
action:
|
action:
|
||||||
service: notify.NOTIFIER_NAME
|
service: notify.NOTIFIER_NAME
|
||||||
data:
|
data:
|
||||||
@ -88,6 +85,8 @@ action:
|
|||||||
caption: I.e. for a Title
|
caption: I.e. for a Title
|
||||||
```
|
```
|
||||||
|
|
||||||
- **url** or **file** (*Required*): For local or remote path to a picture
|
- **url** or **file** (*Required*): For local or remote path to an image.
|
||||||
- **caption** (*Optional*: Picture title
|
- **caption** (*Optional*): The title of the image.
|
||||||
- **username** and **password** (*Optional*: For URL they require a basic auth
|
- **username** (*Optional*): Username for an URL which require HTTP basic authentication.
|
||||||
|
- **password** (*Optional*): Username for an URL which require HTTP basic authentication.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user