Dateien nach "/" hochladen
This commit is contained in:
126
services.yaml
Normal file
126
services.yaml
Normal file
@@ -0,0 +1,126 @@
|
||||
add_notification:
|
||||
name: Add notification
|
||||
description: Add a notification to the Notification Store.
|
||||
fields:
|
||||
title:
|
||||
name: Title
|
||||
description: Notification title.
|
||||
required: true
|
||||
example: Washing machine finished
|
||||
selector:
|
||||
text:
|
||||
message:
|
||||
name: Message
|
||||
description: Notification message.
|
||||
required: true
|
||||
example: The washing machine program is done.
|
||||
selector:
|
||||
text:
|
||||
multiline: true
|
||||
level:
|
||||
name: Level
|
||||
description: Notification severity.
|
||||
default: info
|
||||
selector:
|
||||
select:
|
||||
options:
|
||||
- info
|
||||
- success
|
||||
- warning
|
||||
- critical
|
||||
tag:
|
||||
name: Tag
|
||||
description: Optional grouping tag.
|
||||
selector:
|
||||
text:
|
||||
source:
|
||||
name: Source
|
||||
description: Optional source label.
|
||||
selector:
|
||||
text:
|
||||
icon:
|
||||
name: Icon
|
||||
description: Optional Material Design icon, for example mdi:washing-machine.
|
||||
selector:
|
||||
icon:
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
|
||||
mark_all_read:
|
||||
name: Mark all read
|
||||
description: Mark all unread notifications as read.
|
||||
fields:
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
|
||||
mark_one_read:
|
||||
name: Mark one read
|
||||
description: Mark one notification as read by ID.
|
||||
fields:
|
||||
notification_id:
|
||||
name: Notification ID
|
||||
description: ID of the notification to mark as read.
|
||||
required: true
|
||||
selector:
|
||||
text:
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
|
||||
mark_index_read:
|
||||
name: Mark index read
|
||||
description: Mark one unread notification as read by its unread list index.
|
||||
fields:
|
||||
index:
|
||||
name: Index
|
||||
description: Zero-based index in the unread notification list.
|
||||
required: true
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
max: 1000
|
||||
step: 1
|
||||
mode: box
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
|
||||
clear_read:
|
||||
name: Clear read
|
||||
description: Delete all read notifications.
|
||||
fields:
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
|
||||
clear_all:
|
||||
name: Clear all
|
||||
description: Delete all notifications.
|
||||
fields:
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
|
||||
reload:
|
||||
name: Reload
|
||||
description: Reload notification data from disk.
|
||||
fields:
|
||||
entry_id:
|
||||
name: Entry ID
|
||||
description: Optional config entry ID when multiple stores exist.
|
||||
selector:
|
||||
text:
|
||||
Reference in New Issue
Block a user