mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update notify.lametric.markdown (#5365)
* Update notify.lametric.markdown * Minor changes
This commit is contained in:
parent
a3fca3d49b
commit
ca5675482b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user