Skip to content

Commit 5f136f3

Browse files
committed
Add full configuration example
1 parent 9454a5f commit 5f136f3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

source/_components/notify.lametric.markdown

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The `lametric` notification platform allows to send notification to a LaMetric d
1717
To enable LaMetric notifications in your installation, add the following to your `configuration.yaml` file:
1818

1919
```yaml
20+
# Example configuration.yaml entry
2021
notify:
2122
name: NOTIFIER_NAME
2223
platform: lametric
@@ -46,7 +47,21 @@ cycles:
4647

4748
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!
4849

49-
## {% linkable_title Example %}
50+
## {% linkable_title Examples %}
51+
52+
### {% linkable_title Full configuration example %}
53+
54+
```yaml
55+
# Example configuration.yaml entry
56+
notify:
57+
name: NOTIFIER_NAME
58+
platform: lametric
59+
lifetime: 20
60+
icon: a7956
61+
cycles: 3
62+
```
63+
64+
### {% linkable_title Changing sounds and icons %}
5065

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

0 commit comments

Comments
 (0)