From e354ec42e5814a33413ab08aabbda3c37c30db70 Mon Sep 17 00:00:00 2001 From: Brent Saltzman Date: Tue, 19 Dec 2017 11:21:44 -0600 Subject: [PATCH] Added `switch:` to configuration.yaml example (#4246) Added `switch:` to configuration.yaml example to help clarify what actually needs to be added to a configuration.yaml file in order for this platform to work- assuming this is the only switch in the configuration, or if you are adding it as a list item to other switches. It cannot be copied/pasted directly as it was. --- source/_components/switch.hook.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/switch.hook.markdown b/source/_components/switch.hook.markdown index 42903c50c7a..30f6060ae2c 100644 --- a/source/_components/switch.hook.markdown +++ b/source/_components/switch.hook.markdown @@ -24,6 +24,7 @@ Configure with either your username/password or your API token for the official ```yaml # Example configuration.yaml entry +switch: - platform: hook username: password: !secret hook @@ -31,6 +32,7 @@ Configure with either your username/password or your API token for the official Or ```yaml # Example configuration.yaml entry +switch: - platform: hook token: ```