mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add image and smallicon field for data (#9055)
* Add image and smallicon field for data * Update joaoapps_join.markdown
This commit is contained in:
parent
3988e7f47b
commit
9bbadf877d
@ -62,7 +62,7 @@ device_names:
|
|||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% 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:
|
You can use them like so:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -71,7 +71,14 @@ You can use them like so:
|
|||||||
"title": "Home Assistant",
|
"title": "Home Assistant",
|
||||||
"data": {
|
"data": {
|
||||||
"icon": "https://goo.gl/xeetdy",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user