From ed11b223c9240033991685ae122fff6e22328599 Mon Sep 17 00:00:00 2001 From: Daniel Shokouhi Date: Mon, 21 Dec 2020 15:08:24 -0800 Subject: [PATCH] Remove misleading examples that are integration specific (#15929) --- source/_integrations/notify.markdown | 51 ---------------------------- 1 file changed, 51 deletions(-) diff --git a/source/_integrations/notify.markdown b/source/_integrations/notify.markdown index c189702b4c5..1a0aee0d2be 100644 --- a/source/_integrations/notify.markdown +++ b/source/_integrations/notify.markdown @@ -56,54 +56,3 @@ action: data: message: "The sun is {% raw %}{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}{% endraw %}!" ``` - -For services which have support for sending images. - -```json -{ "message": "Test plugin", - "data": { - "photo": { - "url": "https://raw.githubusercontent.com/home-assistant/home-assistant.io/current/source/images/default-social.png" - } - } -} -``` - -The automation equivalent would be: - -```yaml -action: - service: notify.notify - data: - message: "Test plugin" - data: - photo: - url: "https://raw.githubusercontent.com/home-assistant/home-assistant.io/current/source/images/default-social.png" -``` - - -If the service support sending the location, the data from this sample can be used. - -```json -{ "message": "Test plugin", - "data": { - "location": { - "latitude": 7.3284, - "longitude": 46.38234 - } - } -} -``` - -The automation equivalent would be: - -```yaml -action: - service: notify.notify - data: - message: "Test plugin" - data: - location: - latitude: 7.3284 - longitude: 46.38234 -```