mirror of
https://github.com/home-assistant/core.git
synced 2026-05-17 05:51:33 +01:00
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"services": {
|
|
"create": {
|
|
"description": "Shows a persistent notification on the notifications panel.",
|
|
"fields": {
|
|
"message": {
|
|
"description": "Message body of the notification.",
|
|
"name": "Message"
|
|
},
|
|
"notification_id": {
|
|
"description": "ID of the notification. This new notification will overwrite an existing notification with the same ID.",
|
|
"name": "Notification ID"
|
|
},
|
|
"title": {
|
|
"description": "Optional title of the notification.",
|
|
"name": "Title"
|
|
}
|
|
},
|
|
"name": "Create persistent notification"
|
|
},
|
|
"dismiss": {
|
|
"description": "Deletes a persistent notification from the notifications panel.",
|
|
"fields": {
|
|
"notification_id": {
|
|
"description": "ID of the notification to be deleted.",
|
|
"name": "[%key:component::persistent_notification::services::create::fields::notification_id::name%]"
|
|
}
|
|
},
|
|
"name": "Dismiss persistent notification"
|
|
},
|
|
"dismiss_all": {
|
|
"description": "Deletes all persistent notifications from the notifications panel.",
|
|
"name": "Dismiss all persistent notifications"
|
|
}
|
|
},
|
|
"title": "Persistent Notification"
|
|
}
|