Update notify.lametric.markdown (#5365)

* Update notify.lametric.markdown

* Minor changes
This commit is contained in:
Codepadawan 2018-05-15 00:52:15 +10:00 committed by Fabian Affolter
parent a3fca3d49b
commit ca5675482b

View File

@ -79,4 +79,21 @@ To add a notification sound or an icon override, it has to be done via service d
data:
sound: 'notification'
icon: 'i51'
```
### {% linkable_title Only notify specific device %}
If you have more than one La Metric device, you can specify which will recieve the message by adding `target:` to the service data:
```yaml
action:
service: notify.lametric
data:
message: "Son has arrived at school!"
target: "Office LaMetric"
data:
sound: 'notification'
icon: 'i51'
```
If target is not specified, all LaMetric devices will be notified.