From ca5675482ba3069ea68cfa39b1273cc539ba870b Mon Sep 17 00:00:00 2001 From: Codepadawan Date: Tue, 15 May 2018 00:52:15 +1000 Subject: [PATCH] Update notify.lametric.markdown (#5365) * Update notify.lametric.markdown * Minor changes --- source/_components/notify.lametric.markdown | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/_components/notify.lametric.markdown b/source/_components/notify.lametric.markdown index cf50cffaa2e..4aafb83bc93 100644 --- a/source/_components/notify.lametric.markdown +++ b/source/_components/notify.lametric.markdown @@ -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.