Skip to content
Merged
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
10 changes: 9 additions & 1 deletion source/_components/notify.lametric.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ cycles:
required: false
type: int
default: 1
priority:
description: Defines the priority of the notification.
required: False
type: string
default: warning
{% endconfiguration %}

Check out the list of all icons at [https://developer.lametric.com/icons](https://developer.lametric.com/icons). Note that icons always begin with "i" while animations begin with "a". This is part of the name, you can't just use the number!
Expand All @@ -59,11 +64,12 @@ notify:
lifetime: 20
icon: a7956
cycles: 3
priority: info
```

### {% linkable_title Changing sounds and icons %}

To add a notification sound or an icon override, it has to be done via service data.
To add a notification sound, icon, cycles, or priority override, it has to be done via service data.

```yaml
- alias: "Send notification on arrival at school"
Expand All @@ -79,4 +85,6 @@ To add a notification sound or an icon override, it has to be done via service d
data:
sound: 'notification'
icon: 'i51'
cycles: 0
priority: 'critical'
```