From 89b3c382c8d64cec290b8b552583d1c52438a9e3 Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Fri, 19 Feb 2016 16:23:00 -0500 Subject: [PATCH] Fixed automation --- source/_components/notify.google_voice.markdown | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/_components/notify.google_voice.markdown b/source/_components/notify.google_voice.markdown index 4d5e19f304f..83676fd3923 100644 --- a/source/_components/notify.google_voice.markdown +++ b/source/_components/notify.google_voice.markdown @@ -37,14 +37,15 @@ Google Voice is a notify platform and thus can be controlled by calling the noti ```yaml # Example automation notification entry - - alias: Send a notification +automation: + - alias: The sun has set trigger: - platform: event - event_type: 'some event' + platform: sun + event: sunset action: service: notify.googlevoice data: - message: 'Google Voice SMS test' + message: 'The sun has set' target: - 5555555555 - 5555555556