Marius 0f1f3bce87
Update services.yaml (#95630)
take out 'templates accepted'
2023-06-30 11:20:20 -04:00

40 lines
981 B
YAML

create:
name: Create
description: Show a notification in the frontend.
fields:
message:
name: Message
description: Message body of the notification.
required: true
example: Please check your configuration.yaml.
selector:
text:
title:
name: Title
description: Optional title for your notification.
example: Test notification
selector:
text:
notification_id:
name: Notification ID
description: Target ID of the notification, will replace a notification with the same ID.
example: 1234
selector:
text:
dismiss:
name: Dismiss
description: Remove a notification from the frontend.
fields:
notification_id:
name: Notification ID
description: Target ID of the notification, which should be removed.
required: true
example: 1234
selector:
text:
dismiss_all:
name: Dismiss All
description: Remove all notifications.