diff --git a/atom.xml b/atom.xml index 4740290474..e0d3163a6c 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
This example is for adding support for the imaginary Awesome Lights. It shows the different best practices for developing a platform.
+Similar to Example Sensor Platform, Copy the code below and create it as a file in <config_dir>/custom_components/light/awesomelights.py
.
Add the following to your configuration.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.
import logging diff --git a/sitemap.xml b/sitemap.xml index 81dd33db19..168162843e 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1957,34 +1957,34 @@https://home-assistant.io/demo/dev-tools.html -2016-07-17T20:17:14+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/demo/frontend.html -2016-07-17T20:17:14+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/demo/index.html -2016-07-17T20:17:14+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/demo/partial-map.html -2016-07-17T20:17:14+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2016-07-17T20:17:14+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2016-07-17T20:17:15+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2016-07-17T20:17:15+00:00 +2016-07-18T06:24:42+00:00 https://home-assistant.io/static/mdi-demo.html -2016-07-17T20:17:15+00:00 +2016-07-18T06:24:42+00:00