Add full configuration example

This commit is contained in:
Fabian Affolter 2017-11-20 08:50:25 +01:00
parent 9454a5f612
commit 5f136f340b
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -17,6 +17,7 @@ The `lametric` notification platform allows to send notification to a LaMetric d
To enable LaMetric notifications in your installation, add the following to your `configuration.yaml` file: To enable LaMetric notifications in your installation, add the following to your `configuration.yaml` file:
```yaml ```yaml
# Example configuration.yaml entry
notify: notify:
name: NOTIFIER_NAME name: NOTIFIER_NAME
platform: lametric platform: lametric
@ -46,7 +47,21 @@ cycles:
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! 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!
## {% linkable_title Example %} ## {% linkable_title Examples %}
### {% linkable_title Full configuration example %}
```yaml
# Example configuration.yaml entry
notify:
name: NOTIFIER_NAME
platform: lametric
lifetime: 20
icon: a7956
cycles: 3
```
### {% 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 or an icon override, it has to be done via service data.