Add image and smallicon field for data (#9055)

* Add image and smallicon field for data

* Update joaoapps_join.markdown
This commit is contained in:
Maciej Bieniek 2019-03-28 03:55:59 +01:00 committed by Paulus Schoutsen
parent 3988e7f47b
commit 9bbadf877d

View File

@ -62,7 +62,7 @@ device_names:
type: string
{% endconfiguration %}
The notify service has two optional parameters: `icon` and `vibration`.
The notify service has two optional parameters: `icon`, `smallicon`, `image`, `sound`, `url`, `notification_id`, `tts`, `tts_language` and `vibration`.
You can use them like so:
```json
@ -71,7 +71,14 @@ You can use them like so:
"title": "Home Assistant",
"data": {
"icon": "https://goo.gl/xeetdy",
"vibration": "0,65,706,86,657,95,668,100"
"smallicon": "https://goo.gl/xeetdy",
"vibration": "0,65,706,86,657,95,668,100",
"image": "https://www.home-assistant.io/images/favicon-192x192-full.png",
"sound": "https://goo.gl/asasde.mp3",
"url": "https://home-assistant.io",
"notification_id": "hass-notification",
"tts": "Notification from Home Assistant",
"tts_language": "english"
}
}
```