Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions homeassistant/components/notify/services.yaml
Original file line number Diff line number Diff line change
@@ -1,61 +1,37 @@
# Describes the format for available notification services

notify:
name: Send a notification
description: Sends a notification message to selected notify platforms.
fields:
message:
name: Message
description: Message body of the notification.
required: true
example: The garage door has been open for 10 minutes.
selector:
text:
title:
name: Title
description: Title for your notification.
example: "Your Garage Door Friend"
selector:
text:
target:
name: Target
description:
An array of targets to send the notification to. Optional depending on
the platform.
example: platform specific
selector:
object:
data:
name: Data
description:
Extended information for notification. Optional depending on the
platform.
example: platform specific
selector:
object:

persistent_notification:
name: Send a persistent notification
description: Sends a notification that is visible in the front-end.
fields:
message:
name: Message
description: Message body of the notification.
required: true
example: The garage door has been open for 10 minutes.
selector:
text:
title:
name: Title
description: Title for your notification.
example: "Your Garage Door Friend"
selector:
text:
data:
name: Data
description:
Extended information for notification. Optional depending on the
platform.
example: platform specific
selector:
object:
46 changes: 45 additions & 1 deletion homeassistant/components/notify/strings.json
Original file line number Diff line number Diff line change
@@ -1 +1,45 @@
{ "title": "Notifications" }
{
"title": "Notifications",
"services": {
"notify": {
"name": "Send a notification",
"description": "Sends a notification message to selected targets.",
"fields": {
"message": {
"name": "Message",
"description": "Message body of the notification."
},
"title": {
"name": "Title",
"description": "Title for your notification."
},
"target": {
"name": "Target",
"description": "Some integrations allow you to specify the targets that receive the notification. For more information, refer to the integration documentation."
},
"data": {
"name": "Data",
"description": "Some integrations provide extended functionality. For information on how to use _data_, refer to the integration documentation."
}
}
},
"persistent_notification": {
"name": "Send a persistent notification",
"description": "Sends a notification that is visible in the **Notifications** panel.",
"fields": {
"message": {
"name": "Message",
"description": "Message body of the notification."
},
"title": {
"name": "Title",
"description": "Title of the notification."
},
"data": {
"name": "Data",
"description": "Some integrations provide extended functionality. For information on how to use _data_, refer to the integration documentation.."
}
}
}
}
}