From bfdcbf133bb781e0d8777e2050399ab50b615363 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 18 Jul 2016 08:25:38 +0200 Subject: [PATCH] Update format --- source/developers/platform_example_light.markdown | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/developers/platform_example_light.markdown b/source/developers/platform_example_light.markdown index ab0341d5f17..c50e2ca6e4a 100644 --- a/source/developers/platform_example_light.markdown +++ b/source/developers/platform_example_light.markdown @@ -15,11 +15,13 @@ Similar to Example Sensor Platform, Copy the code below and create it as a file Add the following to your configuration.yaml: - light: - - platform: awesomelights - host: HOST_HERE - username: USERNAME_HERE - password: PASSWORD_HERE_OR_secrets.yaml +```yaml +light: + - platform: awesomelights + host: HOST_HERE + username: USERNAME_HERE + password: PASSWORD_HERE_OR_secrets.yaml +``` Note the `platform` name matches the filename for the source code.