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.