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: ```