mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 14:08:21 +00:00
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"services": {
|
|
"create": {
|
|
"description": "Shows a 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"
|
|
},
|
|
"dismiss": {
|
|
"description": "Deletes a 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"
|
|
},
|
|
"dismiss_all": {
|
|
"description": "Deletes all notifications from the notifications panel.",
|
|
"name": "Dismiss all"
|
|
}
|
|
},
|
|
"title": "Persistent Notification"
|
|
}
|