diff --git a/.gitignore b/.gitignore
index 455196b0d..940ea4400 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,6 @@
-_doxyxml
_build
.python-version
__pycache__/
*.py[cod]
*$py.class
-esphomeyaml/.DS_Store
diff --git a/Doxygen b/Doxygen
index d275ee12a..5b0e58184 100644
--- a/Doxygen
+++ b/Doxygen
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
-PROJECT_NAME = "esphomelib"
+PROJECT_NAME = "ESPHome"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
@@ -76,7 +76,7 @@ CREATE_SUBDIRS = NO
# U+3044.
# The default value is: NO.
-ALLOW_UNICODE_NAMES = NO
+ALLOW_UNICODE_NAMES = YES
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
@@ -436,7 +436,7 @@ LOOKUP_CACHE_SIZE = 0
# normally produced when WARNINGS is set to YES.
# The default value is: NO.
-EXTRACT_ALL = NO
+EXTRACT_ALL = YES
# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
# be included in the documentation.
@@ -462,7 +462,7 @@ EXTRACT_STATIC = NO
# for Java sources.
# The default value is: YES.
-EXTRACT_LOCAL_CLASSES = YES
+EXTRACT_LOCAL_CLASSES = NO
# This flag is only useful for Objective-C code. If set to YES, local methods,
# which are defined in the implementation section but not in the interface are
@@ -791,7 +791,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
-INPUT = $(ESPHOMELIB_PATH)/src
+INPUT = $(ESPHOME_CORE_PATH)/src
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@@ -908,7 +908,7 @@ EXCLUDE_SYMBOLS =
# that contain example code fragments that are included (see the \include
# command).
-EXAMPLE_PATH = $(ESPHOMELIB_PATH)/examples
+EXAMPLE_PATH = $(ESPHOME_CORE_PATH)/examples
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
@@ -997,7 +997,7 @@ USE_MDFILE_AS_MAINPAGE =
# also VERBATIM_HEADERS is set to NO.
# The default value is: NO.
-SOURCE_BROWSER = NO
+SOURCE_BROWSER = YES
# Setting the INLINE_SOURCES tag to YES will include the body of functions,
# classes and enums directly into the documentation.
@@ -1105,7 +1105,7 @@ IGNORE_PREFIX =
# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
# The default value is: YES.
-GENERATE_HTML = NO
+GENERATE_HTML = YES
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
@@ -1113,7 +1113,7 @@ GENERATE_HTML = NO
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.
-HTML_OUTPUT = html
+HTML_OUTPUT = _build/html/api
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp).
@@ -1937,7 +1937,7 @@ MAN_LINKS = NO
# captures the structure of the code including all documentation.
# The default value is: NO.
-GENERATE_XML = YES
+GENERATE_XML = NO
# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
diff --git a/Makefile b/Makefile
index 9286d428e..249683e4b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,41 +1,43 @@
-# Minimal makefile for Sphinx documentation
-#
+ESPHOME_CORE_PATH = ../esphome-core
+ESPHOME_CORE_TAG = v1.10.1
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-SPHINXPROJ = esphomelib
-SOURCEDIR = .
-BUILDDIR = _build
-ESPHOMELIB_PATH = ../esphomelib
-ESPHOMELIB_TAG = v1.10.1
+.PHONY: html cleanhtml deploy help webserver Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png
-.PHONY: html cleanhtml doxyg cleandoxyg deploy help webserver Makefile $(ESPHOMELIB_PATH)
+html:
+ sphinx-build -M html . _build $(O)
-html: _doxyxml
- $(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+cleanhtml:
+ rm -rf "_build/html/*"
-cleanhtml: cleandoxyg
- rm -rf "$(BUILDDIR)/html/*"
-
-doxyg: cleandoxyg _doxyxml
-
-cleandoxyg:
- rm -rf _doxyxml
-
-_doxyxml:
- ESPHOMELIB_PATH=$(ESPHOMELIB_PATH) doxygen Doxygen
-
-$(ESPHOMELIB_PATH):
- @if [ ! -d "$(ESPHOMELIB_PATH)" ]; then \
- git clone --branch $(ESPHOMELIB_TAG) https://github.com/OttoWinter/esphomelib.git $(ESPHOMELIB_PATH); \
- fi
-
-convertimages:
+svg2png:
python3 svg2png.py
help:
- $(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+ sphinx-build -M help . _build $(O)
+
+api:
+ mkdir -p _build/html/api
+ @if [ ! -d "$(ESPHOME_CORE_PATH)" ]; then \
+ git clone --branch $(ESPHOME_CORE_TAG) https://github.com/esphome/esphome-core.git $(ESPHOME_CORE_PATH); \
+ fi
+ ESPHOME_CORE_PATH=$(ESPHOME_CORE_PATH) doxygen Doxygen
+
+netlify-api: netlify-dependencies
+ mkdir -p _build/html/api
+ @if [ ! -d "$(ESPHOME_CORE_PATH)" ]; then \
+ git clone --branch $(ESPHOME_CORE_TAG) https://github.com/esphome/esphome-core.git $(ESPHOME_CORE_PATH); \
+ fi
+ ESPHOME_CORE_PATH=$(ESPHOME_CORE_PATH) ../doxybin/doxygen Doxygen
+
+netlify-dependencies:
+ mkdir -p ../doxybin
+ curl -L https://github.com/esphome/esphome-docs/releases/download/v1.10.1/doxygen-1.8.13.xz | xz -d >../doxybin/doxygen
+ chmod +x ../doxybin/doxygen
+
+copy-svg2png:
+ cp svg2png/*.png _build/html/_images/
+
+netlify: netlify-dependencies netlify-api html copy-svg2png
webserver: html
cd "$(BUILDDIR)/html" && python3 -m http.server
@@ -43,4 +45,4 @@ webserver: html
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
- $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+ sphinx-build -M $@ . _build $(O)
diff --git a/README.md b/README.md
index 10ba7cb1f..1be60c246 100644
--- a/README.md
+++ b/README.md
@@ -2,4 +2,4 @@
The source for https://esphomelib.com/
-For contributing, please see https://esphomelib.com/esphomeyaml/guides/contributing.html#contributing-to-esphomedocs
+For contributing, please see https://esphomelib.com/guides/contributing.html#contributing-to-esphomedocs
diff --git a/_static/android-chrome-192x192.png b/_static/android-chrome-192x192.png
new file mode 100644
index 000000000..9377cd6f8
Binary files /dev/null and b/_static/android-chrome-192x192.png differ
diff --git a/_static/android-chrome-512x512.png b/_static/android-chrome-512x512.png
new file mode 100644
index 000000000..9d3afb649
Binary files /dev/null and b/_static/android-chrome-512x512.png differ
diff --git a/_static/apple-touch-icon.png b/_static/apple-touch-icon.png
index 4eff01ca2..5dcf52cc6 100644
Binary files a/_static/apple-touch-icon.png and b/_static/apple-touch-icon.png differ
diff --git a/_static/browserconfig.xml b/_static/browserconfig.xml
new file mode 100644
index 000000000..bfd6f62d9
--- /dev/null
+++ b/_static/browserconfig.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+ #dfdfdf
+
+
+
diff --git a/_static/favicon-16x16.png b/_static/favicon-16x16.png
new file mode 100644
index 000000000..5efde4f54
Binary files /dev/null and b/_static/favicon-16x16.png differ
diff --git a/_static/favicon-32x32.png b/_static/favicon-32x32.png
new file mode 100644
index 000000000..674b8d307
Binary files /dev/null and b/_static/favicon-32x32.png differ
diff --git a/_static/favicon.ico b/_static/favicon.ico
index 5aaaf3fb2..88dcd7e2d 100644
Binary files a/_static/favicon.ico and b/_static/favicon.ico differ
diff --git a/_static/logo-full.png b/_static/logo-full.png
deleted file mode 100644
index 454124f3e..000000000
Binary files a/_static/logo-full.png and /dev/null differ
diff --git a/_static/logo.png b/_static/logo.png
deleted file mode 100644
index 554230067..000000000
Binary files a/_static/logo.png and /dev/null differ
diff --git a/_static/mstile-150x150.png b/_static/mstile-150x150.png
new file mode 100644
index 000000000..e469a3872
Binary files /dev/null and b/_static/mstile-150x150.png differ
diff --git a/_static/safari-pinned-tab.svg b/_static/safari-pinned-tab.svg
new file mode 100644
index 000000000..0c305ab72
--- /dev/null
+++ b/_static/safari-pinned-tab.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/_static/site.webmanifest b/_static/site.webmanifest
new file mode 100644
index 000000000..5ceeda435
--- /dev/null
+++ b/_static/site.webmanifest
@@ -0,0 +1,20 @@
+{
+ "name": "ESPHome",
+ "short_name": "ESPHome",
+ "icons": [
+ {
+ "src": "/_static/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/_static/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#dfdfdf",
+ "background_color": "#dfdfdf",
+ "start_url": "https://esphome.io/",
+ "display": "standalone"
+}
diff --git a/_templates/layout.html b/_templates/layout.html
index 67f72ca51..a4b3402ba 100644
--- a/_templates/layout.html
+++ b/_templates/layout.html
@@ -1,12 +1,29 @@
{% extends 'alabaster/layout.html' %}
+{%- block extrahead %}
+ {{ super() }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+{% endblock %}
+
{% block footer %}
diff --git a/api/binary_sensor/esp32_touch.rst b/api/binary_sensor/esp32_touch.rst
deleted file mode 100644
index 67729fe0c..000000000
--- a/api/binary_sensor/esp32_touch.rst
+++ /dev/null
@@ -1,31 +0,0 @@
-ESP32 Touch Binary Sensor
-=========================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- auto *touch = App.make_esp32_touch_component();
- touch->set_setup_mode(true);
- touch->set_iir_filter(1000);
- App.register_binary_sensor(touch_hub->make_touch_pad("ESP32 Touch Pad 9", TOUCH_PAD_NUM9, 1000));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_esp32_touch_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: binary_sensor::ESP32TouchComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::ESP32TouchBinarySensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/gpio.rst b/api/binary_sensor/gpio.rst
deleted file mode 100644
index ff7d3e754..000000000
--- a/api/binary_sensor/gpio.rst
+++ /dev/null
@@ -1,26 +0,0 @@
-GPIO Binary Sensor
-==================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_gpio_binary_sensor("Window Open", 36);
- // Custom pinMode
- App.make_gpio_binary_sensor("Window Open", GPIOInputPin(36, INPUT_PULLUP));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_gpio_binary_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: binary_sensor::GPIOBinarySensorComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/index.rst b/api/binary_sensor/index.rst
deleted file mode 100644
index b1a28fab2..000000000
--- a/api/binary_sensor/index.rst
+++ /dev/null
@@ -1,131 +0,0 @@
-Binary Sensor
-=============
-
-.. cpp:namespace:: binary_sensor
-
-In esphomelib, every component that exposes a binary state, is a :cpp:class:`BinarySensor`.
-
-To create your own binary sensor, simply subclass :cpp:class:`BinarySensor` and call
-:cpp:func:`BinarySensor::publish_state` to tell the frontend that you have a new state.
-Inversion is automatically done for you when publishing state and can be changed by the
-user with :cpp:func:`BinarySensor::set_inverted`.
-
-Supported Binary Sensors
-------------------------
-
-.. toctree::
- :glob:
-
- *
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.register_binary_sensor(custom_binary_sensor);
- // GPIO Binary Sensor
- App.make_gpio_binary_sensor("Window Open", 36);
-
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::register_binary_sensor` and :cpp:func:`Application::make_gpio_binary_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-BinarySensor
-************
-
-.. doxygenclass:: binary_sensor::BinarySensor
- :members:
- :protected-members:
- :undoc-members:
-
-MQTTBinarySensorComponent
-*************************
-
-.. doxygenclass:: binary_sensor::MQTTBinarySensorComponent
- :members:
- :protected-members:
- :undoc-members:
-
-Filters
-*******
-
-.. doxygenclass:: binary_sensor::Filter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::DelayedOnFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::DelayedOffFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::HeartbeatFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::InvertFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::LambdaFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::UniqueFilter
- :members:
- :protected-members:
- :undoc-members:
-
-Triggers
-********
-
-.. doxygenclass:: binary_sensor::PressTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::ReleaseTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::ClickTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::DoubleClickTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::MultiClickTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::BinarySensorCondition
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::CustomBinarySensorConstructor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/pn532.rst b/api/binary_sensor/pn532.rst
deleted file mode 100644
index a4537bd0a..000000000
--- a/api/binary_sensor/pn532.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-PN532 NFC/RFID Controller
-=========================
-
-See :cpp:func:`Application::make_pn532_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: binary_sensor::PN532Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::PN532BinarySensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/rdm6300.rst b/api/binary_sensor/rdm6300.rst
deleted file mode 100644
index d340dd869..000000000
--- a/api/binary_sensor/rdm6300.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-RDM6300 NFC/RFID Controller
-===========================
-
-See :cpp:func:`Application::make_rdm6300_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: binary_sensor::RDM6300Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: binary_sensor::RDM6300BinarySensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/remote_receiver.rst b/api/binary_sensor/remote_receiver.rst
deleted file mode 100644
index 3f98cffaa..000000000
--- a/api/binary_sensor/remote_receiver.rst
+++ /dev/null
@@ -1,112 +0,0 @@
-Remote Receiver
-===============
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_remote_receiver_component` and
-:cpp:func:`Application::register_binary_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: remote::RemoteReceiverComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RemoteReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RemoteReceiveDumper
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::LGReceiver
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenclass:: remote::LGDumper
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenfunction:: remote::decode_lg
-
-.. doxygenclass:: remote::NECReceiver
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenclass:: remote::NECDumper
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenfunction:: remote::decode_nec
-
-.. doxygenclass:: remote::PanasonicReceiver
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenclass:: remote::PanasonicDumper
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenfunction:: remote::decode_panasonic
-
-.. doxygenclass:: remote::SonyReceiver
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenclass:: remote::SonyDumper
- :members:
- :protected-members:
- :undoc-members:
-.. doxygenfunction:: remote::decode_sony
-
-.. doxygenclass:: remote::RawReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RawDumper
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::SamsungReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchRawReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeAReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeBReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeCReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeDReceiver
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchDumper
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/status.rst b/api/binary_sensor/status.rst
deleted file mode 100644
index a121565a9..000000000
--- a/api/binary_sensor/status.rst
+++ /dev/null
@@ -1,26 +0,0 @@
-Node Status Binary Sensor
-=========================
-
-This binary sensor platform allows you to create a switch that uses the birth and last will
-messages by the MQTT client to show an ON/OFF state of the node.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- App.make_status_binary_sensor("Livingroom Node Status");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_status_binary_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: binary_sensor::StatusBinarySensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/binary_sensor/template.rst b/api/binary_sensor/template.rst
deleted file mode 100644
index d84ce409a..000000000
--- a/api/binary_sensor/template.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Template Binary Sensor
-======================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_template_binary_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: binary_sensor::TemplateBinarySensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/application.rst b/api/core/application.rst
deleted file mode 100644
index 0f5017bd0..000000000
--- a/api/core/application.rst
+++ /dev/null
@@ -1,38 +0,0 @@
-Application
-===========
-
-.. cpp:namespace:: nullptr
-
-The :cpp:class:`Application` class has two objectives: 1. handle all of
-your :cpp:class:`Component`\ s and 2. provide helper methods to simplify creating a component.
-
-.. cpp:namespace:: Application
-
-In itself, an Application instance doesn't do and store very much. It mostly only keeps track of all Components
-(using an internal :cpp:func:`std::vector` containing pointers), so that when the user calls the :cpp:func:`setup` or
-:cpp:func:`loop` methods, it can relay those calls to the components.
-
-In order for the Application to know about your components, each one of them should be registered using the
-:cpp:func:`register_component` call. And for subclasses of MQTTComponent, :cpp:func:`register_mqtt_component`
-shall be used.
-
-Apart from the helpers, only one function is really necessary for setting up the Application instance:
-:cpp:func:`set_name`. The name provided by this is used throughout the code base to construct various strings
-such as MQTT topics or WiFi hostnames. Additionally, some one-time-setup components such as MQTT or WiFi can be
-initialized with the `init_` calls. Next, this class provides a bunch of helper methods to create and
-register components easily using the `make_` calls.
-
-Each component can tell the Application with which *priority* it wishes to be called using the `get_loop_priority()`
-and `get_setup_priority()` overrides. The Application will then automatically order the components before execution.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: Application
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: App
diff --git a/api/core/automation.rst b/api/core/automation.rst
deleted file mode 100644
index 9720172c7..000000000
--- a/api/core/automation.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-Automation
-==========
-
-API Reference
--------------
-
-.. doxygenfile:: esphomelib/automation.h
diff --git a/api/core/component.rst b/api/core/component.rst
deleted file mode 100644
index b5090e46e..000000000
--- a/api/core/component.rst
+++ /dev/null
@@ -1,34 +0,0 @@
-Component
-=========
-
-.. cpp:namespace:: Component
-
-Every object that should be handled by the Application instance and receive :cpp:func:`setup` and
-:cpp:func:`loop` calls must be a subclass of :cpp:class:`Component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-Component
-*********
-
-.. doxygenclass:: Component
- :members:
- :protected-members:
- :undoc-members:
-
-PollingComponent
-****************
-
-.. doxygenclass:: PollingComponent
- :members:
- :protected-members:
- :undoc-members:
-
-
-Setup Priorities
-****************
-
-.. doxygennamespace:: setup_priority
diff --git a/api/core/controller.rst b/api/core/controller.rst
deleted file mode 100644
index 02cca14f2..000000000
--- a/api/core/controller.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-Controller
-==========
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-Controller
-**********
-
-.. doxygenclass:: Controller
- :members:
- :protected-members:
- :undoc-members:
-
-StoringController
-*****************
-
-.. doxygenclass:: StoringController
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/deep-sleep.rst b/api/core/deep-sleep.rst
deleted file mode 100644
index b4e2ac2ae..000000000
--- a/api/core/deep-sleep.rst
+++ /dev/null
@@ -1,27 +0,0 @@
-Deep Sleep
-==========
-
-.. cpp:namespace:: DeepSleepComponent
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-DeepSleepComponent
-******************
-
-.. doxygenclass:: DeepSleepComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: EnterDeepSleepAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: PreventDeepSleepAction
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/helpers.rst b/api/core/helpers.rst
deleted file mode 100644
index 7e4b6208d..000000000
--- a/api/core/helpers.rst
+++ /dev/null
@@ -1,74 +0,0 @@
-Helpers
-=======
-
-esphomelib uses a bunch of helpers to make the library easier to use.
-
-API Reference
--------------
-
-helpers.h
-*********
-
-.. doxygenfile:: esphomelib/helpers.h
-
-util.h
-******
-
-.. doxygenfile:: esphomelib/uil.h
-
-optional.h
-**********
-
-.. doxygenfile:: esphomelib/optional.h
-
-ESPPreferences
-**************
-
-.. doxygenclass:: ESPPreferences
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: ESPPreferenceObject
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: global_preferences
-
-esphal.h
-********
-
-This header should be used whenever you want to access some `digitalRead`, `digitalWrite`, ... methods.
-
-.. doxygenclass:: GPIOPin
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: GPIOOutputPin
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: GPIOInputPin
- :members:
- :protected-members:
- :undoc-members:
-
-
-ESPOneWire
-**********
-
-esphomelib has its own implementation of OneWire, because the implementation in the Arduino libraries
-seems to have lots of timing issues with the ESP8266/ESP32. That's why ESPOneWire was created.
-
-.. doxygenclass:: ESPOneWire
- :members:
- :protected-members:
- :undoc-members:
-
-defines.h
-*********
-
-.. doxygenfile:: esphomelib/defines.h
diff --git a/api/core/i2c.rst b/api/core/i2c.rst
deleted file mode 100644
index 4983b4ceb..000000000
--- a/api/core/i2c.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-I2CComponent
-============
-
-To make i2c devices easier to implement in esphomelib, there's a special I2CComponent implementing
-a bunch of i2c helper functions on top of the Arduino Wire library. It is also the preferred way
-of using i2c peripherals since it implements timeouts, verbose logs for debugging issues, and
-for the ESP32 the ability to have multiple i2c busses in operation at the same time.
-
-API Reference
--------------
-
-.. doxygenclass:: I2CComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: I2CDevice
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/index.rst b/api/core/index.rst
deleted file mode 100644
index 925f45e8e..000000000
--- a/api/core/index.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-Core
-====
-
-.. toctree::
- :maxdepth: 1
-
- Application
- Component
- WiFi
- MQTT Client
- Over-The-Air Updates
- Helpers
- Logging Engine
- Power Supply
- Controller
- Web Server
- Deep Sleep
- I2C
- Automation
- Time
- SPI Bus
- UART Bus
- Native API for Home Assistant
diff --git a/api/core/log.rst b/api/core/log.rst
deleted file mode 100644
index 7c21b8bef..000000000
--- a/api/core/log.rst
+++ /dev/null
@@ -1,15 +0,0 @@
-Logging Engine
-==============
-
-esphomelib will by default log to both Serial (with baud rate 115200).
-
-API Reference
--------------
-
-LogComponent
-************
-
-.. doxygenclass:: LogComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/mqtt.rst b/api/core/mqtt.rst
deleted file mode 100644
index 102e7ffcb..000000000
--- a/api/core/mqtt.rst
+++ /dev/null
@@ -1,96 +0,0 @@
-MQTT Client
-===========
-
-.. cpp:namespace:: mqtt
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-MQTTClientComponent
-*******************
-
-.. doxygenclass:: mqtt::MQTTClientComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: mqtt::mqtt_callback_t
-.. doxygentypedef:: mqtt::mqtt_json_callback_t
-
-.. doxygenstruct:: mqtt::MQTTMessage
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenstruct:: mqtt::MQTTSubscription
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenstruct:: mqtt::MQTTCredentials
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenstruct:: mqtt::Availability
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenstruct:: mqtt::MQTTDiscoveryInfo
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: mqtt::global_mqtt_client
-
-MQTTComponent
-*************
-
-.. doxygenclass:: mqtt::MQTTComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenstruct:: mqtt::SendDiscoveryConfig
- :members:
- :protected-members:
- :undoc-members:
-
-Triggers
-********
-
-.. doxygenclass:: mqtt::MQTTMessageTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: mqtt::MQTTJsonMessageTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-Actions
-*******
-
-.. doxygenclass:: mqtt::MQTTPublishAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: mqtt::MQTTPublishJsonAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. _api-custom_mqtt_device:
-
-CustomMQTTDevice
-****************
-
-.. doxygenclass:: mqtt::CustomMQTTDevice
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/native-api.rst b/api/core/native-api.rst
deleted file mode 100644
index e81242540..000000000
--- a/api/core/native-api.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-Native API
-==========
-
-See :cpp:func:`Application::init_api_server`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenfile:: esphomelib/api/api_message.h
-.. doxygenfile:: esphomelib/api/api_server.h
-.. doxygenfile:: esphomelib/api/basic_messages.h
-.. doxygenfile:: esphomelib/api/command_messages.h
-.. doxygenfile:: esphomelib/api/list_entities.h
-.. doxygenfile:: esphomelib/api/service_call_message.h
-.. doxygenfile:: esphomelib/api/subscribe_logs.h
-.. doxygenfile:: esphomelib/api/subscribe_state.h
-.. doxygenfile:: esphomelib/api/util.h
diff --git a/api/core/ota.rst b/api/core/ota.rst
deleted file mode 100644
index f0cfadce5..000000000
--- a/api/core/ota.rst
+++ /dev/null
@@ -1,33 +0,0 @@
-Over-The-Air Updates
-====================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Setup basic OTA
- App.init_ota();
- // Enable safe mode.
- App.init_ota()->start_safe_mode();
- // OTA password
- auto *ota = App.init_ota();
- ota->set_auth_plaintext_password("VERY_SECURE");
- ota->start_safe_mode();
- // OTA MD5 password
- auto *ota = App.init_ota();
- ota->start_safe_mode();
-
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-OTAComponent
-************
-
-.. doxygenclass:: OTAComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/power-supply.rst b/api/core/power-supply.rst
deleted file mode 100644
index c25c6e01a..000000000
--- a/api/core/power-supply.rst
+++ /dev/null
@@ -1,25 +0,0 @@
-Power Supply
-============
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto *power_supply = App.make_power_supply(12);
- // Inverted, for ATX
- auto *atx = App.make_power_supply(GPIOOutputPin(12, OUTPUT, true));
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-PowerSupplyComponent
-********************
-
-.. doxygenclass:: PowerSupplyComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/spi.rst b/api/core/spi.rst
deleted file mode 100644
index 3f99e0d14..000000000
--- a/api/core/spi.rst
+++ /dev/null
@@ -1,15 +0,0 @@
-SPI Bus
-=======
-
-API Reference
--------------
-
-.. doxygenclass:: SPIComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: SPIDevice
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/time.rst b/api/core/time.rst
deleted file mode 100644
index 4c48edcbd..000000000
--- a/api/core/time.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-Time
-====
-
-API Reference
--------------
-
-.. doxygenfile:: esphomelib/time/rtc_component.h
-.. doxygenfile:: esphomelib/time/sntp_component.h
-.. doxygenfile:: esphomelib/time/homeassistant_time.h
diff --git a/api/core/uart.rst b/api/core/uart.rst
deleted file mode 100644
index 52281a8fc..000000000
--- a/api/core/uart.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-UART Bus
-========
-
-API Reference
--------------
-
-.. doxygenclass:: UARTComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: UARTDevice
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: ESP8266SoftwareSerial
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/web-server.rst b/api/core/web-server.rst
deleted file mode 100644
index d19a375bb..000000000
--- a/api/core/web-server.rst
+++ /dev/null
@@ -1,17 +0,0 @@
-Web Server
-==========
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: WebServer
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenstruct:: UrlMatch
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/core/wifi.rst b/api/core/wifi.rst
deleted file mode 100644
index d8020e106..000000000
--- a/api/core/wifi.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-WiFi
-====
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- App.init_wifi("YOUR_SSID", "YOUR_PASSWORD");
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-WiFiComponent
-*************
-
-.. doxygenfile:: esphomelib/wifi_component.h
-.. doxygenfile:: esphomelib/ethernet_component.h
diff --git a/api/cover/index.rst b/api/cover/index.rst
deleted file mode 100644
index 9b45233fd..000000000
--- a/api/cover/index.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-Cover
-=====
-
-Supported Covers
-----------------
-
-.. toctree::
- :glob:
-
- *
-
-Example Usage
--------------
-
-See :cpp:func:`Application::register_cover`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-Cover
-*****
-
-.. doxygenclass:: cover::Cover
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: cover::CoverState
-
-.. doxygenclass:: cover::OpenAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: cover::CloseAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: cover::StopAction
- :members:
- :protected-members:
- :undoc-members:
-
-MQTTCoverComponent
-******************
-
-.. doxygenclass:: cover::MQTTCoverComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/cover/template.rst b/api/cover/template.rst
deleted file mode 100644
index ec9b93ad4..000000000
--- a/api/cover/template.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Template Cover
-==============
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_template_cover`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: cover::TemplateCover
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/display/index.rst b/api/display/index.rst
deleted file mode 100644
index b0ac025da..000000000
--- a/api/display/index.rst
+++ /dev/null
@@ -1,59 +0,0 @@
-Display
-=======
-
-Supported Displays
-------------------
-
-.. toctree::
- :glob:
-
- *
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. _display-buffer:
-
-DisplayBuffer
-*************
-
-.. doxygenclass:: display::DisplayBuffer
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: COLOR_OFF
-.. doxygenvariable:: COLOR_ON
-
-TextAlign
-*********
-
-.. doxygenenum:: TextAlign
-
-Font
-****
-
-.. doxygenclass:: display::Font
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::Glyph
- :members:
- :protected-members:
- :undoc-members:
-
-Image
-*****
-
-.. doxygenclass:: display::Image
- :members:
- :protected-members:
- :undoc-members:
-
-DisplayRotation
-***************
-
-.. doxygenenum:: display::DisplayRotation
diff --git a/api/display/lcd_display.rst b/api/display/lcd_display.rst
deleted file mode 100644
index 753d496c3..000000000
--- a/api/display/lcd_display.rst
+++ /dev/null
@@ -1,30 +0,0 @@
-LCD Display
-===========
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-
-.. _api-display-lcd_display:
-
-LCDDisplay
-**********
-
-.. doxygenclass:: display::LCDDisplay
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::GPIOLCDDisplay
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::PCF8574LCDDisplay
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: lcd_writer_t
diff --git a/api/display/max7219.rst b/api/display/max7219.rst
deleted file mode 100644
index 96f99b26c..000000000
--- a/api/display/max7219.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-MAX7219 7-Segment Display
-=========================
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. _api-display-max7219:
-
-MAX7219Component
-^^^^^^^^^^^^^^^^
-
-.. doxygenclass:: display::MAX7219Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: max7219_writer_t
diff --git a/api/display/nextion.rst b/api/display/nextion.rst
deleted file mode 100644
index 279d4f92d..000000000
--- a/api/display/nextion.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-Nextion Display
-===============
-
-.. _api-display-nextion:
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: display::Nextion
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::NextionTouchComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: nextion_writer_t
diff --git a/api/display/ssd1306.rst b/api/display/ssd1306.rst
deleted file mode 100644
index e5c8d3cf3..000000000
--- a/api/display/ssd1306.rst
+++ /dev/null
@@ -1,24 +0,0 @@
-SSD1306 OLED Display
-====================
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: display::SSD1306
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::SPISSD1306
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::I2CSSD1306
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: SSD1306Model
diff --git a/api/display/waveshare_epaper.rst b/api/display/waveshare_epaper.rst
deleted file mode 100644
index 649d57284..000000000
--- a/api/display/waveshare_epaper.rst
+++ /dev/null
@@ -1,36 +0,0 @@
-Waveshare E-Paper Display
-=========================
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: display::WaveshareEPaper
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: WaveshareEPaperTypeAModel
-
-.. doxygenclass:: display::WaveshareEPaperTypeA
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: WaveshareEPaperTypeBModel
-
-.. doxygenclass:: display::WaveshareEPaper2P7In
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::WaveshareEPaper4P2In
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: display::WaveshareEPaper7P5In
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/fan/index.rst b/api/fan/index.rst
deleted file mode 100644
index 9ac9eb4e6..000000000
--- a/api/fan/index.rst
+++ /dev/null
@@ -1,80 +0,0 @@
-Fan
-====
-
-.. cpp:namespace:: fan
-
-Fans in esphomelib are implemented like lights. Both the hardware and the MQTT frontend
-access a combined :cpp:class:`FanState` object and use only that to set state and receive
-state updates.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto fan = App.make_fan("Fan");
- fan.output->set_binary(App.make_gpio_output(34));
- // Speed
- auto speed_fan = App.make_fan("Speed Fan");
- fan.output->set_speed(App.make_ledc_output(34));
- // Oscillation
- auto oscillating_fan = App.make_fan("Oscillating Fan");
- oscillating_fan.output->set_binary(App.make_gpio_output(34));
- oscillating_fan.output->set_oscillation(App.make_gpio_output(35));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_fan`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-FanState
-********
-
-.. doxygenclass:: fan::FanState
- :members:
- :protected-members:
- :undoc-members:
-
-FanTraits
-*********
-
-.. doxygenclass:: fan::FanTraits
- :members:
- :protected-members:
- :undoc-members:
-
-BasicFanComponent
-*****************
-
-.. doxygenclass:: fan::BasicFanComponent
- :members:
- :protected-members:
- :undoc-members:
-
-MQTTFanComponent
-****************
-
-.. doxygenclass:: fan::MQTTFanComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: fan::ToggleAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: fan::TurnOnAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: fan::TurnOffAction
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/index.rst b/api/index.rst
deleted file mode 100644
index 3ac5275b2..000000000
--- a/api/index.rst
+++ /dev/null
@@ -1,17 +0,0 @@
-API Reference
-=============
-
-.. toctree::
- :maxdepth: 2
-
- Core
- Sensor
- Binary Sensor
- Output
- Fan
- Light
- Switch
- Cover
- Display
- Text Sensors
- Miscellaneous
diff --git a/api/light/addressable.rst b/api/light/addressable.rst
deleted file mode 100644
index 47f61108a..000000000
--- a/api/light/addressable.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-Addressable Lights
-==================
-
-API Reference
--------------
-
-.. doxygenfile:: esphomelib/light/addressable_light.h
-
-Addressable Light Effects
-*************************
-
-.. doxygenfile:: esphomelib/light/addressable_light_effect.h
diff --git a/api/light/fastled.rst b/api/light/fastled.rst
deleted file mode 100644
index 2b6ca14ac..000000000
--- a/api/light/fastled.rst
+++ /dev/null
@@ -1,24 +0,0 @@
-FastLED Light Output
-====================
-
-Since version 1.5.0 esphomelib supports many types of addressable LEDs using the FastLED
-library.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Binary
- auto fast_led = App.make_fast_led_light("Fast LED Light");
- // 60 NEOPIXEL LEDS on pin GPIO23
- fast_led.fast_led->add_leds(60);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_fast_led_light`.
-
-API Reference
--------------
-
-.. doxygenfile:: esphomelib/light/fast_led_light_output.h
diff --git a/api/light/index.rst b/api/light/index.rst
deleted file mode 100644
index c2bd140de..000000000
--- a/api/light/index.rst
+++ /dev/null
@@ -1,72 +0,0 @@
-Light
-=====
-
-.. cpp:namespace:: light
-
-Lights in esphomelib are implemented like fans. Both the hardware and the MQTT frontend
-access a combined :cpp:class:`LightState` object and use only that to set state and receive
-state updates.
-
-.. toctree::
- :glob:
-
- *
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Binary
- App.make_binary_light("Desk Lamp", App.make_gpio_output(15));
- // Brightness-only
- App.make_monochromatic_light("Kitchen Lights", App.make_ledc_output(16));
- // RGB, see output for information how to setup individual channels.
- App.make_rgb_light("RGB Lights", red, green, blue);
- App.make_rgbw_light("RGBW Lights", red, green, blue, white);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_binary_light`, :cpp:func:`Application::make_monochromatic_light`,
-:cpp:func:`Application::make_rgb_light`, :cpp:func:`Application::make_rgbw_light`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-LightColorValues
-****************
-
-.. doxygenfile:: esphomelib/light/light_color_values.h
-
-LightEffect
-***********
-
-.. doxygenfile:: esphomelib/light/light_effect.h
-
-LightOutput
-***********
-
-.. doxygenfile:: esphomelib/light/light_output.h
-
-LightState
-**********
-
-.. doxygenfile:: esphomelib/light/light_state.h
-
-LightTraits
-***********
-
-.. doxygenfile:: esphomelib/light/light_traits.h
-
-
-LightTransformer
-****************
-
-.. doxygenfile:: esphomelib/light/light_transformer.h
-
-MQTTJSONLightComponent
-**********************
-
-.. doxygenfile:: esphomelib/light/mqtt_json_light_component.h
diff --git a/api/light/neopixelbus.rst b/api/light/neopixelbus.rst
deleted file mode 100644
index 8a2d23818..000000000
--- a/api/light/neopixelbus.rst
+++ /dev/null
@@ -1,24 +0,0 @@
-Neopixelbus Lights
-==================
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenenum:: light::ESPNeoPixelOrder
-
-.. doxygenclass:: light::NeoPixelBusLightOutputBase
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: light::NeoPixelRGBLightOutput
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: light::NeoPixelRGBWLightOutput
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/misc/debug.rst b/api/misc/debug.rst
deleted file mode 100644
index 85902db01..000000000
--- a/api/misc/debug.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-Debug Component
-===============
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- App.make_debug_component();
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_debug_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: DebugComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/misc/esp32_ble_beacon.rst b/api/misc/esp32_ble_beacon.rst
deleted file mode 100644
index 2f3c0f1ab..000000000
--- a/api/misc/esp32_ble_beacon.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-ESP32 Bluetooth Low Energy Beacon
-=================================
-
-See :cpp:func:`Application::make_esp32_ble_beacon`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: ESP32BLEBeacon
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: global_esp32_ble_beacon
diff --git a/api/misc/esp32_ble_tracker.rst b/api/misc/esp32_ble_tracker.rst
deleted file mode 100644
index c2d5afec1..000000000
--- a/api/misc/esp32_ble_tracker.rst
+++ /dev/null
@@ -1,60 +0,0 @@
-ESP32 Bluetooth Low Energy Tracker
-==================================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- auto *tracker = App.make_esp32_ble_tracker();
- // MAC address AC:37:43:77:5F:4C
- App.register_binary_sensor(tracker->make_device("ESP32 Bluetooth Beacon", {
- 0xAC, 0x37, 0x43, 0x77, 0x5F, 0x4C
- }));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_esp32_ble_tracker`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: ESP32BLETracker
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: ESP32BLEPresenceDevice
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: ESP32BLERSSISensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: XiaomiSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: XiaomiDevice
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: ESPBTDevice
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: global_esp32_ble_tracker
-.. doxygenvariable:: semaphore_scan_end
-
-.. doxygenclass:: ESPBTUUID
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/misc/index.rst b/api/misc/index.rst
deleted file mode 100644
index 1ab8ec106..000000000
--- a/api/misc/index.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-Miscellaneous Components
-========================
-
-.. toctree::
- :glob:
-
- *
diff --git a/api/misc/pcf8574.rst b/api/misc/pcf8574.rst
deleted file mode 100644
index ce45eff27..000000000
--- a/api/misc/pcf8574.rst
+++ /dev/null
@@ -1,44 +0,0 @@
-PCF8574 I/O Expander
-====================
-
-The PCF8574 component allows you to use PCF8574 and PCF8575 I/O port expanders with many of
-esphomelib's components. With most components, you are able to specify GPIOOutputPin or
-GPIOInputPin for internal pins. The PCF8574 component subclasses those types.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- auto *pcf8574 = App.make_pcf8574_component(0x21);
- App.make_gpio_binary_sensor("PCF pin 0 sensor", pcf8574->make_input_pin(0, PCF8574_INPUT));
- App.make_gpio_binary_sensor("PCF pin 0 sensor", 0);
- App.make_gpio_switch("PCF pin 1 switch", pcf8574->make_output_pin(1));
- auto *out = App.make_gpio_output(pcf8574->make_output_pin(2));
- App.make_binary_light("PCF pin 2 light", out);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_pcf8574_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenenum:: io::PCF8574GPIOMode
-
-.. doxygenclass:: io::PCF8574Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: io::PCF8574GPIOInputPin
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: io::PCF8574GPIOOutputPin
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/misc/status_led.rst b/api/misc/status_led.rst
deleted file mode 100644
index 64c8e5e55..000000000
--- a/api/misc/status_led.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Status LED
-==========
-
-See :cpp:func:`Application::make_status_led`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: StatusLEDComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: global_status_led
diff --git a/api/misc/stepper.rst b/api/misc/stepper.rst
deleted file mode 100644
index 9d8b34ef8..000000000
--- a/api/misc/stepper.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-Stepper Component
-=================
-
-.. cpp:namespace:: nullptr
-
-API Reference
--------------
-
-.. doxygenfile:: esphomelib/stepper/stepper.h
-
-.. doxygenfile:: esphomelib/stepper/a4988.h
-.. doxygenfile:: esphomelib/stepper/uln2003.h
diff --git a/api/output/esp8266-pwm.rst b/api/output/esp8266-pwm.rst
deleted file mode 100644
index 6c7a711e7..000000000
--- a/api/output/esp8266-pwm.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-ESP8266 Software PWM
-====================
-
-Software PWM for the ESP8266. Warning: This is a *software* PWM and therefore can have noticeable flickering.
-Additionally, this software PWM can't output values higher than 80%. That's a known limitation.
-
-.. _esp8266_pwm-example_usage:
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto *output = App.make_esp8266_pwm_output(D2);
- // Create a brightness-only light with it:
- App.make_monochromatic_light("Desk Lamp", output);
-
- // Advanced: Setting a custom frequency globally
- analogWriteFreq(500);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_esp8266_pwm_output`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-ESP8266PWMOutput
-****************
-
-.. doxygenclass:: output::ESP8266PWMOutput
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/output/gpio-binary.rst b/api/output/gpio-binary.rst
deleted file mode 100644
index e0d37b577..000000000
--- a/api/output/gpio-binary.rst
+++ /dev/null
@@ -1,29 +0,0 @@
-GPIO Binary Output
-==================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Create a binary output, *not a switch*
- App.make_gpio_output(33);
- // Custom pinMode
- App.make_gpio_output(GPIOOutputPin(33, OUTPUT_OPEN_DRAIN));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_gpio_output` (and :cpp:func:`Application::make_gpio_switch`).
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-GPIOBinaryOutputComponent
-*************************
-
-.. doxygenclass:: output::GPIOBinaryOutputComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/output/index.rst b/api/output/index.rst
deleted file mode 100644
index beca659fa..000000000
--- a/api/output/index.rst
+++ /dev/null
@@ -1,45 +0,0 @@
-Output
-======
-
-The `output` namespace contains all peripheral output components.
-
-.. toctree::
- :glob:
-
- *
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-BinaryOutput
-************
-
-.. doxygenclass:: output::BinaryOutput
- :members:
- :protected-members:
- :undoc-members:
-
-FloatOutput
-***********
-
-.. doxygenclass:: output::FloatOutput
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: output::TurnOnAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: output::TurnOffAction
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: output::SetLevelAction
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/output/ledc.rst b/api/output/ledc.rst
deleted file mode 100644
index 66c09f27a..000000000
--- a/api/output/ledc.rst
+++ /dev/null
@@ -1,31 +0,0 @@
-ESP32 LEDC Output
-=================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_ledc_output(33);
- // Custom Frequency
- App.make_ledc_output(33, 2000.0);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_ledc_output`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-LEDCOutputComponent
-*******************
-
-.. doxygenclass:: output::LEDCOutputComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: output::next_ledc_channel
diff --git a/api/output/my9231.rst b/api/output/my9231.rst
deleted file mode 100644
index c8e264eb8..000000000
--- a/api/output/my9231.rst
+++ /dev/null
@@ -1,30 +0,0 @@
-MY9231/MY9291 Output
-====================
-
-FloatOutput support for an MY9231/MY9291 LED driver chain.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Create the MY9231 Output hub connected to GPIO12 (DI pin) and
- // GPIO14 (DCKI pin).
- auto *pmy9231 = App.make_my9231_component(12, 14);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_my9231_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-MY9231OutputComponent
-**********************
-
-.. doxygenclass:: output::MY9231OutputComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/output/pca9685.rst b/api/output/pca9685.rst
deleted file mode 100644
index 5f06ac7ff..000000000
--- a/api/output/pca9685.rst
+++ /dev/null
@@ -1,31 +0,0 @@
-PCA9685 PWM
-===========
-
-FloatOutput support for an `PCA9695 16-Channel PWM Driver`_.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Create the PCA9685 Output hub with frequency 500Hz.
- auto *pca9685 = App.make_pca9685_component(500.0f);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_pca9685_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-PCA9685OutputComponent
-**********************
-
-.. doxygenclass:: output::PCA9685OutputComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. _PCA9695 16-Channel PWM Driver: https://www.adafruit.com/product/815
diff --git a/api/sensor/adc.rst b/api/sensor/adc.rst
deleted file mode 100644
index 8df02be1a..000000000
--- a/api/sensor/adc.rst
+++ /dev/null
@@ -1,31 +0,0 @@
-ADC Sensor
-==========
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_adc_sensor("Analog Voltage", 13);
- // Custom update interval 30 seconds
- App.make_adc_sensor("Analog Voltage", 13, 30000);
- // Custom pinMode
- App.make_adc_sensor("Analog Voltage", GPIOInputPin(13, INPUT_PULLUP));
- // ESP32: Attenuation
- auto adc = App.make_adc_sensor("Analog Voltage", 13);
- adc.adc.set_attenuation(ADC_11db);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_adc_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::ADCSensorComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/ads1115.rst b/api/sensor/ads1115.rst
deleted file mode 100644
index d1c9e6f7a..000000000
--- a/api/sensor/ads1115.rst
+++ /dev/null
@@ -1,60 +0,0 @@
-ADS1115 ADC Component
-=====================
-
-.. cpp:namespace:: input
-
-This class allows using ADS1115 Analog to Digital converters (`datasheet`_, `adafruit`_) devices with esphomelib.
-Doing so requires some steps:
-
-.. _datasheet: http://www.ti.com/lit/ds/symlink/ads1115.pdf
-.. _adafruit: https://www.adafruit.com/product/1085
-
-.. cpp:namespace:: sensor::ADS1115Component
-
-1. Initialize the i2c bus with the pins you have SDA and SCL connected to:
-
- .. code-block:: cpp
-
- // inside setup()
- App.init_i2c(SDA_PIN, SCL_PIN);
-
-2. Create the "hub" or the ADS1115 device itself. The parameter you pass in here is the i2c
- address of the ADS1115. See :cpp:func:`set_address` for possible other addresses.
-
- .. code-block:: cpp
-
- // after init_i2c
- auto *ads1115 = App.make_ads1115_component(0x48);
-
- This will create an ADS1115 component which you can now use to create individual sensors.
-
-3. Create the sensors, you can have multiple of these. Do so by calling :cpp:func:`get_sensor` with
- the multiplexer channel you want (essentially between which pins you want to measure voltage) and
- the gain for that sensor and register that sensor.
-
- .. code-block:: cpp
-
- auto *sensor = ads1115->get_sensor("ADS1115 Voltage #1", sensor::ADS1115_MULTIPLEXER_P0_N1, sensor::ADS1115_GAIN_6P144);
- App.register_sensor(sensor);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_ads1115_component`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenenum:: sensor::ADS1115Multiplexer
-.. doxygenenum:: sensor::ADS1115Gain
-
-.. doxygenclass:: sensor::ADS1115Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::ADS1115Sensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/apds9960.rst b/api/sensor/apds9960.rst
deleted file mode 100644
index 72770e0d6..000000000
--- a/api/sensor/apds9960.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-APDS9960 Sensor
-===============
-
-See :cpp:func:`Application::make_apds9960`.
-
-API Reference
--------------
-
-.. doxygenclass:: esphomelib/sensor/apds9960.h
diff --git a/api/sensor/bh1750.rst b/api/sensor/bh1750.rst
deleted file mode 100644
index 04f8f7d7d..000000000
--- a/api/sensor/bh1750.rst
+++ /dev/null
@@ -1,34 +0,0 @@
-BH1750 Ambient Light Sensor
-===========================
-
-The BH1750 sensor allows you to use your BH1750 i2c-enabled ambient light sensor with
-esphomelib (`datasheet `__).
-It requires i2c to be setup to work.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto bh1750 = App.make_bh1750_sensor("BH1750 Illuminance");
-
- // Advanced settings
- // default resolution is 0.5 LX
- bh1750.bh1750->set_resolution(sensor::BH1750_RESOLUTION_1P0_LX);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_bh1750_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::BH1750Sensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::BH1750Resolution
diff --git a/api/sensor/bme280.rst b/api/sensor/bme280.rst
deleted file mode 100644
index ce97751a3..000000000
--- a/api/sensor/bme280.rst
+++ /dev/null
@@ -1,47 +0,0 @@
-BME280 Temperature/Pressure/Humidity Sensor
-===========================================
-
-The BME280 sensor allows you to use your BME280 i2c-enabled temperature+pressure+humidity sensor with
-esphomelib (`datasheet `__,
-`adafruit `__). It requires i2c to be setup to work.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto bme280 = App.make_bme280_sensor("BME280 Temperature", "BME280 Pressure", "BME280 Humidity");
-
- // Advanced settings
- // set infinite impulse response filter, default is OFF.
- bme280.bme280->set_iir_filter(sensor::BME280_IIR_FILTER_4X);
- // set over value sampling, default is 16x
- bme280.bme280->set_temperature_oversampling(sensor::BME280_OVERSAMPLING_16X);
- bme280.bme280->set_humidity_oversampling(sensor::BME280_OVERSAMPLING_4X);
- bme280.bme280->set_pressure_oversampling(sensor::BME280_OVERSAMPLING_16X);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_bme280_sensor`.
-
-API Reference
--------------
-
-.. doxygenclass:: sensor::BME280Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::BME280Oversampling
-.. doxygenenum:: sensor::BME280IIRFilter
-
-.. doxygentypedef:: sensor::BME280TemperatureSensor
-.. doxygentypedef:: sensor::BME280PressureSensor
-.. doxygentypedef:: sensor::BME280HumiditySensor
-
-.. doxygenstruct:: sensor::BME280CalibrationData
- :members:
- :protected-members:
- :undoc-members:
-
diff --git a/api/sensor/bme680.rst b/api/sensor/bme680.rst
deleted file mode 100644
index f878193f1..000000000
--- a/api/sensor/bme680.rst
+++ /dev/null
@@ -1,48 +0,0 @@
-BME680 Temperature/Pressure/Humidity/Gas Sensor
-===============================================
-
-The BME680 sensor allows you to use your BME680 i2c-enabled temperature+pressure+humidity+gas
-sensor with esphomelib (`datasheet `__,
-`adafruit `__). It requires i2c to be setup to work.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto bme680 = App.make_bme680_sensor("BME680 Temperature",
- "BME680 Pressure",
- "BME680 Humidity",
- "BME680 Gas Resistance");
-
- // default is no iir filter
- bme680.bme680->set_iir_filter(sensor::BME680_IIR_FILTER_15X);
- // set heater to 200°C for 100ms, default is off
- bme680.bme680->set_heater(200, 100);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_bme680_sensor`.
-
-API Reference
--------------
-
-.. doxygenclass:: sensor::BME680Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::BME680Oversampling
-.. doxygenenum:: sensor::BME680IIRFilter
-
-.. doxygentypedef:: sensor::BME680TemperatureSensor
-.. doxygentypedef:: sensor::BME680PressureSensor
-.. doxygentypedef:: sensor::BME680HumiditySensor
-.. doxygentypedef:: sensor::BME680GasResistanceSensor
-
-.. doxygenstruct:: sensor::BME680CalibrationData
- :members:
- :protected-members:
- :undoc-members:
-
diff --git a/api/sensor/bmp085.rst b/api/sensor/bmp085.rst
deleted file mode 100644
index 7dcb5419f..000000000
--- a/api/sensor/bmp085.rst
+++ /dev/null
@@ -1,36 +0,0 @@
-BMP085 Pressure/Temperature Sensor
-==================================
-
-The BMP085 component allows you get the temperature and pressure from your BMP085
-(`datasheet BMP085 `_,
-`adafruit BMP085 `_), BMP180
-(`datasheet BMP180 `_,
-`adafruit BMP180 `_) and BMP280
-(`datasheet BMP280 `_,
-`adafruit BMP280 `_) sensors with esphomelib. To use these
-i2c-based devices, first initialize the i2c bus using the pins you have for SDA and SCL and
-then create the sensors themselves as in below example.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // inside setup()
- App.init_i2c(SDA_PIN, SCL_PIN); // change these values for your pins.
- // create sensors
- App.make_bmp085_sensor("Outside Temperature", "Outside Pressure");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_bmp085_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::BMP085Component
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/bmp280.rst b/api/sensor/bmp280.rst
deleted file mode 100644
index 756ddd129..000000000
--- a/api/sensor/bmp280.rst
+++ /dev/null
@@ -1,26 +0,0 @@
-BMP280 Temperature/Pressure Sensor
-==================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_bmp280_sensor`.
-
-API Reference
--------------
-
-.. doxygenclass:: sensor::BMP280Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::BMP280Oversampling
-.. doxygenenum:: sensor::BMP280IIRFilter
-
-.. doxygentypedef:: sensor::BMP280TemperatureSensor
-.. doxygentypedef:: sensor::BMP280PressureSensor
-
-.. doxygenstruct:: sensor::BMP280CalibrationData
- :members:
- :protected-members:
- :undoc-members:
-
diff --git a/api/sensor/cse7766.rst b/api/sensor/cse7766.rst
deleted file mode 100644
index 1cb7c2a8a..000000000
--- a/api/sensor/cse7766.rst
+++ /dev/null
@@ -1,22 +0,0 @@
-CSE7766 Power Sensor
-====================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_cse7766`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::CSE7766Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: sensor::CSE7766VoltageSensor
-
-.. doxygentypedef:: sensor::CSE7766CurrentSensor
-
-.. doxygentypedef:: sensor::CSE7766PowerSensor
diff --git a/api/sensor/dallas.rst b/api/sensor/dallas.rst
deleted file mode 100644
index 5589965cb..000000000
--- a/api/sensor/dallas.rst
+++ /dev/null
@@ -1,45 +0,0 @@
-Dallas Component
-================
-
-.. cpp:namespace:: input
-
-This class allows using Dallas (DS18b20) devices with esphomelib. You first have to
-create a hub or bus where all sensors are connected to (:cpp:class:`DallasComponent`).
-
-.. cpp:namespace:: sensor::DallasComponent
-
-Next, use :cpp:func:`get_sensor_by_address` and :cpp:func:`get_sensor_by_index` to get
-individual sensors. You can get the addresses of dallas sensors by observing the log output
-at startup time.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Bus setup
- auto *dallas = App.make_dallas_component(15);
-
- // By address
- App.register_sensor(dallas->get_sensor_by_address("Ambient Temperature", 0xfe0000031f1eaf29));
- // By index
- App.register_sensor(dallas->get_sensor_by_index("Ambient Temperature", 0));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_dallas_component` and :cpp:func:`Application::register_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::DallasComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::DallasTemperatureSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/dht.rst b/api/sensor/dht.rst
deleted file mode 100644
index df490d9b5..000000000
--- a/api/sensor/dht.rst
+++ /dev/null
@@ -1,24 +0,0 @@
-DHT Temperature/Humidity Sensor
-===============================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_dht_sensor("Outside Temperature", "Outside Humidity", 12);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_dht_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::DHTComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/dht12.rst b/api/sensor/dht12.rst
deleted file mode 100644
index a7b0b9f0b..000000000
--- a/api/sensor/dht12.rst
+++ /dev/null
@@ -1,27 +0,0 @@
-DHT12 Temperature/Humidity Sensor
-=================================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_dht12_sensor("Outside Temperature", "Outside Humidity");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_dht12_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygentypedef:: sensor::DHT12TemperatureSensor
-.. doxygentypedef:: sensor::DHT12HumiditySensor
-
-.. doxygenclass:: sensor::DHT12Component
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/duty_cycle.rst b/api/sensor/duty_cycle.rst
deleted file mode 100644
index d3e772d6f..000000000
--- a/api/sensor/duty_cycle.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Duty Cycle Sensor
-=================
-
-See :cpp:func:`Application::make_duty_cycle_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::DutyCycleSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: sensor::duty_cycle_sensors
diff --git a/api/sensor/esp32_hall.rst b/api/sensor/esp32_hall.rst
deleted file mode 100644
index 1e555c308..000000000
--- a/api/sensor/esp32_hall.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-ESP32 Hall Sensor
-=================
-
-See :cpp:func:`Application::make_esp32_hall_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::ESP32HallSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/hdc1080.rst b/api/sensor/hdc1080.rst
deleted file mode 100644
index fe7ce0978..000000000
--- a/api/sensor/hdc1080.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-HDC1080 Temperature/Humidity Sensor
-===================================
-
-The HDC1080 component allows you get accurate temperature and humidity readings from your HDC1080
-(`datasheet `_,
-`adafruit `_) sensors with esphomelib. To use these
-i2c-based devices, first initialize the i2c bus using the pins you have for SDA and SCL and
-then create the sensors themselves as in below example.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // inside setup()
- App.init_i2c(SDA_PIN, SCL_PIN); // change these values for your pins.
- // create sensors
- App.make_hdc1080_sensor("Outside Temperature", "Outside Humidity");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_hdc1080_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::HDC1080Component
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/hlw8012.rst b/api/sensor/hlw8012.rst
deleted file mode 100644
index bfe0b121f..000000000
--- a/api/sensor/hlw8012.rst
+++ /dev/null
@@ -1,28 +0,0 @@
-HLW8012 Power Sensor
-====================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_hlw8012`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::HLW8012Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::HLW8012VoltageSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::HLW8012CurrentSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: HLW8012PowerSensor
diff --git a/api/sensor/hmc5883l.rst b/api/sensor/hmc5883l.rst
deleted file mode 100644
index bc526dc49..000000000
--- a/api/sensor/hmc5883l.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-HMC5883L Magnetometer
-=====================
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_hmc5883l`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::HMC5883LComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::HMC5883LRange
-
-.. doxygentypedef:: sensor::HMC5883LFieldStrengthSensor
-.. doxygentypedef:: sensor::HMC5883LHeadingSensor
diff --git a/api/sensor/htu21d.rst b/api/sensor/htu21d.rst
deleted file mode 100644
index 07343ba51..000000000
--- a/api/sensor/htu21d.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-HTU21D Temperature/Humidity Sensor
-==================================
-
-The HTU21D component allows you get accurate temperature and humidity readings from your HTU21D
-(`datasheet `_,
-`adafruit `_) sensors with esphomelib. To use these
-i2c-based devices, first initialize the i2c bus using the pins you have for SDA and SCL and
-then create the sensors themselves as in below example.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // inside setup()
- App.init_i2c(SDA_PIN, SCL_PIN); // change these values for your pins.
- // create sensors
- App.make_htu21d_sensor("Outside Temperature", "Outside Humidity");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_htu21d_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::HTU21DComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/hx711.rst b/api/sensor/hx711.rst
deleted file mode 100644
index 08204c650..000000000
--- a/api/sensor/hx711.rst
+++ /dev/null
@@ -1,18 +0,0 @@
-HX711 Load Cell Amplifier
-=========================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_hx711_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::HX711Sensor
- :members:
- :protected-members:
- :undoc-members:
-
-
diff --git a/api/sensor/ina219.rst b/api/sensor/ina219.rst
deleted file mode 100644
index 5e945850a..000000000
--- a/api/sensor/ina219.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-INA219 DC Current Sensor
-========================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_ina219`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::INA219Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: INA219VoltageSensor
-.. doxygentypedef:: INA219CurrentSensor
-.. doxygentypedef:: INA219PowerSensor
diff --git a/api/sensor/ina3221.rst b/api/sensor/ina3221.rst
deleted file mode 100644
index ef45a7e14..000000000
--- a/api/sensor/ina3221.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-INA3221 3-Channel DC Current Sensor
-===================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_ina3221`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::INA3221Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: INA3221VoltageSensor
-.. doxygentypedef:: INA3221CurrentSensor
-.. doxygentypedef:: INA3221PowerSensor
diff --git a/api/sensor/index.rst b/api/sensor/index.rst
deleted file mode 100644
index f5ccba41e..000000000
--- a/api/sensor/index.rst
+++ /dev/null
@@ -1,140 +0,0 @@
-Sensor
-======
-
-The `sensor` namespace contains all sensors.
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::register_sensor`.
-
-.. toctree::
- :glob:
-
- *
-
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-Sensor
-******
-
-.. doxygenclass:: sensor::Sensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::PollingSensorComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::EmptySensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::EmptyPollingParentSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: sensor::ICON_EMPTY
-.. doxygenvariable:: sensor::ICON_WATER_PERCENT
-.. doxygenvariable:: sensor::ICON_GAUGE
-.. doxygenvariable:: sensor::ICON_FLASH
-.. doxygenvariable:: sensor::ICON_SCREEN_ROTATION
-.. doxygenvariable:: sensor::ICON_BRIEFCASE_DOWNLOAD
-
-.. doxygenvariable:: sensor::UNIT_C
-.. doxygenvariable:: sensor::UNIT_PERCENT
-.. doxygenvariable:: sensor::UNIT_HPA
-.. doxygenvariable:: sensor::UNIT_V
-.. doxygenvariable:: sensor::UNIT_DEGREES_PER_SECOND
-.. doxygenvariable:: sensor::UNIT_M_PER_S_SQUARED
-
-
-Filter
-******
-
-.. doxygenclass:: sensor::Filter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::SlidingWindowMovingAverageFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::ExponentialMovingAverageFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: sensor::lambda_filter_t
-
-.. doxygenclass:: sensor::LambdaFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::OffsetFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::MultiplyFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::FilterOutValueFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::FilterOutNANFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::ThrottleFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::HeartbeatFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::DebounceFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::DeltaFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::OrFilter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::UniqueFilter
- :members:
- :protected-members:
- :undoc-members:
-
-MQTTSensorComponent
-*******************
-
-.. doxygenclass:: sensor::MQTTSensorComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/max31855.rst b/api/sensor/max31855.rst
deleted file mode 100644
index 11f8fa855..000000000
--- a/api/sensor/max31855.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-MAX31855 K-Type Thermocouple Temperature Sensor
-===============================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_max31855_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::MAX31855Sensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/max6675.rst b/api/sensor/max6675.rst
deleted file mode 100644
index 0c6499e37..000000000
--- a/api/sensor/max6675.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-MAX6675 K-Type Thermocouple Temperature Sensor
-==============================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_max6675_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::MAX6675Sensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/mhz19.rst b/api/sensor/mhz19.rst
deleted file mode 100644
index 93205e913..000000000
--- a/api/sensor/mhz19.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-MH-Z19 CO_2 and Temperature Sensor
-==================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_mhz19_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::MHZ19Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: MHZ19CO2Sensor
-.. doxygentypedef:: MHZ19TemperatureSensor
diff --git a/api/sensor/mpu6050.rst b/api/sensor/mpu6050.rst
deleted file mode 100644
index 6c804120e..000000000
--- a/api/sensor/mpu6050.rst
+++ /dev/null
@@ -1,43 +0,0 @@
-MPU6050 Accelerometer/Gyroscope Component
-=========================================
-
-The MPU6050 allows you to use your MPU6050 i2c-enabled accelerometers/gyroscopes with
-esphomelib (`datasheet `__,
-`Sparkfun `__). It requires i2c to be setup to work.
-
-This component only supports reading in the measurements directly from the registers of the chip
-at the moment. If you do need some more complicated signal processing and/or configuration options,
-I would recommend copying the code over and creating your own custom component, as supporting every
-single possible configuration is not esphomelib's ultimate goal with a chip that supports such a
-variety of options.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // inside setup()
- App.init_i2c(SDA_PIN, SCL_PIN); // change these values for your pins.
- // create sensors
- auto *mpu6050 = App.make_mpu6050_sensor();
- App.register_sensor(mpu6050->make_accel_x_sensor("MPU6050 Accel X"));
- App.register_sensor(mpu6050->make_accel_y_sensor("MPU6050 Accel Y"));
- App.register_sensor(mpu6050->make_accel_z_sensor("MPU6050 Accel Z"));
- App.register_sensor(mpu6050->make_gyro_x_sensor("MPU6050 Gyro X"));
- App.register_sensor(mpu6050->make_gyro_y_sensor("MPU6050 Gyro Y"));
- App.register_sensor(mpu6050->make_gyro_z_sensor("MPU6050 Gyro Z"));
- App.register_sensor(mpu6050->make_temperature_sensor("MPU6050 Temperature"));
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_mpu6050_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::MPU6050Component
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/mqtt_subscribe.rst b/api/sensor/mqtt_subscribe.rst
deleted file mode 100644
index 3d014513d..000000000
--- a/api/sensor/mqtt_subscribe.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-MQTT Subscribe Sensor
-=====================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_mqtt_subscribe_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::MQTTSubscribeSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/ms5611.rst b/api/sensor/ms5611.rst
deleted file mode 100644
index 156bad54c..000000000
--- a/api/sensor/ms5611.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-MS5611 Atmospheric Pressure Sensor
-==================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_ms5611_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::MS5611Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygentypedef:: MS5611TemperatureSensor
-.. doxygentypedef:: MS5611PressureSensor
diff --git a/api/sensor/pmsx003.rst b/api/sensor/pmsx003.rst
deleted file mode 100644
index 25098930a..000000000
--- a/api/sensor/pmsx003.rst
+++ /dev/null
@@ -1,25 +0,0 @@
-PMSX003 Particulate Matter Sensor
-=================================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_pmsx003`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::PMSX003Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::PMSX003Sensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::PMSX003SensorType
-
-.. doxygenenum:: sensor::PMSX003Type
diff --git a/api/sensor/pulse_counter.rst b/api/sensor/pulse_counter.rst
deleted file mode 100644
index c5ea696bd..000000000
--- a/api/sensor/pulse_counter.rst
+++ /dev/null
@@ -1,29 +0,0 @@
-Pulse Counter Sensor
-====================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_pulse_counter_sensor("Pulse Counter", 13);
- // Unit conversion
- auto pcnt_1 = App.make_pulse_counter_sensor("Pulse Counter 2", 13);
- pcnt_1.pcnt->set_unit_of_measurement("kW");
- pcnt_1.pcnt->clear_filters();
- pcnt_1.pcnt->add_multiply_filter(0.06f); // convert from Wh pulse to kW
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_pulse_counter_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::PulseCounterSensorComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/rotary_encoder.rst b/api/sensor/rotary_encoder.rst
deleted file mode 100644
index 7155e58a2..000000000
--- a/api/sensor/rotary_encoder.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Rotary Encoder Sensor
-=====================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_rotary_encoder_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::RotaryEncoderSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/sht3xd.rst b/api/sensor/sht3xd.rst
deleted file mode 100644
index 4a55ac92a..000000000
--- a/api/sensor/sht3xd.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-SHT3XD Temperature/Humidity Sensor
-==================================
-
-The SHT3XD component allows you to use your SHT3x-DIS i2c-enabled temperature+humidity+gas
-sensor with esphomelib (`datasheet `__,
-`adafruit `__). It requires i2c to be setup to work.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto sht3xd = App.make_sht3xd_sensor("SHT31D Temperature", "SHT31D Humidity");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_sht3xd_sensor`.
-
-API Reference
--------------
-
-.. doxygenclass:: sensor::SHT3XDComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::SHT3XDTemperatureSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: sensor::SHT3XDHumiditySensor
- :members:
- :protected-members:
- :undoc-members:
-
diff --git a/api/sensor/tcs34725.rst b/api/sensor/tcs34725.rst
deleted file mode 100644
index b676d9a37..000000000
--- a/api/sensor/tcs34725.rst
+++ /dev/null
@@ -1,22 +0,0 @@
-TCS34725 RGB Color Sensor
-=========================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_tcs34725`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::TCS34725Component
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: TCS34725IntegrationTime
-.. doxygenenum:: TCS34725Gain
-.. doxygentypedef:: TCS35725IlluminanceSensor
-.. doxygentypedef:: TCS35725ColorTemperatureSensor
-.. doxygentypedef:: TCS35725ColorChannelSensor
diff --git a/api/sensor/template.rst b/api/sensor/template.rst
deleted file mode 100644
index cebd724ed..000000000
--- a/api/sensor/template.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Template Sensor
-===============
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_template_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::TemplateSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/total_daily_energy.rst b/api/sensor/total_daily_energy.rst
deleted file mode 100644
index 049c51c18..000000000
--- a/api/sensor/total_daily_energy.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Total Daily Energy Sensor
-=========================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_total_daily_energy_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::TotalDailyEnergy
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/tsl2561.rst b/api/sensor/tsl2561.rst
deleted file mode 100644
index c361778b5..000000000
--- a/api/sensor/tsl2561.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-TSL2561 Ambient Light Sensor
-============================
-
-The TSL2561 sensor allows you to use your TSL2561 i2c-enabled ambient light sensor with
-esphomelib (`datasheet `__,
-`Adafruit `__). It requires i2c to be setup to work.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- auto tsl2561 = App.make_tsl2561_sensor("TSL2561 Illuminance Sensor");
-
- // Advanced settings
- // set the time the sensor will take for value accumulation, default: 402 ms
- tsl2561.tsl2561->set_integration_time(sensor::TSL2561_INTEGRATION_14MS);
- // set a higher gain for low light conditions, default: 1x
- tsl2561.tsl2561->set_gain(sensor::TSL2561_GAIN_16X);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_tsl2561_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::TSL2561Sensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: sensor::TSL2561IntegrationTime
-.. doxygenenum:: sensor::TSL2561Gain
diff --git a/api/sensor/ultrasonic.rst b/api/sensor/ultrasonic.rst
deleted file mode 100644
index 9751fd43b..000000000
--- a/api/sensor/ultrasonic.rst
+++ /dev/null
@@ -1,31 +0,0 @@
-Ultrasonic Sensor
-=================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- // Basic
- App.make_ultrasonic("Ultrasonic", 12, 13); // trigger pin: 12, echo pin: 13
- // Filter out timeouts
- auto ultrasonic = App.make_ultrasonic("Ultrasonic", 12, 13);
- ultrasonic.mqtt->set_filters({
- new sensor::FilterOutNANFilter(), // filter out timeouts
- });
- // Set timeout, 4 meters
- ultrasonic.sensor->set_timeout_m(4.0f);
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_ultrasonic_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::UltrasonicSensorComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/uptime.rst b/api/sensor/uptime.rst
deleted file mode 100644
index 1acf6c633..000000000
--- a/api/sensor/uptime.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-Uptime Sensor
-=============
-
-See :cpp:func:`Application::make_uptime_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::UptimeSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/sensor/wifi_signal.rst b/api/sensor/wifi_signal.rst
deleted file mode 100644
index b8f78265d..000000000
--- a/api/sensor/wifi_signal.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-WiFi Signal Sensor
-==================
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- App.make_wifi_signal_sensor("WiFi Signal Sensor");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_wifi_signal_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: sensor::WiFiSignalSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/switch/index.rst b/api/switch/index.rst
deleted file mode 100644
index ea39ff2fe..000000000
--- a/api/switch/index.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-Switch
-======
-
-The `switch_` namespace contains all switch helpers.
-
-.. toctree::
- :glob:
-
- *
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-Switch
-******
-
-.. doxygenclass:: switch_::Switch
- :members:
- :protected-members:
- :undoc-members:
-
-OutputSwitch
-************
-
-.. doxygenclass:: switch_::OutputSwitch
- :members:
- :protected-members:
- :undoc-members:
-
-GPIOSwitch
-**********
-
-.. doxygenclass:: switch_::GPIOSwitch
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenenum:: switch_::GPIOSwitchRestoreMode
-
-.. doxygenclass:: switch_::SwitchCondition
- :members:
- :protected-members:
- :undoc-members:
-
-MQTTSwitchComponent
-*******************
-
-.. doxygenclass:: switch_::MQTTSwitchComponent
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/switch/remote_transmitter.rst b/api/switch/remote_transmitter.rst
deleted file mode 100644
index 049d62121..000000000
--- a/api/switch/remote_transmitter.rst
+++ /dev/null
@@ -1,94 +0,0 @@
-Remote Transmitter
-==================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_remote_transmitter_component` and
-:cpp:func:`Application::register_switch`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: remote::RemoteTransmitterComponent
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RemoteTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RemoteTransmitData
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RemoteControlComponentBase
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::LGTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::NECTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::PanasonicTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::SamsungTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RawTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchProtocol
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenvariable:: rc_switch_protocols
-
-.. doxygenclass:: remote::RCSwitchRawTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeATransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeBTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeCTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::RCSwitchTypeDTransmitter
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: remote::SonyTransmitter
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/switch/restart.rst b/api/switch/restart.rst
deleted file mode 100644
index 807254693..000000000
--- a/api/switch/restart.rst
+++ /dev/null
@@ -1,25 +0,0 @@
-Restart Switch
-==============
-
-This platform allows you to restart your ESP8266/ESP32 with a simple MQTT message.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- App.make_restart_switch("Livingroom Restart");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_restart_switch`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: switch_::RestartSwitch
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/switch/shutdown.rst b/api/switch/shutdown.rst
deleted file mode 100644
index 72ecaa555..000000000
--- a/api/switch/shutdown.rst
+++ /dev/null
@@ -1,29 +0,0 @@
-Shutdown Switch
-===============
-
-This platform allows you to put your ESP8266/ESP32 to sleep until it is manually restarted
-by either pressing the reset button or toggling the power supply.
-
-It is especially useful if you're using esphomelib with battery cells that must not
-be discharged too much.
-
-Example Usage
--------------
-
-.. code-block:: cpp
-
- App.make_shutdown_switch("Livingroom Shutdown");
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_shutdown_switch`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: switch_::ShutdownSwitch
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/switch/template.rst b/api/switch/template.rst
deleted file mode 100644
index 9c8c47411..000000000
--- a/api/switch/template.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-Template Switch
-===============
-
-See :cpp:func:`Application::make_template_switch`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: switch_::TemplateSwitch
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/switch/uart.rst b/api/switch/uart.rst
deleted file mode 100644
index 2e24952f6..000000000
--- a/api/switch/uart.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-UART Switch
-===========
-
-See :cpp:func:`Application::make_uart_switch`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: switch_::UARTSwitch
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/text_sensor/index.rst b/api/text_sensor/index.rst
deleted file mode 100644
index b6a853a47..000000000
--- a/api/text_sensor/index.rst
+++ /dev/null
@@ -1,40 +0,0 @@
-Text Sensor
-===========
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::register_text_sensor`.
-
-.. toctree::
- :maxdepth: 1
-
- version
- mqtt_subscribe
- template
-
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-TextSensor
-**********
-
-.. doxygenclass:: text_sensor::TextSensor
- :members:
- :protected-members:
- :undoc-members:
-
-.. doxygenclass:: text_sensor::TextSensorStateTrigger
- :members:
- :protected-members:
- :undoc-members:
-
-MQTTTextSensor
-**************
-
-.. doxygenclass:: text_sensor::MQTTTextSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/text_sensor/mqtt_subscribe.rst b/api/text_sensor/mqtt_subscribe.rst
deleted file mode 100644
index 070881de4..000000000
--- a/api/text_sensor/mqtt_subscribe.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-MQTT Subscribe Text Sensor
-==========================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_mqtt_subscribe_text_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: text_sensor::MQTTSubscribeTextSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/text_sensor/template.rst b/api/text_sensor/template.rst
deleted file mode 100644
index 3953d9d8a..000000000
--- a/api/text_sensor/template.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Template Text Sensor
-====================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_template_text_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: text_sensor::TemplateTextSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/api/text_sensor/version.rst b/api/text_sensor/version.rst
deleted file mode 100644
index ad646a616..000000000
--- a/api/text_sensor/version.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-Version Text Sensor
-===================
-
-.. cpp:namespace:: nullptr
-
-See :cpp:func:`Application::make_version_text_sensor`.
-
-API Reference
--------------
-
-.. cpp:namespace:: nullptr
-
-.. doxygenclass:: text_sensor::VersionTextSensor
- :members:
- :protected-members:
- :undoc-members:
diff --git a/esphomeyaml/changelog/index.rst b/changelog/index.rst
similarity index 67%
rename from esphomeyaml/changelog/index.rst
rename to changelog/index.rst
index 17110485e..4ec19c7e7 100644
--- a/esphomeyaml/changelog/index.rst
+++ b/changelog/index.rst
@@ -2,7 +2,7 @@ Changelog
=========
.. redirect::
- :url: /esphomeyaml/changelog/v1.10.0.html
+ :url: /changelog/v1.10.0.html
.. toctree::
:glob:
diff --git a/esphomeyaml/changelog/v1.10.0.rst b/changelog/v1.10.0.rst
similarity index 98%
rename from esphomeyaml/changelog/v1.10.0.rst
rename to changelog/v1.10.0.rst
index c29fde783..039636c98 100644
--- a/esphomeyaml/changelog/v1.10.0.rst
+++ b/changelog/v1.10.0.rst
@@ -21,10 +21,11 @@ Changelog - Version 1.10.0
ESP32 Ethernet, components/ethernet, ethernet.svg
Home Assistant Sensor, components/sensor/homeassistant, home-assistant.svg
+
Native API
----------
-This release brings with it lots of goodies, but most important is the :doc:`native API `.
+This release brings with it lots of goodies, but most important is the :doc:`native API `.
MQTT has been the only way this project communicated with Home Assistant for a while now. And MQTT is a great protocol
to get started, but it always had problems:
@@ -121,7 +122,7 @@ Breaking Changes
- sliding_window_moving_average: {}
- The fastled effects have been renamed to ``addressable_`` for the new
- :doc:`Neopixelbus ` integration. See the validation error message
+ :doc:`Neopixelbus ` integration. See the validation error message
for more info.
Other notable changes:
@@ -131,13 +132,13 @@ Other notable changes:
This is along with a *complete* rewrite of the WiFi component which now interacts directly with the ESP SDK.
(:ref:`wifi-networks`)
- GPIO Switches have a new option ``restore_mode`` to configure how their values should be restored on boot.
- (:doc:`/esphomeyaml/components/switch/gpio`)
+ (:doc:`/components/switch/gpio`)
- Added :ref:`substitutions ` to reduce repeating across configs.
- Validation error messages are now displayed even better. Now all errors are shown with the exact context
where the error appeared. Try it, it's so much better. Next step will be to upgrade to a better YAML reader
to provide better error messages when the YAML syntax is invalid.
- Added a bunch of guides (and helpers) for creating custom components. Also new: ``esphomeyaml.libraries``,
- ``esphomeyaml.includes`` and ``esphomeyaml.platformio_options`` (:doc:`/esphomeyaml/components/esphomeyaml`)
+ ``esphomeyaml.includes`` and ``esphomeyaml.platformio_options`` (:doc:`/components/esphomeyaml`)
- Saved a lot of flash space on ESP8266 boards. Previously, platformio would allocate about 1/4 of flash for SPIFFS,
but esphomelib doesn't use that so now you have that as extra storage. Thanks `@brandond `
- You can now use Home Assistant to get time in ESPHome, so no more need for SNTP. See :ref:`time`.
diff --git a/esphomeyaml/changelog/v1.7.0.rst b/changelog/v1.7.0.rst
similarity index 86%
rename from esphomeyaml/changelog/v1.7.0.rst
rename to changelog/v1.7.0.rst
index 40ccf5646..f3fb9a1d6 100644
--- a/esphomeyaml/changelog/v1.7.0.rst
+++ b/changelog/v1.7.0.rst
@@ -32,28 +32,28 @@ be travelling a lot (and enjoying my vacation 😎), so don't expect too many aw
New Components
**************
-- New :doc:`WiFi signal strength sensor ` by
+- New :doc:`WiFi signal strength sensor ` by
`@brandond `__. So now you can monitor how strong the WiFi signal is for your node 📶
- You can now create a BLE iBeacon with your ESP32s using the new
- :doc:`BLE Beacon component `.
+ :doc:`BLE Beacon component `.
-- esphomelib has finally gained support for a :doc:`status LED `. Now
+- esphomelib has finally gained support for a :doc:`status LED `. Now
you can quickly identify if everything is OK with your ESP with a quick look at this LED. Happy |blinking|!
.. |blinking| raw:: html
blinking
-- The :doc:`pulse counter sensor ` has been back-ported to the
+- The :doc:`pulse counter sensor ` has been back-ported to the
ESP8266, so now you can observe the number of pulses and frequency on any pin 🔢
-- A new :doc:`duty cycle sensor ` has been added, allowing you to
+- A new :doc:`duty cycle sensor ` has been added, allowing you to
measure how much of the time a specific pin is HIGH or LOW. Can for example be used to detect if a status LED
on an external device is blinking or permanently on.
-- The new :doc:`remote receiver ` and
- :doc:`remote transmitter ` components now allows you to use any 433MHz
+- The new :doc:`remote receiver ` and
+ :doc:`remote transmitter ` components now allows you to use any 433MHz
receivers and senders with esphomelib. Currently, you will need to use the ``raw`` data as described in
:ref:`this guide `, but in the future more protocols will be supported out of the box.
@@ -65,7 +65,7 @@ New Features
been rewritten to allow for automations to be executed asynchronously, while the device is still connecting to WiFi.
- The Hass.io add-on now has a new ``password`` option with which you can secure your installation. See
- :doc:`/esphomeyaml/guides/getting_started_hassio`. 🔒
+ :doc:`/guides/getting_started_hassio`. 🔒
- Binary Sensors now have filters too. They can now be used to debounce any binary sensor and do some more
complicated actions using lambdas. See :ref:`binary_sensor-filters`. ⛹️
@@ -73,7 +73,7 @@ New Features
- All components can now be flagged ``internal``. Doing so will prevent them from being represented in the front-end
(like MQTT). Useful for :ref:`on-device automations `. See 😎
-- The :doc:`/esphomeyaml/components/deep_sleep` now has a ``wakeup_pin_mode`` option for the ESP32. This option
+- The :doc:`/components/deep_sleep` now has a ``wakeup_pin_mode`` option for the ESP32. This option
can be used to tell esphomelib what to do if the wakeup pin is already in the wakeup level when attempting
to enter deep sleep. 🛌
@@ -85,12 +85,12 @@ New Features
can find all the new docker files `here `__.
- Added a new ``build_path`` option in the ``esphomeyaml`` section with which you can customize where
- esphomeyaml stores the platformio project files. See :doc:`/esphomeyaml/components/esphomeyaml`.
+ esphomeyaml stores the platformio project files. See :doc:`/components/esphomeyaml`.
Breaking Changes
****************
-- Fixed the :doc:`SHT3x-D ` component and removed the ``accuracy``
+- Fixed the :doc:`SHT3x-D ` component and removed the ``accuracy``
parameter. The accuracy now defaults to ``HIGH``.
- The ``inverted`` option of binary sensors has been moved into the ``filters:`` section. So instead of
@@ -112,16 +112,16 @@ Breaking Changes
- invert:
- The ``esp32_ble`` component and platform have been renamed to :doc:`esp32_ble_tracker
- ` in order to make the naming clearer with the new :doc:`esp32_ble_beacon
- ` component.
+ ` in order to make the naming clearer with the new :doc:`esp32_ble_beacon
+ ` component.
-- The ``receive_timeout`` option has been removed from the :doc:`i2c component ` as it
+- The ``receive_timeout`` option has been removed from the :doc:`i2c component ` as it
turns out it didn't actually do anything.
-- The ``ir_transmitter`` component has been renamed to :doc:`remote_transmitter `
+- The ``ir_transmitter`` component has been renamed to :doc:`remote_transmitter `
as it now works with all kinds of protocols, not just infrared-based ones.
-- The ``pull_mode`` option of the :doc:`Pulse Counter ` has been removed, please
+- The ``pull_mode`` option of the :doc:`Pulse Counter ` has been removed, please
use the :ref:`Pin Schema ` now instead. Additionally, the ``internal_filter`` option now only accepts
:ref:`time ` units.
diff --git a/esphomeyaml/changelog/v1.8.0.rst b/changelog/v1.8.0.rst
similarity index 97%
rename from esphomeyaml/changelog/v1.8.0.rst
rename to changelog/v1.8.0.rst
index bf5d08671..1a2140921 100644
--- a/esphomeyaml/changelog/v1.8.0.rst
+++ b/changelog/v1.8.0.rst
@@ -53,9 +53,9 @@ This release mainly focuses on these new features:
- Lots of Bug Fixes - Now that most of the hardware has arrived from china, I was able to fix a bunch
of bugs with a lot of integrations.
-- :doc:`Displays! `
-- NFC/RFID Readers (:doc:`PN532 ` and :doc:`RDM6300 `)
-- New :doc:`ESP32 BLE integrations ` like :doc:`Xiaomi MiFlora `
+- :doc:`Displays! `
+- NFC/RFID Readers (:doc:`PN532 ` and :doc:`RDM6300 `)
+- New :doc:`ESP32 BLE integrations ` like :doc:`Xiaomi MiFlora `
- Core Changes like the addition of the :ref:`SPI bus ` and :ref:`UART bus `
- Lots of new ::ref:`light effects ` and support for cold-white/warm-white lights.
- A LOGO FOR THIS PROJECT!!! Thanks a lot to `@messimore `__ for
@@ -146,7 +146,7 @@ Other notable changes
Breaking Changes
****************
-- The :doc:`core configuration ` has been reworked a bit to a)
+- The :doc:`core configuration ` has been reworked a bit to a)
make using different arduino framework version easier and b) make editing your local esphomelib
copy easier.
- Light Effects now need to be manually declared in the config and will no longer show up automatically. Please see :ref:`light-effects`
diff --git a/esphomeyaml/changelog/v1.9.0.rst b/changelog/v1.9.0.rst
similarity index 93%
rename from esphomeyaml/changelog/v1.9.0.rst
rename to changelog/v1.9.0.rst
index e3b0c5f15..0fecadd55 100644
--- a/esphomeyaml/changelog/v1.9.0.rst
+++ b/changelog/v1.9.0.rst
@@ -33,7 +33,7 @@ The features I'm particularly excited about are:
* :ref:`esphomeflasher ` - Experiencing problems flashing esphomelib firmwares using esphomeyaml?
No problem, esphomeflasher is a tool designed to make that super easy. Just let esphomeyaml generate the binary and flash
from your PC.
-* :doc:`Over-the-Air Updates ` have been completely re-written to make them a lot more
+* :doc:`Over-the-Air Updates ` have been completely re-written to make them a lot more
stable.
* A lot of work has been put in to provide more context in YAML validation errors. Sometimes, esphomeyaml will even
try to give you suggestions for how to fix a validation error!
@@ -47,26 +47,26 @@ Thank you very much to everybody who contributed to this release with new code o
New Components
--------------
-- There's a new base component called :doc:`text sensors ` for using
- text-based inputs, not just numbers like the generic :doc:`sensors ` did
+- There's a new base component called :doc:`text sensors ` for using
+ text-based inputs, not just numbers like the generic :doc:`sensors ` did
(:yamlpr:`166`, :docspr:`52`)
- The new MQTT Subscribe Sensors allow you to get external data into esphomelib's ecosystem via MQTT
(:libpr:`193`, :yamlpr:`175`, :docspr:`50`)
-- Added :doc:`CSE7766 Power Sensor ` to support power measurements
+- Added :doc:`CSE7766 Power Sensor ` to support power measurements
on the Sonoff Pow R2 (:libpr:`277`, :yamlpr:`190`, :docspr:`59`)
- Thanks to :ghuser:`puuu`, the LED driver in the Sonoff B1 (MY9231) is now supported!
(:libpr:`266`, :yamlpr:`227`, :docspr:`80`)
-- Added the :doc:`PMSX003 Particulate Matter Sensor `
+- Added the :doc:`PMSX003 Particulate Matter Sensor `
(:libpr:`229`, :yamlpr:`192`, :docspr:`58`)
-- Added support for :doc:`A4988 Stepper Motors ` (:libpr:`239`,
+- Added support for :doc:`A4988 Stepper Motors ` (:libpr:`239`,
:yamlpr:`206`, :docspr:`68`)
-- Added :doc:`total daily energy sensor ` to accumulate the total
+- Added :doc:`total daily energy sensor ` to accumulate the total
power usage over one day (:libpr:`256`, :yamlpr:`220`)
New Features
@@ -83,7 +83,7 @@ New Features
or the MQTT broker is unreachable, see :ref:`automation-networkless`
(:libpr:`258`, :libpr:`267`, :yamlpr:`229`)
-- The :doc:`Over-the-Air Update ` process was quite buggy sometimes and the Arduino-library
+- The :doc:`Over-the-Air Update ` process was quite buggy sometimes and the Arduino-library
esphomelib used was doing some weird stuff. The OTA-process has now been completely re-written to be more stable
(:libpr:`204`, :yamlpr:`177`).
@@ -114,7 +114,7 @@ New Features
- Added :ref:`binary_sensor-on_multi_click` trigger to distinguish between double, long, and single clicks.
(:libpr:`262`, :docspr:`77`, :yamlpr:`226`)
-- Added an :ref:`pn532-on_tag` to :doc:`PN532 NFC Readers ` so that automations
+- Added an :ref:`pn532-on_tag` to :doc:`PN532 NFC Readers ` so that automations
can directly use the NFC tag ID
(:libpr:`194`, :yamlpr:`189`, :docspr:`57`)
@@ -127,7 +127,7 @@ New Features
- You now have to option to have a different log level for log messages sent over MQTT (:ref:`docs `,
:yamlpr:`167`, :docspr:`51`)
-- Added a color correction option to :doc:`FastLED addressable lights `
+- Added a color correction option to :doc:`FastLED addressable lights `
(:libpr:`234`, :yamlpr:`200`, :docspr:`64`)
- Added a ``clean`` command to esphomeyaml to fix some occasional build errors
@@ -136,11 +136,11 @@ New Features
- Added a ``send_first_at`` option to sliding window moving average sensor filters
(:libpr:`240`, :yamlpr:`207`, :docspr:`69`)
-- You can now upload OTA firmware files with the :doc:`web server component `
+- You can now upload OTA firmware files with the :doc:`web server component `
- Added the ability to define global variables in esphomeyaml: :ref:`config-globals`.
-- Added a ``frequency`` option to the :doc:`/esphomeyaml/components/output/esp8266_pwm`.
+- Added a ``frequency`` option to the :doc:`/components/output/esp8266_pwm`.
Breaking Changes
----------------
diff --git a/esphomeyaml/components/ads1115.rst b/components/ads1115.rst
similarity index 81%
rename from esphomeyaml/components/ads1115.rst
rename to components/ads1115.rst
index f825f28d8..6a75bd8e0 100644
--- a/esphomeyaml/components/ads1115.rst
+++ b/components/ads1115.rst
@@ -7,15 +7,14 @@ ADS1115 Hub
:keywords: ADS1115
The ``ads1115`` domain creates a global hub so that you can later create
-individual sensors using the :doc:`ADS1115 Sensor Platform `.
+individual sensors using the :doc:`ADS1115 Sensor Platform `.
To use this hub, first setup the :ref:`I²C Bus ` and connect the sensor to the pins specified there.
.. figure:: sensor/images/ads1115-full.jpg
:align: center
- :target: `Adafruit`_
:width: 50.0%
- ADS1115 16-Bit ADC. Image by `Adafruit`_.
+ ADS1115 16-Bit ADC.
.. _Adafruit: https://www.adafruit.com/product/1085
@@ -51,7 +50,7 @@ See Also
- :doc:`sensor/ads1115`
- `i2cdevlib `__ by `Jeff Rowberg `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/ads1115_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/api.rst b/components/api.rst
similarity index 97%
rename from esphomeyaml/components/api.rst
rename to components/api.rst
index 2565e19ab..98ecc0216 100644
--- a/esphomeyaml/components/api.rst
+++ b/components/api.rst
@@ -152,7 +152,7 @@ Configuration options:
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`api/api_server.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/custom.rst b/components/binary_sensor/custom.rst
similarity index 90%
rename from esphomeyaml/components/binary_sensor/custom.rst
rename to components/binary_sensor/custom.rst
index f4ed3308a..4a1df12d7 100644
--- a/esphomeyaml/components/binary_sensor/custom.rst
+++ b/components/binary_sensor/custom.rst
@@ -4,7 +4,7 @@ Custom Binary Sensor
This integration can be used to create custom binary sensors in esphomelib
using the C++ (Arduino) API.
-Please first read :doc:`/esphomeyaml/components/sensor/custom` guide,
+Please first read :doc:`/components/sensor/custom` guide,
the same principles apply here and binary sensors are very similar
to sensors internally.
@@ -69,6 +69,6 @@ See :cpp:class:`binary_sensor::BinarySensor`
See Also
--------
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/esp32_ble_tracker.rst b/components/binary_sensor/esp32_ble_tracker.rst
similarity index 89%
rename from esphomeyaml/components/binary_sensor/esp32_ble_tracker.rst
rename to components/binary_sensor/esp32_ble_tracker.rst
index 30f5ef72b..7f34504bb 100644
--- a/esphomeyaml/components/binary_sensor/esp32_ble_tracker.rst
+++ b/components/binary_sensor/esp32_ble_tracker.rst
@@ -65,10 +65,10 @@ tracking, since their MAC-address periodically changes.
See Also
--------
-- :doc:`/esphomeyaml/components/esp32_ble_tracker`
-- :doc:`/esphomeyaml/components/binary_sensor/index`
-- :doc:`API Reference `
+- :doc:`/components/esp32_ble_tracker`
+- :doc:`/components/binary_sensor/index`
+- :apiref:`esp32_ble_tracker.h`
- `ESP32 BLE for Arduino `__ by `Neil Kolban `__.
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/esp32_touch.rst b/components/binary_sensor/esp32_touch.rst
similarity index 88%
rename from esphomeyaml/components/binary_sensor/esp32_touch.rst
rename to components/binary_sensor/esp32_touch.rst
index d39d1dff7..31545d2cd 100644
--- a/esphomeyaml/components/binary_sensor/esp32_touch.rst
+++ b/components/binary_sensor/esp32_touch.rst
@@ -8,7 +8,7 @@ ESP32 Touch Pad Binary Sensor
The ``esp32_touch`` binary sensor platform lets you use the touch peripheral of the
ESP32 to detect if a certain pin is being "touched".
-First, you need to setup the :doc:`global touch hub `. Then
+First, you need to setup the :doc:`global touch hub `. Then
you can add individual touch pads as binary sensors. When a touch is detected on these pins, the binary
sensor will report an ``ON`` state. And, of course, if no touch is detected, the binary sensor will report
an ``OFF`` state.
@@ -67,7 +67,7 @@ raw values mean that it is more likely that a touch is happening. For example, v
1000 to 1600 usually mean the pad is not being touched, and values in the range of 600 and less
mean the pad is probably being touched.
-To find suitable threshold values, first configure the :doc:`ESP32 touch hub `
+To find suitable threshold values, first configure the :doc:`ESP32 touch hub `
to output measured values using the ``setup_mode:`` configuration option. Next, add some binary sensors
for the touch pads you want to observe. Also put some threshold in the configuration as seen below
to make the validator happy, we are going to find good thresholds in a moment anyway.
@@ -99,10 +99,10 @@ down.
See Also
--------
-- :doc:`/esphomeyaml/components/esp32_touch`
-- :doc:`/esphomeyaml/components/binary_sensor/index`
-- :doc:`API Reference `
+- :doc:`/components/esp32_touch`
+- :doc:`/components/binary_sensor/index`
+- :apiref:`binary_sensor/esp32_touch_binary_sensor.h`
- `esp-idf Touch Sensor API `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/gpio.rst b/components/binary_sensor/gpio.rst
similarity index 91%
rename from esphomeyaml/components/binary_sensor/gpio.rst
rename to components/binary_sensor/gpio.rst
index 577dd233d..aec908dc9 100644
--- a/esphomeyaml/components/binary_sensor/gpio.rst
+++ b/components/binary_sensor/gpio.rst
@@ -93,9 +93,9 @@ will wait 10ms before publishing an OFF value:
See Also
--------
-- :doc:`/esphomeyaml/components/binary_sensor/index`
+- :doc:`/components/binary_sensor/index`
- :ref:`config-pin_schema`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/gpio_binary_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/images/esp32_ble-ui.png b/components/binary_sensor/images/esp32_ble-ui.png
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/esp32_ble-ui.png
rename to components/binary_sensor/images/esp32_ble-ui.png
diff --git a/esphomeyaml/components/binary_sensor/images/esp32_touch-finding_thresholds.png b/components/binary_sensor/images/esp32_touch-finding_thresholds.png
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/esp32_touch-finding_thresholds.png
rename to components/binary_sensor/images/esp32_touch-finding_thresholds.png
diff --git a/esphomeyaml/components/binary_sensor/images/esp32_touch-ui.png b/components/binary_sensor/images/esp32_touch-ui.png
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/esp32_touch-ui.png
rename to components/binary_sensor/images/esp32_touch-ui.png
diff --git a/esphomeyaml/components/binary_sensor/images/gpio-ui.png b/components/binary_sensor/images/gpio-ui.png
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/gpio-ui.png
rename to components/binary_sensor/images/gpio-ui.png
diff --git a/esphomeyaml/components/binary_sensor/images/pn532-full.jpg b/components/binary_sensor/images/pn532-full.jpg
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/pn532-full.jpg
rename to components/binary_sensor/images/pn532-full.jpg
diff --git a/esphomeyaml/components/binary_sensor/images/pn532-spi.jpg b/components/binary_sensor/images/pn532-spi.jpg
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/pn532-spi.jpg
rename to components/binary_sensor/images/pn532-spi.jpg
diff --git a/esphomeyaml/components/binary_sensor/images/rdm6300-full.jpg b/components/binary_sensor/images/rdm6300-full.jpg
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/rdm6300-full.jpg
rename to components/binary_sensor/images/rdm6300-full.jpg
diff --git a/esphomeyaml/components/binary_sensor/images/rdm6300-ui.png b/components/binary_sensor/images/rdm6300-ui.png
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/rdm6300-ui.png
rename to components/binary_sensor/images/rdm6300-ui.png
diff --git a/esphomeyaml/components/binary_sensor/images/status-ui.png b/components/binary_sensor/images/status-ui.png
similarity index 100%
rename from esphomeyaml/components/binary_sensor/images/status-ui.png
rename to components/binary_sensor/images/status-ui.png
diff --git a/esphomeyaml/components/binary_sensor/index.rst b/components/binary_sensor/index.rst
similarity index 97%
rename from esphomeyaml/components/binary_sensor/index.rst
rename to components/binary_sensor/index.rst
index 43afba1d0..7bd320c22 100644
--- a/esphomeyaml/components/binary_sensor/index.rst
+++ b/components/binary_sensor/index.rst
@@ -302,7 +302,7 @@ lambda calls
************
From :ref:`lambdas `, you can call several methods on all binary sensors to do some
-advanced stuff (see the full :doc:`API Reference ` for more info).
+advanced stuff.
- ``publish_state()``: Manually cause the binary sensor to publish and store a state from anywhere
in the program.
@@ -330,8 +330,8 @@ advanced stuff (see the full :doc:`API Reference ` for
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/binary_sensor.h`
+- :ghedit:`Edit`
.. toctree::
:maxdepth: 1
diff --git a/esphomeyaml/components/binary_sensor/nextion.rst b/components/binary_sensor/nextion.rst
similarity index 80%
rename from esphomeyaml/components/binary_sensor/nextion.rst
rename to components/binary_sensor/nextion.rst
index e8195be52..fdf43c111 100644
--- a/esphomeyaml/components/binary_sensor/nextion.rst
+++ b/components/binary_sensor/nextion.rst
@@ -9,7 +9,7 @@ The ``nextion`` binary sensor platform lets you track when a component on the di
touched or not. The binary sensor will turn on when the component with the given component and page id is
pressed on, and will turn off as soon as the finger is released.
-See :doc:`/esphomeyaml/components/display/nextion` for setting up the display
+See :doc:`/components/display/nextion` for setting up the display
.. code-block:: yaml
@@ -36,9 +36,9 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/display/nextion`
+- :doc:`/components/display/nextion`
- :doc:`index`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`display/nextion.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/pn532.rst b/components/binary_sensor/pn532.rst
similarity index 83%
rename from esphomeyaml/components/binary_sensor/pn532.rst
rename to components/binary_sensor/pn532.rst
index e76735f97..e0e8c1ec8 100644
--- a/esphomeyaml/components/binary_sensor/pn532.rst
+++ b/components/binary_sensor/pn532.rst
@@ -12,7 +12,7 @@ unique id (``uid``) is currently being detected by the PN532 or not.
:align: center
:width: 60.0%
-See :doc:`/esphomeyaml/components/pn532` for instructions for setting up the connection to the PN532.
+See :doc:`/components/pn532` for instructions for setting up the connection to the PN532.
.. code-block:: yaml
@@ -60,9 +60,9 @@ each tag.
See Also
--------
-- :doc:`/esphomeyaml/components/pn532`
+- :doc:`/components/pn532`
- :doc:`index`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/pn532_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/rdm6300.rst b/components/binary_sensor/rdm6300.rst
similarity index 80%
rename from esphomeyaml/components/binary_sensor/rdm6300.rst
rename to components/binary_sensor/rdm6300.rst
index 4349cec09..649a8c3ca 100644
--- a/esphomeyaml/components/binary_sensor/rdm6300.rst
+++ b/components/binary_sensor/rdm6300.rst
@@ -12,7 +12,7 @@ unique id (``uid``) is currently being detected by the RDM6300 or not.
:align: center
:width: 60.0%
-See :doc:`/esphomeyaml/components/rdm6300` for instructions for setting up the connection to the RDM6300.
+See :doc:`/components/rdm6300` for instructions for setting up the connection to the RDM6300.
.. code-block:: yaml
@@ -60,9 +60,9 @@ each tag.
See Also
--------
-- :doc:`/esphomeyaml/components/rdm6300`
-- :doc:`/esphomeyaml/components/binary_sensor/index`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/rdm6300`
+- :doc:`/components/binary_sensor/index`
+- :apiref:`binary_sensor/rdm6300_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/remote_receiver.rst b/components/binary_sensor/remote_receiver.rst
similarity index 85%
rename from esphomeyaml/components/binary_sensor/remote_receiver.rst
rename to components/binary_sensor/remote_receiver.rst
index 1c30c4eba..f3c8ecb25 100644
--- a/esphomeyaml/components/binary_sensor/remote_receiver.rst
+++ b/components/binary_sensor/remote_receiver.rst
@@ -30,7 +30,7 @@ Configuration variables:
- **name** (**Required**, string): The name for the binary sensor.
- The remote code, see :ref:`remote_transmitter-codes`. Only one
of them can be specified per binary sensor.
-- **remote_receiver_id** (*Optional*, :ref:`config-id`): The id of the :doc:`/esphomeyaml/components/remote_receiver`.
+- **remote_receiver_id** (*Optional*, :ref:`config-id`): The id of the :doc:`/components/remote_receiver`.
Defaults to the first hub in your configuration.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
- All other options from :ref:`Binary Sensor `
@@ -62,11 +62,11 @@ See Also
--------
- :doc:`index`
-- :doc:`/esphomeyaml/components/remote_receiver`
-- :doc:`/esphomeyaml/components/remote_transmitter`
+- :doc:`/components/remote_receiver`
+- :doc:`/components/remote_transmitter`
- `RCSwitch `__ by `Suat Özgür `__
- `IRRemoteESP8266 `__ by `Mark Szabo-Simon `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`remote/remote_receiver.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/status.rst b/components/binary_sensor/status.rst
similarity index 77%
rename from esphomeyaml/components/binary_sensor/status.rst
rename to components/binary_sensor/status.rst
index 25f7ebabf..29c477cb6 100644
--- a/esphomeyaml/components/binary_sensor/status.rst
+++ b/components/binary_sensor/status.rst
@@ -31,9 +31,9 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/binary_sensor/index`
-- :doc:`/esphomeyaml/components/mqtt`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/binary_sensor/index`
+- :doc:`/components/mqtt`
+- :apiref:`binary_sensor/status_binary_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/binary_sensor/template.rst b/components/binary_sensor/template.rst
similarity index 86%
rename from esphomeyaml/components/binary_sensor/template.rst
rename to components/binary_sensor/template.rst
index 69797a77b..29aff4764 100644
--- a/esphomeyaml/components/binary_sensor/template.rst
+++ b/components/binary_sensor/template.rst
@@ -53,10 +53,10 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/binary_sensor/index`
-- :doc:`/esphomeyaml/components/sensor/template`
+- :doc:`/components/binary_sensor/index`
+- :doc:`/components/sensor/template`
- :ref:`automation`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/template_binary_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/cover/images/cover-ui.png b/components/cover/images/cover-ui.png
similarity index 100%
rename from esphomeyaml/components/cover/images/cover-ui.png
rename to components/cover/images/cover-ui.png
diff --git a/esphomeyaml/components/cover/index.rst b/components/cover/index.rst
similarity index 89%
rename from esphomeyaml/components/cover/index.rst
rename to components/cover/index.rst
index 0fb9f10dd..16dc8b7ba 100644
--- a/esphomeyaml/components/cover/index.rst
+++ b/components/cover/index.rst
@@ -77,7 +77,7 @@ lambda calls
------------
From :ref:`lambdas `, you can call several methods on all covers to do some
-advanced stuff (see the full :doc:`API Reference ` for more info).
+advanced stuff.
- ``publish_state()``: Manually cause the cover to publish a new state and store it internally.
If it's different from the last internal state, it's additionally published to the frontend.
@@ -101,8 +101,8 @@ advanced stuff (see the full :doc:`API Reference ` for more in
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`cover/cover.h`
+- :ghedit:`Edit`
.. toctree::
:maxdepth: 1
diff --git a/esphomeyaml/components/cover/template.rst b/components/cover/template.rst
similarity index 90%
rename from esphomeyaml/components/cover/template.rst
rename to components/cover/template.rst
index 218f8d5df..05f65dc76 100644
--- a/esphomeyaml/components/cover/template.rst
+++ b/components/cover/template.rst
@@ -64,10 +64,10 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/cover/index`
+- :doc:`/components/cover/index`
- :ref:`automation`
-- :doc:`/esphomeyaml/cookbook/garage-door`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/cookbook/garage-door`
+- :apiref:`cover/template_cover.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/dallas.rst b/components/dallas.rst
similarity index 91%
rename from esphomeyaml/components/dallas.rst
rename to components/dallas.rst
index 75c51c8ab..77ab14878 100644
--- a/esphomeyaml/components/dallas.rst
+++ b/components/dallas.rst
@@ -42,7 +42,7 @@ See Also
- :doc:`sensor/dallas`
- `Arduino DallasTemperature library `__ by `Miles Burton `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/dallas_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/debug.rst b/components/debug.rst
similarity index 80%
rename from esphomeyaml/components/debug.rst
rename to components/debug.rst
index 7f62b110b..f42c41bfd 100644
--- a/esphomeyaml/components/debug.rst
+++ b/components/debug.rst
@@ -28,7 +28,7 @@ See Also
--------
- :doc:`logger`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`debug_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/deep_sleep.rst b/components/deep_sleep.rst
similarity index 97%
rename from esphomeyaml/components/deep_sleep.rst
rename to components/deep_sleep.rst
index 0f218ef3c..eafea83c5 100644
--- a/esphomeyaml/components/deep_sleep.rst
+++ b/components/deep_sleep.rst
@@ -143,7 +143,7 @@ See Also
- :doc:`switch/shutdown`
- :ref:`automation`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`deep_sleep_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/images/lcd-full.jpg b/components/display/images/lcd-full.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/lcd-full.jpg
rename to components/display/images/lcd-full.jpg
diff --git a/esphomeyaml/components/display/images/lcd-hello_world.jpg b/components/display/images/lcd-hello_world.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/lcd-hello_world.jpg
rename to components/display/images/lcd-hello_world.jpg
diff --git a/esphomeyaml/components/display/images/lcd-pcf8574.jpg b/components/display/images/lcd-pcf8574.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/lcd-pcf8574.jpg
rename to components/display/images/lcd-pcf8574.jpg
diff --git a/esphomeyaml/components/display/images/max7219-full.jpg b/components/display/images/max7219-full.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/max7219-full.jpg
rename to components/display/images/max7219-full.jpg
diff --git a/components/display/images/max7219/seg00.svg b/components/display/images/max7219/seg00.svg
new file mode 100644
index 000000000..ec4dfb42b
--- /dev/null
+++ b/components/display/images/max7219/seg00.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg01.svg b/components/display/images/max7219/seg01.svg
new file mode 100644
index 000000000..b594a7b26
--- /dev/null
+++ b/components/display/images/max7219/seg01.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg02.svg b/components/display/images/max7219/seg02.svg
new file mode 100644
index 000000000..5f16da779
--- /dev/null
+++ b/components/display/images/max7219/seg02.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg05.svg b/components/display/images/max7219/seg05.svg
new file mode 100644
index 000000000..5358795c1
--- /dev/null
+++ b/components/display/images/max7219/seg05.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg06.svg b/components/display/images/max7219/seg06.svg
new file mode 100644
index 000000000..04fad6291
--- /dev/null
+++ b/components/display/images/max7219/seg06.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg07.svg b/components/display/images/max7219/seg07.svg
new file mode 100644
index 000000000..43b248988
--- /dev/null
+++ b/components/display/images/max7219/seg07.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg08.svg b/components/display/images/max7219/seg08.svg
new file mode 100644
index 000000000..4e6cb7412
--- /dev/null
+++ b/components/display/images/max7219/seg08.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg0D.svg b/components/display/images/max7219/seg0D.svg
new file mode 100644
index 000000000..53124d628
--- /dev/null
+++ b/components/display/images/max7219/seg0D.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg0E.svg b/components/display/images/max7219/seg0E.svg
new file mode 100644
index 000000000..38dbbe9ba
--- /dev/null
+++ b/components/display/images/max7219/seg0E.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg10.svg b/components/display/images/max7219/seg10.svg
new file mode 100644
index 000000000..171ac04af
--- /dev/null
+++ b/components/display/images/max7219/seg10.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg15.svg b/components/display/images/max7219/seg15.svg
new file mode 100644
index 000000000..af592d895
--- /dev/null
+++ b/components/display/images/max7219/seg15.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg17.svg b/components/display/images/max7219/seg17.svg
new file mode 100644
index 000000000..962df6e5a
--- /dev/null
+++ b/components/display/images/max7219/seg17.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg1C.svg b/components/display/images/max7219/seg1C.svg
new file mode 100644
index 000000000..6f8554b1d
--- /dev/null
+++ b/components/display/images/max7219/seg1C.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg1D.svg b/components/display/images/max7219/seg1D.svg
new file mode 100644
index 000000000..cbab20e02
--- /dev/null
+++ b/components/display/images/max7219/seg1D.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg1F.svg b/components/display/images/max7219/seg1F.svg
new file mode 100644
index 000000000..876af20c1
--- /dev/null
+++ b/components/display/images/max7219/seg1F.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg20.svg b/components/display/images/max7219/seg20.svg
new file mode 100644
index 000000000..ac1d0021c
--- /dev/null
+++ b/components/display/images/max7219/seg20.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg22.svg b/components/display/images/max7219/seg22.svg
new file mode 100644
index 000000000..393d014ae
--- /dev/null
+++ b/components/display/images/max7219/seg22.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg27.svg b/components/display/images/max7219/seg27.svg
new file mode 100644
index 000000000..079be8f67
--- /dev/null
+++ b/components/display/images/max7219/seg27.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg30.svg b/components/display/images/max7219/seg30.svg
new file mode 100644
index 000000000..ae3e3e557
--- /dev/null
+++ b/components/display/images/max7219/seg30.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg31.svg b/components/display/images/max7219/seg31.svg
new file mode 100644
index 000000000..df62c1b65
--- /dev/null
+++ b/components/display/images/max7219/seg31.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg33.svg b/components/display/images/max7219/seg33.svg
new file mode 100644
index 000000000..fabe48b50
--- /dev/null
+++ b/components/display/images/max7219/seg33.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg37.svg b/components/display/images/max7219/seg37.svg
new file mode 100644
index 000000000..7025800fa
--- /dev/null
+++ b/components/display/images/max7219/seg37.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg3C.svg b/components/display/images/max7219/seg3C.svg
new file mode 100644
index 000000000..dd346a8ab
--- /dev/null
+++ b/components/display/images/max7219/seg3C.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg3D.svg b/components/display/images/max7219/seg3D.svg
new file mode 100644
index 000000000..4714e681a
--- /dev/null
+++ b/components/display/images/max7219/seg3D.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg3E.svg b/components/display/images/max7219/seg3E.svg
new file mode 100644
index 000000000..a916e9c19
--- /dev/null
+++ b/components/display/images/max7219/seg3E.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg3F.svg b/components/display/images/max7219/seg3F.svg
new file mode 100644
index 000000000..a3a66d6db
--- /dev/null
+++ b/components/display/images/max7219/seg3F.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg40.svg b/components/display/images/max7219/seg40.svg
new file mode 100644
index 000000000..3d6a229ec
--- /dev/null
+++ b/components/display/images/max7219/seg40.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg47.svg b/components/display/images/max7219/seg47.svg
new file mode 100644
index 000000000..dcecab389
--- /dev/null
+++ b/components/display/images/max7219/seg47.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg48.svg b/components/display/images/max7219/seg48.svg
new file mode 100644
index 000000000..c78cdb173
--- /dev/null
+++ b/components/display/images/max7219/seg48.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg49.svg b/components/display/images/max7219/seg49.svg
new file mode 100644
index 000000000..6718d9b7c
--- /dev/null
+++ b/components/display/images/max7219/seg49.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg4E.svg b/components/display/images/max7219/seg4E.svg
new file mode 100644
index 000000000..3aeda6440
--- /dev/null
+++ b/components/display/images/max7219/seg4E.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg4F.svg b/components/display/images/max7219/seg4F.svg
new file mode 100644
index 000000000..83e2d811e
--- /dev/null
+++ b/components/display/images/max7219/seg4F.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg58.svg b/components/display/images/max7219/seg58.svg
new file mode 100644
index 000000000..7d5d6a5f5
--- /dev/null
+++ b/components/display/images/max7219/seg58.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg5B.svg b/components/display/images/max7219/seg5B.svg
new file mode 100644
index 000000000..608d7df68
--- /dev/null
+++ b/components/display/images/max7219/seg5B.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg5E.svg b/components/display/images/max7219/seg5E.svg
new file mode 100644
index 000000000..f23437008
--- /dev/null
+++ b/components/display/images/max7219/seg5E.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg5F.svg b/components/display/images/max7219/seg5F.svg
new file mode 100644
index 000000000..1904f652d
--- /dev/null
+++ b/components/display/images/max7219/seg5F.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg65.svg b/components/display/images/max7219/seg65.svg
new file mode 100644
index 000000000..80971fe31
--- /dev/null
+++ b/components/display/images/max7219/seg65.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg67.svg b/components/display/images/max7219/seg67.svg
new file mode 100644
index 000000000..9cef00bd4
--- /dev/null
+++ b/components/display/images/max7219/seg67.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg6D.svg b/components/display/images/max7219/seg6D.svg
new file mode 100644
index 000000000..9e6360bb6
--- /dev/null
+++ b/components/display/images/max7219/seg6D.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg6F.svg b/components/display/images/max7219/seg6F.svg
new file mode 100644
index 000000000..0637e9809
--- /dev/null
+++ b/components/display/images/max7219/seg6F.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg70.svg b/components/display/images/max7219/seg70.svg
new file mode 100644
index 000000000..029d566a8
--- /dev/null
+++ b/components/display/images/max7219/seg70.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg73.svg b/components/display/images/max7219/seg73.svg
new file mode 100644
index 000000000..43de6f8e9
--- /dev/null
+++ b/components/display/images/max7219/seg73.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg77.svg b/components/display/images/max7219/seg77.svg
new file mode 100644
index 000000000..abe950989
--- /dev/null
+++ b/components/display/images/max7219/seg77.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg78.svg b/components/display/images/max7219/seg78.svg
new file mode 100644
index 000000000..22f6f7dec
--- /dev/null
+++ b/components/display/images/max7219/seg78.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg79.svg b/components/display/images/max7219/seg79.svg
new file mode 100644
index 000000000..63ce57bcf
--- /dev/null
+++ b/components/display/images/max7219/seg79.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg7E.svg b/components/display/images/max7219/seg7E.svg
new file mode 100644
index 000000000..8258f48b0
--- /dev/null
+++ b/components/display/images/max7219/seg7E.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg7F.svg b/components/display/images/max7219/seg7F.svg
new file mode 100644
index 000000000..ae06eae61
--- /dev/null
+++ b/components/display/images/max7219/seg7F.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/seg80.svg b/components/display/images/max7219/seg80.svg
new file mode 100644
index 000000000..5622e5fb0
--- /dev/null
+++ b/components/display/images/max7219/seg80.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/segB0.svg b/components/display/images/max7219/segB0.svg
new file mode 100644
index 000000000..6ba680dd3
--- /dev/null
+++ b/components/display/images/max7219/segB0.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/components/display/images/max7219/segFE.svg b/components/display/images/max7219/segFE.svg
new file mode 100644
index 000000000..a346145d0
--- /dev/null
+++ b/components/display/images/max7219/segFE.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/esphomeyaml/components/display/images/nextion-full.jpg b/components/display/images/nextion-full.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/nextion-full.jpg
rename to components/display/images/nextion-full.jpg
diff --git a/esphomeyaml/components/display/images/ssd1306-full.jpg b/components/display/images/ssd1306-full.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/ssd1306-full.jpg
rename to components/display/images/ssd1306-full.jpg
diff --git a/esphomeyaml/components/display/images/waveshare_epaper-full.jpg b/components/display/images/waveshare_epaper-full.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/waveshare_epaper-full.jpg
rename to components/display/images/waveshare_epaper-full.jpg
diff --git a/esphomeyaml/components/display/images/waveshare_epaper-pins.jpg b/components/display/images/waveshare_epaper-pins.jpg
similarity index 100%
rename from esphomeyaml/components/display/images/waveshare_epaper-pins.jpg
rename to components/display/images/waveshare_epaper-pins.jpg
diff --git a/esphomeyaml/components/display/index.rst b/components/display/index.rst
similarity index 97%
rename from esphomeyaml/components/display/index.rst
rename to components/display/index.rst
index 9d98f6456..b53034671 100644
--- a/esphomeyaml/components/display/index.rst
+++ b/components/display/index.rst
@@ -121,7 +121,7 @@ Additionally, you have access to two helper methods which will fetch the width a
it.filled_circle(it.get_width() / 2, it.get_height() / 2);
-You can view the full API documentation for the rendering engine over at :ref:`display-buffer`.
+You can view the full API documentation for the rendering engine in the "API Reference" in the See Also section.
.. _display-static_text:
@@ -304,7 +304,7 @@ use any string you pass it, like ``"ON"`` or ``"OFF"``.
.. note::
For displaying external data on the display, for example data from your Home Assistant instance,
- you can use the :doc:`/esphomeyaml/components/text_sensor/mqtt_subscribe` (see the example there for more information).
+ you can use the :doc:`/components/text_sensor/mqtt_subscribe` (see the example there for more information).
.. _display-strftime:
@@ -351,8 +351,8 @@ And then later in code:
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`display/display.h`
+- :ghedit:`Edit`
.. toctree::
:maxdepth: 1
diff --git a/esphomeyaml/components/display/lcd_gpio.rst b/components/display/lcd_gpio.rst
similarity index 94%
rename from esphomeyaml/components/display/lcd_gpio.rst
rename to components/display/lcd_gpio.rst
index 2164e40f1..a1d8fe691 100644
--- a/esphomeyaml/components/display/lcd_gpio.rst
+++ b/components/display/lcd_gpio.rst
@@ -62,7 +62,7 @@ Rendering Lambda
The LCD displays has a similar API to the fully fledged ::ref:`display-engine`, but it's only a subset as LCD displays
don't have a concept of individual pixels. In the lambda you're passed a variable called ``it``
-as with all other displays. In this case however, ``it`` is an :ref:`api-display-lcd_display` instance.
+as with all other displays. In this case however, ``it`` is an ``LCDDisplay`` instance.
The most basic operation with LCD Displays is writing static text to the screen as in the configuration example
at the top of this page.
@@ -112,8 +112,8 @@ See Also
- :doc:`index`
- :doc:`lcd_pcf8574`
-- :doc:`API Reference `
+- :apiref:`display/lcd_display.h`
- `Arduino LiquidCrystal Library `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/lcd_pcf8574.rst b/components/display/lcd_pcf8574.rst
similarity index 90%
rename from esphomeyaml/components/display/lcd_pcf8574.rst
rename to components/display/lcd_pcf8574.rst
index c8e077349..adfca07e5 100644
--- a/esphomeyaml/components/display/lcd_pcf8574.rst
+++ b/components/display/lcd_pcf8574.rst
@@ -53,9 +53,9 @@ See Also
- :doc:`index`
- :doc:`lcd_gpio`
-- :doc:`/esphomeyaml/components/pcf8574`
-- :doc:`API Reference `
+- :doc:`/components/pcf8574`
+- :apiref:`display/lcd_display.h`
- `Arduino LiquidCrystal Library `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/max7219.rst b/components/display/max7219.rst
similarity index 97%
rename from esphomeyaml/components/display/max7219.rst
rename to components/display/max7219.rst
index 6e0282ab9..c4817c519 100644
--- a/esphomeyaml/components/display/max7219.rst
+++ b/components/display/max7219.rst
@@ -2,7 +2,7 @@ MAX7219 7-Segment Display
=========================
.. seo::
- :description: Instructions for setting up MAX7129 7-segment displays.
+ :description: Instructions for setting up MAX7219 7-segment displays.
:image: max7219.jpg
The ``max7219`` display platform allows you to use MAX7219 7-segment display drivers (`datasheet `__,
@@ -58,9 +58,9 @@ Configuration variables:
Rendering Lambda
----------------
-The MAX7219 has a similar API to the fully fledged ::ref:`display-engine`, but it's only a subset as the MAX7219
+The MAX7219 has a similar API to the fully fledged :ref:`display-engine`, but it's only a subset as the MAX7219
7-segment displays don't have a concept of individual pixels. In the lambda you're passed a variable called ``it``
-as with all other displays. In this case however, ``it`` is an :ref:`api-display-max7219` instance.
+as with all other displays. In this case however, ``it`` is an MAX7219 instance (see API Reference).
The most basic operation with the MAX7219 is wiring a simple number to the screen as in the configuration example
at the top of this page. But even though you're passing in a string (here ``"01234567"``), esphomelib converts it
@@ -332,8 +332,8 @@ See Also
--------
- :doc:`index`
-- :doc:`API Reference `
+- :apiref:`display/max7219.h`
- `MAX7219 Library `__ by `Nick Gammon `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/nextion.rst b/components/display/nextion.rst
similarity index 89%
rename from esphomeyaml/components/display/nextion.rst
rename to components/display/nextion.rst
index 164103382..3eed9fb30 100644
--- a/esphomeyaml/components/display/nextion.rst
+++ b/components/display/nextion.rst
@@ -76,21 +76,20 @@ you can call to populate data on the display:
it.set_component_text("textview", "Hello World!");
// set the text of a component with formatting
- it.set_component_text("textview", "The uptime is: %.1f", id(uptime_sensor).state);
+ it.set_component_text_printf("textview", "The uptime is: %.1f", id(uptime_sensor).state);
Please see :ref:`display-printf` for a quick introduction into the ``printf`` formatting rules and
-:ref:`display-strftime` for an introduction into the ``strftime`` time formatting. Additionally, check
-out :ref:`api-display-nextion` for the full API of the Nextion display object.
+:ref:`display-strftime` for an introduction into the ``strftime`` time formatting.
See Also
--------
- :doc:`index`
-- :doc:`API Reference `
+- :apiref:`display/nextion.h`
- `Simple Nextion Library `__ by `Bentley Born `__
- `Official Nextion Library `__ by `iTead `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/ssd1306_i2c.rst b/components/display/ssd1306_i2c.rst
similarity index 93%
rename from esphomeyaml/components/display/ssd1306_i2c.rst
rename to components/display/ssd1306_i2c.rst
index 8839fc212..fadf6e283 100644
--- a/esphomeyaml/components/display/ssd1306_i2c.rst
+++ b/components/display/ssd1306_i2c.rst
@@ -65,8 +65,8 @@ See Also
--------
- :doc:`index`
-- :doc:`API Reference `
+- :apiref:`display/ssd1306.h`
- `SSD1306 Library `__ by `Adafruit `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/ssd1306_spi.rst b/components/display/ssd1306_spi.rst
similarity index 94%
rename from esphomeyaml/components/display/ssd1306_spi.rst
rename to components/display/ssd1306_spi.rst
index 4d75172f1..4be9ae6d8 100644
--- a/esphomeyaml/components/display/ssd1306_spi.rst
+++ b/components/display/ssd1306_spi.rst
@@ -70,8 +70,8 @@ See Also
--------
- :doc:`index`
-- :doc:`API Reference `
+- :apiref:`display/ssd1306.h`
- `SSD1306 Library `__ by `Adafruit `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/display/waveshare_epaper.rst b/components/display/waveshare_epaper.rst
similarity index 96%
rename from esphomeyaml/components/display/waveshare_epaper.rst
rename to components/display/waveshare_epaper.rst
index e842b0b4e..c9c6372bf 100644
--- a/esphomeyaml/components/display/waveshare_epaper.rst
+++ b/components/display/waveshare_epaper.rst
@@ -101,8 +101,8 @@ See Also
--------
- :doc:`index`
-- :doc:`API Reference `
+- :apiref:`display/waveshare_epaper.h`
- `Arduino Waveshare E-Paper library `__ by `Yehui (@soonuse) `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/esp32_ble_beacon.rst b/components/esp32_ble_beacon.rst
similarity index 94%
rename from esphomeyaml/components/esp32_ble_beacon.rst
rename to components/esp32_ble_beacon.rst
index ecff8d626..e2df7fa01 100644
--- a/esphomeyaml/components/esp32_ble_beacon.rst
+++ b/components/esp32_ble_beacon.rst
@@ -75,8 +75,8 @@ See Also
--------
- :doc:`binary_sensor/esp32_ble_tracker`
-- :doc:`API Reference `
+- :apiref:`esp32_ble_beacon.h`
- `ESP32 BLE for Arduino `__ by `Neil Kolban `__.
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/esp32_ble_tracker.rst b/components/esp32_ble_tracker.rst
similarity index 92%
rename from esphomeyaml/components/esp32_ble_tracker.rst
rename to components/esp32_ble_tracker.rst
index 7bd0d14bd..4f66a646e 100644
--- a/esphomeyaml/components/esp32_ble_tracker.rst
+++ b/components/esp32_ble_tracker.rst
@@ -65,8 +65,8 @@ See Also
--------
- :doc:`binary_sensor/esp32_ble_tracker`
-- :doc:`API Reference `
+- :apiref:`esp32_ble_tracker.h`
- `ESP32 BLE for Arduino `__ by `Neil Kolban `__.
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/esp32_touch.rst b/components/esp32_touch.rst
similarity index 88%
rename from esphomeyaml/components/esp32_touch.rst
rename to components/esp32_touch.rst
index eeb89cba2..4864e01cd 100644
--- a/esphomeyaml/components/esp32_touch.rst
+++ b/components/esp32_touch.rst
@@ -6,7 +6,7 @@ ESP32 Touch Pad Hub
:image: touch.png
The ``esp32_touch`` component creates a global hub for detecting touches on
-the eight touch pads of the ESP32 as :doc:`binary senors `.
+the eight touch pads of the ESP32 as :doc:`binary senors `.
.. code-block:: yaml
@@ -25,7 +25,7 @@ Configuration variables:
- **setup_mode** (*Optional*, boolean): Whether debug messages with the touch pad value should
be displayed in the logs. Useful for finding out suitable thresholds for the binary sensors, but
- spam the logs. See :doc:`setting up touch pads `
+ spam the logs. See :doc:`setting up touch pads `
for more information. Defaults to false.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID for code generation.
@@ -55,7 +55,7 @@ See Also
--------
- :doc:`binary_sensor/esp32_touch`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/esp32_touch_binary_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/esphomeyaml.rst b/components/esphomeyaml.rst
similarity index 98%
rename from esphomeyaml/components/esphomeyaml.rst
rename to components/esphomeyaml.rst
index 07978309a..7b49e897f 100644
--- a/esphomeyaml/components/esphomeyaml.rst
+++ b/components/esphomeyaml.rst
@@ -264,6 +264,6 @@ You can view a full list of platformio options here: https://docs.platformio.org
See Also
--------
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/ethernet.rst b/components/ethernet.rst
similarity index 94%
rename from esphomeyaml/components/ethernet.rst
rename to components/ethernet.rst
index e94d21402..baec829a7 100644
--- a/esphomeyaml/components/ethernet.rst
+++ b/components/ethernet.rst
@@ -83,7 +83,7 @@ Configuration for wESP32 board
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`wifi_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/fan/binary.rst b/components/fan/binary.rst
similarity index 77%
rename from esphomeyaml/components/fan/binary.rst
rename to components/fan/binary.rst
index 1727728f2..f6852b06f 100644
--- a/esphomeyaml/components/fan/binary.rst
+++ b/components/fan/binary.rst
@@ -35,10 +35,10 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/output/gpio`
-- :doc:`/esphomeyaml/components/fan/index`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/output/gpio`
+- :doc:`/components/fan/index`
+- :apiref:`fan/fan_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/fan/images/fan-ui.png b/components/fan/images/fan-ui.png
similarity index 100%
rename from esphomeyaml/components/fan/images/fan-ui.png
rename to components/fan/images/fan-ui.png
diff --git a/esphomeyaml/components/fan/index.rst b/components/fan/index.rst
similarity index 93%
rename from esphomeyaml/components/fan/index.rst
rename to components/fan/index.rst
index e9b931253..80feeccf9 100644
--- a/esphomeyaml/components/fan/index.rst
+++ b/components/fan/index.rst
@@ -92,8 +92,8 @@ Configuration options:
Full Fan Index
--------------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`fan/fan_state.h`
+- :ghedit:`Edit`
.. toctree::
:maxdepth: 1
diff --git a/esphomeyaml/components/fan/speed.rst b/components/fan/speed.rst
similarity index 79%
rename from esphomeyaml/components/fan/speed.rst
rename to components/fan/speed.rst
index b31a7f23c..85d8ec865 100644
--- a/esphomeyaml/components/fan/speed.rst
+++ b/components/fan/speed.rst
@@ -44,12 +44,12 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/fan/index`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/pca9685`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/fan/index`
+- :doc:`/components/output/ledc`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/pca9685`
+- :apiref:`fan/fan_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/i2c.rst b/components/i2c.rst
similarity index 88%
rename from esphomeyaml/components/i2c.rst
rename to components/i2c.rst
index d04fe436f..2b4af6c0b 100644
--- a/esphomeyaml/components/i2c.rst
+++ b/components/i2c.rst
@@ -32,7 +32,7 @@ Configuration variables:
- **scan** (*Optional*, boolean): If esphomelib should do a search of the i2c address space on startup.
Note that this can slow down startup and is only recommended for when setting up new sensors. Defaults to
``False``.
-- **frequency** (*Optional*, float): Set the frequency the i²c bus should operate on. Defaults to “100kHz”.
+- **frequency** (*Optional*, float): Set the frequency the i²c bus should operate on.
.. note::
@@ -42,7 +42,7 @@ Configuration variables:
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`i2c_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/images/debug.png b/components/images/debug.png
similarity index 100%
rename from esphomeyaml/components/images/debug.png
rename to components/images/debug.png
diff --git a/esphomeyaml/components/images/esp32_ble_beacon-ibeacon.png b/components/images/esp32_ble_beacon-ibeacon.png
similarity index 100%
rename from esphomeyaml/components/images/esp32_ble_beacon-ibeacon.png
rename to components/images/esp32_ble_beacon-ibeacon.png
diff --git a/esphomeyaml/components/images/logger-manual_log_level.png b/components/images/logger-manual_log_level.png
similarity index 100%
rename from esphomeyaml/components/images/logger-manual_log_level.png
rename to components/images/logger-manual_log_level.png
diff --git a/esphomeyaml/components/images/mqtt-availability.png b/components/images/mqtt-availability.png
similarity index 100%
rename from esphomeyaml/components/images/mqtt-availability.png
rename to components/images/mqtt-availability.png
diff --git a/esphomeyaml/components/images/pcf8574-full.jpg b/components/images/pcf8574-full.jpg
similarity index 100%
rename from esphomeyaml/components/images/pcf8574-full.jpg
rename to components/images/pcf8574-full.jpg
diff --git a/esphomeyaml/components/images/power_supply-atx.jpg b/components/images/power_supply-atx.jpg
similarity index 100%
rename from esphomeyaml/components/images/power_supply-atx.jpg
rename to components/images/power_supply-atx.jpg
diff --git a/esphomeyaml/components/images/web_server.png b/components/images/web_server.png
similarity index 100%
rename from esphomeyaml/components/images/web_server.png
rename to components/images/web_server.png
diff --git a/esphomeyaml/components/index.rst b/components/index.rst
similarity index 100%
rename from esphomeyaml/components/index.rst
rename to components/index.rst
diff --git a/esphomeyaml/components/light/binary.rst b/components/light/binary.rst
similarity index 74%
rename from esphomeyaml/components/light/binary.rst
rename to components/light/binary.rst
index 57ade694e..4b0d7af51 100644
--- a/esphomeyaml/components/light/binary.rst
+++ b/components/light/binary.rst
@@ -34,11 +34,11 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/output/gpio`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/light/index`
+- :doc:`/components/output/gpio`
+- :doc:`/components/power_supply`
+- :apiref:`light/light_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/cwww.rst b/components/light/cwww.rst
similarity index 73%
rename from esphomeyaml/components/light/cwww.rst
rename to components/light/cwww.rst
index cfbdd6cd3..20f92c582 100644
--- a/esphomeyaml/components/light/cwww.rst
+++ b/components/light/cwww.rst
@@ -41,22 +41,22 @@ Configuration variables:
.. note::
The CWWW light platform only works with ``float`` :ref:`outputs ` that
- can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
- :doc:`ESP8266 PWM ` components and does **not** work with output
- platforms like the :doc:`/esphomeyaml/components/output/gpio`.
+ can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
+ :doc:`ESP8266 PWM ` components and does **not** work with output
+ platforms like the :doc:`/components/output/gpio`.
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/rgb`
-- :doc:`/esphomeyaml/components/light/rgbw`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/pca9685`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/light/index`
+- :doc:`/components/light/rgb`
+- :doc:`/components/light/rgbw`
+- :doc:`/components/power_supply`
+- :doc:`/components/output/ledc`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/pca9685`
+- :apiref:`light/light_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/fastled_clockless.rst b/components/light/fastled_clockless.rst
similarity index 88%
rename from esphomeyaml/components/light/fastled_clockless.rst
rename to components/light/fastled_clockless.rst
index f032e3644..8d0dfcd23 100644
--- a/esphomeyaml/components/light/fastled_clockless.rst
+++ b/components/light/fastled_clockless.rst
@@ -49,7 +49,7 @@ Configuration variables:
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
the transition if no transition parameter is provided by Home
Assistant. Defaults to ``1s``.
-- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/esphomeyaml/components/power_supply` to connect to
+- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/components/power_supply` to connect to
this light. When the light is turned on, the power supply will automatically be switched on too.
- **effects** (*Optional*, list): A list of :ref:`light effects ` to use for this light.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
@@ -88,11 +88,11 @@ Supported Chipsets
See Also
--------
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/fastled_spi`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
+- :doc:`/components/light/index`
+- :doc:`/components/light/fastled_spi`
+- :doc:`/components/power_supply`
+- :apiref:`light/fastled_light_output.h`
- `Arduino FastLED library `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/fastled_spi.rst b/components/light/fastled_spi.rst
similarity index 87%
rename from esphomeyaml/components/light/fastled_spi.rst
rename to components/light/fastled_spi.rst
index 8863044b8..20d13e593 100644
--- a/esphomeyaml/components/light/fastled_spi.rst
+++ b/components/light/fastled_spi.rst
@@ -49,7 +49,7 @@ Configuration variables:
the maximum brightness of the red, green and blue channel. Defaults to ``color_correct: [100%, 100%, 100%]``.
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
the transition if no transition parameter is provided by Home Assistant. Defaults to ``1s``.
-- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/esphomeyaml/components/power_supply` to connect to
+- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/components/power_supply` to connect to
this light. When the light is turned on, the power supply will automatically be switched on too.
- **effects** (*Optional*, list): A list of :ref:`light effects ` to use for this light.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
@@ -72,11 +72,11 @@ Supported Chipsets
See Also
--------
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/fastled_clockless`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
+- :doc:`/components/light/index`
+- :doc:`/components/light/fastled_clockless`
+- :doc:`/components/power_supply`
+- :apiref:`light/fast_led_light_output.h`
- `Arduino FastLED library `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/images/binary-ui.png b/components/light/images/binary-ui.png
similarity index 100%
rename from esphomeyaml/components/light/images/binary-ui.png
rename to components/light/images/binary-ui.png
diff --git a/esphomeyaml/components/light/images/fastled_clockless-ui.png b/components/light/images/fastled_clockless-ui.png
similarity index 100%
rename from esphomeyaml/components/light/images/fastled_clockless-ui.png
rename to components/light/images/fastled_clockless-ui.png
diff --git a/esphomeyaml/components/light/images/fastled_spi-ui.png b/components/light/images/fastled_spi-ui.png
similarity index 100%
rename from esphomeyaml/components/light/images/fastled_spi-ui.png
rename to components/light/images/fastled_spi-ui.png
diff --git a/esphomeyaml/components/light/images/kitchen-lights.png b/components/light/images/kitchen-lights.png
similarity index 100%
rename from esphomeyaml/components/light/images/kitchen-lights.png
rename to components/light/images/kitchen-lights.png
diff --git a/esphomeyaml/components/light/images/monochromatic-detail.jpg b/components/light/images/monochromatic-detail.jpg
similarity index 100%
rename from esphomeyaml/components/light/images/monochromatic-detail.jpg
rename to components/light/images/monochromatic-detail.jpg
diff --git a/esphomeyaml/components/light/images/monochromatic-strip.jpg b/components/light/images/monochromatic-strip.jpg
similarity index 100%
rename from esphomeyaml/components/light/images/monochromatic-strip.jpg
rename to components/light/images/monochromatic-strip.jpg
diff --git a/esphomeyaml/components/light/images/rgb-detail.jpg b/components/light/images/rgb-detail.jpg
similarity index 100%
rename from esphomeyaml/components/light/images/rgb-detail.jpg
rename to components/light/images/rgb-detail.jpg
diff --git a/esphomeyaml/components/light/images/rgb-strip.jpg b/components/light/images/rgb-strip.jpg
similarity index 100%
rename from esphomeyaml/components/light/images/rgb-strip.jpg
rename to components/light/images/rgb-strip.jpg
diff --git a/esphomeyaml/components/light/images/rgb-ui.png b/components/light/images/rgb-ui.png
similarity index 100%
rename from esphomeyaml/components/light/images/rgb-ui.png
rename to components/light/images/rgb-ui.png
diff --git a/esphomeyaml/components/light/index.rst b/components/light/index.rst
similarity index 99%
rename from esphomeyaml/components/light/index.rst
rename to components/light/index.rst
index 614a41d1e..5ffbeae18 100644
--- a/esphomeyaml/components/light/index.rst
+++ b/components/light/index.rst
@@ -510,9 +510,9 @@ Configuration variables:
See Also
--------
-- :doc:`API Reference `
+- :apiref:`light/light_state.h`
- `WS2812FX library `__ by `@kitesurfer1404 `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. toctree::
:maxdepth: 1
diff --git a/esphomeyaml/components/light/monochromatic.rst b/components/light/monochromatic.rst
similarity index 69%
rename from esphomeyaml/components/light/monochromatic.rst
rename to components/light/monochromatic.rst
index 1167452aa..2ae84c30b 100644
--- a/esphomeyaml/components/light/monochromatic.rst
+++ b/components/light/monochromatic.rst
@@ -44,9 +44,9 @@ Configuration variables:
The ``monochromatic`` light platform only works with ``float``
:ref:`outputs ` that can output any light intensity percentage like the
- :doc:`ESP32 LEDC ` or
- :doc:`ESP8266 PWM ` components and does **not** work with output
- platforms like the :doc:`/esphomeyaml/components/output/gpio`.
+ :doc:`ESP32 LEDC ` or
+ :doc:`ESP8266 PWM ` components and does **not** work with output
+ platforms like the :doc:`/components/output/gpio`.
See Also
--------
@@ -55,15 +55,15 @@ See Also
:align: center
:width: 75.0%
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/binary`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/pca9685`
-- :doc:`/esphomeyaml/components/output/my9231`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/light/index`
+- :doc:`/components/light/binary`
+- :doc:`/components/power_supply`
+- :doc:`/components/output/ledc`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/pca9685`
+- :doc:`/components/output/my9231`
+- :apiref:`light/light_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/neopixelbus.rst b/components/light/neopixelbus.rst
similarity index 89%
rename from esphomeyaml/components/light/neopixelbus.rst
rename to components/light/neopixelbus.rst
index 10d8933c5..615965375 100644
--- a/esphomeyaml/components/light/neopixelbus.rst
+++ b/components/light/neopixelbus.rst
@@ -39,7 +39,7 @@ Configuration variables:
- **default_transition_length** (*Optional*, :ref:`config-time`): The length of
the transition if no transition parameter is provided by Home
Assistant. Defaults to ``1s``.
-- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/esphomeyaml/components/power_supply` to connect to
+- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`/components/power_supply` to connect to
this light. When the light is turned on, the power supply will automatically be switched on too.
- **effects** (*Optional*, list): A list of :ref:`light effects ` to use for this light.
- All other options from :ref:`MQTT Component `.
@@ -87,11 +87,11 @@ If you have one line, only specify ``pin``, otherwise specify both ``clock_pin``
See Also
--------
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/fastled_clockless`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
+- :doc:`/components/light/index`
+- :doc:`/components/light/fastled_clockless`
+- :doc:`/components/power_supply`
+- :apiref:`light/neo_pixel_light_output.h`
- `NeoPixelBus library `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/rgb.rst b/components/light/rgb.rst
similarity index 71%
rename from esphomeyaml/components/light/rgb.rst
rename to components/light/rgb.rst
index 286c966e3..eccfadf4f 100644
--- a/esphomeyaml/components/light/rgb.rst
+++ b/components/light/rgb.rst
@@ -46,9 +46,9 @@ Configuration variables:
.. note::
The RGB light platform only works with ``float`` :ref:`outputs ` that
- can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
- :doc:`ESP8266 PWM ` components and does **not** work with output
- platforms like the :doc:`/esphomeyaml/components/output/gpio`.
+ can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
+ :doc:`ESP8266 PWM ` components and does **not** work with output
+ platforms like the :doc:`/components/output/gpio`.
See Also
--------
@@ -57,15 +57,15 @@ See Also
:align: center
:width: 75.0%
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/rgbw`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/pca9685`
-- :doc:`/esphomeyaml/components/output/my9231`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/light/index`
+- :doc:`/components/light/rgbw`
+- :doc:`/components/power_supply`
+- :doc:`/components/output/ledc`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/pca9685`
+- :doc:`/components/output/my9231`
+- :apiref:`light/light_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/rgbw.rst b/components/light/rgbw.rst
similarity index 70%
rename from esphomeyaml/components/light/rgbw.rst
rename to components/light/rgbw.rst
index 0fdefaec1..0a06e700d 100644
--- a/esphomeyaml/components/light/rgbw.rst
+++ b/components/light/rgbw.rst
@@ -37,22 +37,22 @@ Configuration variables:
.. note::
The RGBW light platform only works with ``float`` :ref:`outputs ` that
- can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
- :doc:`ESP8266 PWM ` components and does **not** work with output
- platforms like the :doc:`/esphomeyaml/components/output/gpio`.
+ can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
+ :doc:`ESP8266 PWM ` components and does **not** work with output
+ platforms like the :doc:`/components/output/gpio`.
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/rgb`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/pca9685`
-- :doc:`/esphomeyaml/components/output/my9231`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/light/index`
+- :doc:`/components/light/rgb`
+- :doc:`/components/power_supply`
+- :doc:`/components/output/ledc`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/pca9685`
+- :doc:`/components/output/my9231`
+- :apiref:`light/light_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/light/rgbww.rst b/components/light/rgbww.rst
similarity index 75%
rename from esphomeyaml/components/light/rgbww.rst
rename to components/light/rgbww.rst
index fc4e13d51..7fc31758c 100644
--- a/esphomeyaml/components/light/rgbww.rst
+++ b/components/light/rgbww.rst
@@ -47,23 +47,23 @@ Configuration variables:
.. note::
The RGBWW light platform only works with ``float`` :ref:`outputs ` that
- can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
- :doc:`ESP8266 PWM ` components and does **not** work with output
- platforms like the :doc:`/esphomeyaml/components/output/gpio`.
+ can output any light intensity percentage like the :doc:`ESP32 LEDC ` or
+ :doc:`ESP8266 PWM ` components and does **not** work with output
+ platforms like the :doc:`/components/output/gpio`.
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/light/index`
-- :doc:`/esphomeyaml/components/light/rgb`
-- :doc:`/esphomeyaml/components/light/rgbw`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/pca9685`
-- :doc:`/esphomeyaml/components/output/my9231`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/light/index`
+- :doc:`/components/light/rgb`
+- :doc:`/components/light/rgbw`
+- :doc:`/components/power_supply`
+- :doc:`/components/output/ledc`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/pca9685`
+- :doc:`/components/output/my9231`
+- :apiref:`light/light_state.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/logger.rst b/components/logger.rst
similarity index 96%
rename from esphomeyaml/components/logger.rst
rename to components/logger.rst
index 0408a046a..b883ac68e 100644
--- a/esphomeyaml/components/logger.rst
+++ b/components/logger.rst
@@ -135,7 +135,7 @@ Configuration options:
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`log_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/mqtt.rst b/components/mqtt.rst
similarity index 98%
rename from esphomeyaml/components/mqtt.rst
rename to components/mqtt.rst
index 3d90ce8c4..c2fed62b8 100644
--- a/esphomeyaml/components/mqtt.rst
+++ b/components/mqtt.rst
@@ -172,7 +172,7 @@ and birth message feature of MQTT to achieve availability reporting for
Home Assistant. If the node is not connected to MQTT, Home Assistant
will show all its entities as unavailable (a feature 😉).
-.. figure:: /esphomeyaml/components/images/mqtt-availability.png
+.. figure:: /components/images/mqtt-availability.png
:align: center
:width: 50.0%
@@ -501,7 +501,7 @@ Configuration options:
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`mqtt/mqtt_client_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/my9231.rst b/components/my9231.rst
similarity index 93%
rename from esphomeyaml/components/my9231.rst
rename to components/my9231.rst
index 3c107d4df..d916cf57c 100644
--- a/esphomeyaml/components/my9231.rst
+++ b/components/my9231.rst
@@ -20,7 +20,7 @@ popular driver chips used in smart light blubs:
To use the channels of this components, you first need to setup the
global ``my9231`` hub and give it an id, and then define the
-:doc:`individual output channels `.
+:doc:`individual output channels `.
.. note::
@@ -79,7 +79,7 @@ the Sonoff B1, open the plastic cover and connect/solder wires to the
PCB pads (3.3V, RX, TX, GND, GPIO0). If you connect GPIO0 to GND
during power up, the device enters flash mode. For more information
about flashing Sonoff devices, see:
-:doc:`/esphomeyaml/devices/sonoff_s20`. All LEDs are connected to a
+:doc:`/devices/sonoff_s20`. All LEDs are connected to a
chain of two MY9321 chips that are connected to GPIO12 and GPIO14. A
complete configuration for a Sonoff B1 looks like:
@@ -143,7 +143,7 @@ See Also
--------
- :doc:`output/my9231`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`output/my9231_output_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/ota.rst b/components/ota.rst
similarity index 94%
rename from esphomeyaml/components/ota.rst
rename to components/ota.rst
index c4d3ce8d8..9d8240b76 100644
--- a/esphomeyaml/components/ota.rst
+++ b/components/ota.rst
@@ -78,7 +78,7 @@ Since the password is used both for compiling and uploading the regular ``esphom
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`ota_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/output/custom.rst b/components/output/custom.rst
similarity index 86%
rename from esphomeyaml/components/output/custom.rst
rename to components/output/custom.rst
index 1eb5d1df8..f1fbd38cf 100644
--- a/esphomeyaml/components/output/custom.rst
+++ b/components/output/custom.rst
@@ -1,13 +1,13 @@
Custom Output
=============
-This integration can be used to create custom binary and float :doc:`outputs `
+This integration can be used to create custom binary and float :doc:`outputs `
in esphomelib using the C++ (Arduino) API.
-Please first read :doc:`/esphomeyaml/components/sensor/custom` guide, the same principles apply here.
+Please first read :doc:`/components/sensor/custom` guide, the same principles apply here.
The example below is an example of a custom float output; this custom output is essentially the
-same as the :doc:`ESP8266 software PWM output `.
+same as the :doc:`ESP8266 software PWM output `.
.. code-block:: cpp
@@ -89,6 +89,6 @@ See :cpp:class:`output::BinaryOutput` and :cpp:class`output::FloatOutput`.
See Also
--------
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/output/esp8266_pwm.rst b/components/output/esp8266_pwm.rst
similarity index 75%
rename from esphomeyaml/components/output/esp8266_pwm.rst
rename to components/output/esp8266_pwm.rst
index 7ae28bded..33dea630c 100644
--- a/esphomeyaml/components/output/esp8266_pwm.rst
+++ b/components/output/esp8266_pwm.rst
@@ -35,12 +35,12 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/light/monochromatic`
-- :doc:`/esphomeyaml/components/fan/speed`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/output/index`
+- :doc:`/components/output/ledc`
+- :doc:`/components/light/monochromatic`
+- :doc:`/components/fan/speed`
+- :doc:`/components/power_supply`
+- :apiref:`output/esp8266_pwm_output.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/output/gpio.rst b/components/output/gpio.rst
similarity index 65%
rename from esphomeyaml/components/output/gpio.rst
rename to components/output/gpio.rst
index 582ef9e54..a277c2c41 100644
--- a/esphomeyaml/components/output/gpio.rst
+++ b/components/output/gpio.rst
@@ -28,19 +28,19 @@ Configuration variables:
This is an **output component** and will not visible from the frontend. Output components are intermediary
components that can be attached to for example lights. To have a GPIO pin in the Home Assistant frontend, please
- see the :doc:`/esphomeyaml/components/switch/gpio`.
+ see the :doc:`/components/switch/gpio`.
See Also
--------
-- :doc:`/esphomeyaml/components/switch/gpio`
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/light/binary`
-- :doc:`/esphomeyaml/components/fan/binary`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/switch/gpio`
+- :doc:`/components/output/index`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/ledc`
+- :doc:`/components/light/binary`
+- :doc:`/components/fan/binary`
+- :doc:`/components/power_supply`
+- :apiref:`output/gpio_binary_output_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/output/images/pca9685-full.jpg b/components/output/images/pca9685-full.jpg
similarity index 100%
rename from esphomeyaml/components/output/images/pca9685-full.jpg
rename to components/output/images/pca9685-full.jpg
diff --git a/esphomeyaml/components/output/index.rst b/components/output/index.rst
similarity index 83%
rename from esphomeyaml/components/output/index.rst
rename to components/output/index.rst
index 9d78ee672..9fc1e120d 100644
--- a/esphomeyaml/components/output/index.rst
+++ b/components/output/index.rst
@@ -33,7 +33,7 @@ Configuration variables:
- **id** (**Required**, :ref:`config-id`): The id to use for this output component.
- **power_supply** (*Optional*, :ref:`config-id`): The :doc:`power
- supply ` to connect to
+ supply ` to connect to
this output. When the output is enabled, the power supply will
automatically be switched on too.
- **inverted** (*Optional*, boolean): If the output should be treated
@@ -113,15 +113,15 @@ works with floating point outputs like ESP8266 PWM or LEDC.
Full Output Index
-----------------
-- :doc:`/esphomeyaml/components/switch/output`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`/esphomeyaml/components/light/binary`
-- :doc:`/esphomeyaml/components/light/monochromatic`
-- :doc:`/esphomeyaml/components/light/rgb`
-- :doc:`/esphomeyaml/components/fan/binary`
-- :doc:`/esphomeyaml/components/fan/speed`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/switch/output`
+- :doc:`/components/power_supply`
+- :doc:`/components/light/binary`
+- :doc:`/components/light/monochromatic`
+- :doc:`/components/light/rgb`
+- :doc:`/components/fan/binary`
+- :doc:`/components/fan/speed`
+- :apiref:`output/binary_output.h`, :apiref:`output/float_output.h`
+- :ghedit:`Edit`
.. toctree::
:maxdepth: 1
diff --git a/esphomeyaml/components/output/ledc.rst b/components/output/ledc.rst
similarity index 78%
rename from esphomeyaml/components/output/ledc.rst
rename to components/output/ledc.rst
index 9e54a0572..de7320000 100644
--- a/esphomeyaml/components/output/ledc.rst
+++ b/components/output/ledc.rst
@@ -34,13 +34,13 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/light/monochromatic`
-- :doc:`/esphomeyaml/components/fan/speed`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
+- :doc:`/components/output/index`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/light/monochromatic`
+- :doc:`/components/fan/speed`
+- :doc:`/components/power_supply`
+- :apiref:`output/ledc_output_component.h`
- `esp-idf LEDC API docs `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/output/my9231.rst b/components/output/my9231.rst
similarity index 65%
rename from esphomeyaml/components/output/my9231.rst
rename to components/output/my9231.rst
index 8b6e7aca2..a079d3c28 100644
--- a/esphomeyaml/components/output/my9231.rst
+++ b/components/output/my9231.rst
@@ -6,7 +6,7 @@ MY9231/MY9291 Output
:image: my9231.png
The MY931/MY9291 output component exposes a MY931/MY9291 channel of a global
-:doc:`/esphomeyaml/components/my9231` as a float output.
+:doc:`/components/my9231` as a float output.
.. code-block:: yaml
@@ -28,22 +28,22 @@ Configuration variables:
- **channel** (**Required**, int): Chose the channel of the MY9231/MY9291 chain of
this output component. Channel 0 is the most close channel.
- **my9231_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the
- :doc:`/esphomeyaml/components/my9231`.
+ :doc:`/components/my9231`.
Use this if you have multiple MY9231/MY9291 chains you want to use at the same time.
- All other options from :ref:`Output `.
See Also
--------
-- :doc:`/esphomeyaml/components/my9231`
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/light/monochromatic`
-- :doc:`/esphomeyaml/components/fan/speed`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
+- :doc:`/components/my9231`
+- :doc:`/components/output/index`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/ledc`
+- :doc:`/components/light/monochromatic`
+- :doc:`/components/fan/speed`
+- :doc:`/components/power_supply`
+- :apiref:`output/my9231_output_component.h`
- `MY92XX LED driver library for Arduino AVR and ESP8266 `__ by `@xoseperez `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/output/pca9685.rst b/components/output/pca9685.rst
similarity index 65%
rename from esphomeyaml/components/output/pca9685.rst
rename to components/output/pca9685.rst
index 67f2461b1..5336c504c 100644
--- a/esphomeyaml/components/output/pca9685.rst
+++ b/components/output/pca9685.rst
@@ -6,7 +6,7 @@ PCA9685 PWM Output
:image: pca9685.jpg
The PCA9685 output component exposes a PCA9685 PWM channel of a global
-:doc:`PCA9685 hub ` as a float
+:doc:`PCA9685 hub ` as a float
output.
.. figure:: images/pca9685-full.jpg
@@ -34,22 +34,22 @@ Configuration variables:
- **channel** (**Required**, int): Chose the channel of the PCA9685 of
this output component. Must be in range from 0 to 15.
- **pca9685_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the
- :doc:`PCA9685 hub `.
+ :doc:`PCA9685 hub `.
Use this if you have multiple PCA9685s you want to use at the same time.
- All other options from :ref:`Output `.
See Also
--------
-- :doc:`/esphomeyaml/components/pca9685`
-- :doc:`/esphomeyaml/components/output/index`
-- :doc:`/esphomeyaml/components/output/esp8266_pwm`
-- :doc:`/esphomeyaml/components/output/ledc`
-- :doc:`/esphomeyaml/components/light/monochromatic`
-- :doc:`/esphomeyaml/components/fan/speed`
-- :doc:`/esphomeyaml/components/power_supply`
-- :doc:`API Reference `
+- :doc:`/components/pca9685`
+- :doc:`/components/output/index`
+- :doc:`/components/output/esp8266_pwm`
+- :doc:`/components/output/ledc`
+- :doc:`/components/light/monochromatic`
+- :doc:`/components/fan/speed`
+- :doc:`/components/power_supply`
+- :apiref:`output/pca9685_output_component.h`
- `PCA9685 Arduino Library `__ by `@NachtRaveVL `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/pca9685.rst b/components/pca9685.rst
similarity index 84%
rename from esphomeyaml/components/pca9685.rst
rename to components/pca9685.rst
index e20ce7157..397b2bcc4 100644
--- a/esphomeyaml/components/pca9685.rst
+++ b/components/pca9685.rst
@@ -13,7 +13,7 @@ uses :ref:`I²C Bus ` for communication.
To use the channels of this components, you first need to setup the
global ``pca9685`` hub and give it an id, and then define the
-:doc:`individual output channels `.
+:doc:`individual output channels `.
.. code-block:: yaml
@@ -42,7 +42,7 @@ See Also
--------
- :doc:`output/pca9685`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`output/pca9685_output_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/pcf8574.rst b/components/pcf8574.rst
similarity index 92%
rename from esphomeyaml/components/pcf8574.rst
rename to components/pcf8574.rst
index edc6de1ed..2b110a514 100644
--- a/esphomeyaml/components/pcf8574.rst
+++ b/components/pcf8574.rst
@@ -62,7 +62,7 @@ See Also
- :doc:`switch/gpio`
- :doc:`binary_sensor/gpio`
- `PCF8574 Arduino Library `__ by `Fabien Batteix `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`io/pcf8574_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/pn532.rst b/components/pn532.rst
similarity index 92%
rename from esphomeyaml/components/pn532.rst
rename to components/pn532.rst
index 63765e897..80de61dc3 100644
--- a/esphomeyaml/components/pn532.rst
+++ b/components/pn532.rst
@@ -9,7 +9,7 @@ PN532 NFC/RFID Controller Hub
The ``pn532`` component allows you to use PN532 NFC/RFID controllers
(`datasheet `__, `adafruit `__)
with esphomelib. This component is a global hub that establishes the connection to the PN532 via :ref:`SPI ` and
-outputs its data. Using the :doc:`PN532 binary sensors ` you can then
+outputs its data. Using the :doc:`PN532 binary sensors ` you can then
create individual binary sensors that track if an NFC/RFID tag is currently detected by the PN532.
.. figure:: binary_sensor/images/pn532-full.jpg
@@ -87,7 +87,7 @@ See Also
- :doc:`binary_sensor/pn532`
- :doc:`rdm6300`
- `PN532 Library `__ by `Adafruit `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/pn532_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/power_supply.rst b/components/power_supply.rst
similarity index 93%
rename from esphomeyaml/components/power_supply.rst
rename to components/power_supply.rst
index f64bd2a2d..15690bf9c 100644
--- a/esphomeyaml/components/power_supply.rst
+++ b/components/power_supply.rst
@@ -69,7 +69,7 @@ See Also
--------
- :doc:`output/index`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`power_supply_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/rdm6300.rst b/components/rdm6300.rst
similarity index 88%
rename from esphomeyaml/components/rdm6300.rst
rename to components/rdm6300.rst
index 6a87230ff..a63299d45 100644
--- a/esphomeyaml/components/rdm6300.rst
+++ b/components/rdm6300.rst
@@ -9,7 +9,7 @@ RDM6300 NFC/RFID Hub
The ``rdm6300`` component allows you to use RDM6300 NFC/RFID controllers
(`datasheet `__, `iTead `__)
with esphomelib. This component is a global hub that establishes the connection to the RDM6300 via :ref:`UART ` and
-translates the received data. Using the :doc:`RDM6300 binary sensors ` you can then
+translates the received data. Using the :doc:`RDM6300 binary sensors ` you can then
create individual binary sensors that track if an NFC/RFID tag is currently detected by the RDM6300.
.. figure:: binary_sensor/images/rdm6300-full.jpg
@@ -49,7 +49,7 @@ See Also
- :doc:`binary_sensor/rdm6300`
- :doc:`pn532`
- `RDM6300 Arduino Library `__ by `Arliones Hoeller Jr `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`binary_sensor/rdm6300_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/remote_receiver.rst b/components/remote_receiver.rst
similarity index 93%
rename from esphomeyaml/components/remote_receiver.rst
rename to components/remote_receiver.rst
index 63fca29c3..338b6f959 100644
--- a/esphomeyaml/components/remote_receiver.rst
+++ b/components/remote_receiver.rst
@@ -57,7 +57,7 @@ See Also
- `RCSwitch `__ by `Suat Özgür `__
- `IRRemoteESP8266 `__ by `Mark Szabo-Simon `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`remote/remote_receiver.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/remote_transmitter.rst b/components/remote_transmitter.rst
similarity index 86%
rename from esphomeyaml/components/remote_transmitter.rst
rename to components/remote_transmitter.rst
index 03c9e53c3..009166664 100644
--- a/esphomeyaml/components/remote_transmitter.rst
+++ b/components/remote_transmitter.rst
@@ -9,7 +9,7 @@ Remote Transmitter Component
The ``remote_transmitter`` component lets you send infrared messages to control
devices in your home. First, you need to setup a global hub that specifies which pin your remote
sender is connected to. Afterwards you can create :doc:`individual
-switches ` that each send a pre-defined remote signal to a device.
+switches ` that each send a pre-defined remote signal to a device.
Use-cases are for example infrared remotes or 433MHz signals.
@@ -52,7 +52,7 @@ See Also
- `RCSwitch `__ by `Suat Özgür `__
- `IRRemoteESP8266 `__ by `Mark Szabo-Simon `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`remote/remote_transmitter.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/adc.rst b/components/sensor/adc.rst
similarity index 94%
rename from esphomeyaml/components/sensor/adc.rst
rename to components/sensor/adc.rst
index 4bae756d6..120881ef1 100644
--- a/esphomeyaml/components/sensor/adc.rst
+++ b/components/sensor/adc.rst
@@ -80,7 +80,7 @@ See Also
- :ref:`sensor-filters`
- :doc:`ads1115`
- :doc:`max6675`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/adc.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/ads1115.rst b/components/sensor/ads1115.rst
similarity index 87%
rename from esphomeyaml/components/sensor/ads1115.rst
rename to components/sensor/ads1115.rst
index a206d1b4b..cdfc6db0b 100644
--- a/esphomeyaml/components/sensor/ads1115.rst
+++ b/components/sensor/ads1115.rst
@@ -8,7 +8,7 @@ ADS1115 Sensor
The ``ads1115`` sensor allows you to use your ADS1115 sigma-delta ADC
sensors (`datasheet `__, `Adafruit`_) with esphomelib.
-First, setup a :doc:`ADS1115 Hub ` for your ADS1115 sensor and then use this
+First, setup a :doc:`ADS1115 Hub ` for your ADS1115 sensor and then use this
sensor platform to create individual sensors that will report the
voltage to Home Assistant.
@@ -42,7 +42,7 @@ Configuration variables:
- **gain** (**Required**, float): The gain of this sensor.
- **name** (**Required**, string): The name for this sensor.
- **ads1115_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the
- :doc:`ADS1115 Hub ` you want to use this sensor.
+ :doc:`ADS1115 Hub ` you want to use this sensor.
- **update_interval** (*Optional*, :ref:`config-time`): The interval
to check the sensor. Defaults to ``60s``.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
@@ -76,8 +76,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`adc`
- :doc:`max6675`
-- :doc:`API Reference `
+- :apiref:`sensor/ads1115_component.h`
- `i2cdevlib `__ by `Jeff Rowberg `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/apds9960.rst b/components/sensor/apds9960.rst
similarity index 92%
rename from esphomeyaml/components/sensor/apds9960.rst
rename to components/sensor/apds9960.rst
index 0992d7ee7..71ef06024 100644
--- a/esphomeyaml/components/sensor/apds9960.rst
+++ b/components/sensor/apds9960.rst
@@ -80,7 +80,7 @@ See Also
--------
- :ref:`sensor-filters`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/apds9960.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/bh1750.rst b/components/sensor/bh1750.rst
similarity index 91%
rename from esphomeyaml/components/sensor/bh1750.rst
rename to components/sensor/bh1750.rst
index 9cad4155f..ded6f43b0 100644
--- a/esphomeyaml/components/sensor/bh1750.rst
+++ b/components/sensor/bh1750.rst
@@ -53,8 +53,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`tsl2561`
-- :doc:`API Reference `
+- :apiref:`sensor/bh7150_sensor.h`
- `BH1750 Library `__ by `@claws `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/ble_rssi.rst b/components/sensor/ble_rssi.rst
similarity index 79%
rename from esphomeyaml/components/sensor/ble_rssi.rst
rename to components/sensor/ble_rssi.rst
index 3d56f1c70..793332ff8 100644
--- a/esphomeyaml/components/sensor/ble_rssi.rst
+++ b/components/sensor/ble_rssi.rst
@@ -33,9 +33,9 @@ Configuration variables:
See Also
--------
-- :doc:`/esphomeyaml/components/esp32_ble_tracker`
-- :doc:`/esphomeyaml/components/sensor/index`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/components/esp32_ble_tracker`
+- :doc:`/components/sensor/index`
+- :apiref:`esp32_ble_tracker.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/bme280.rst b/components/sensor/bme280.rst
similarity index 95%
rename from esphomeyaml/components/sensor/bme280.rst
rename to components/sensor/bme280.rst
index 975093b00..cf6e72c6a 100644
--- a/esphomeyaml/components/sensor/bme280.rst
+++ b/components/sensor/bme280.rst
@@ -91,9 +91,9 @@ See Also
- :ref:`sensor-filters`
- :doc:`bme680`
- :doc:`bmp085`
-- :doc:`API Reference `
+- :apiref:`sensor/bme280_component.h`
- `Adafruit BME280 Library `__ by `Adafruit `__
- `Sparkfun BME280 Library `__ by `Sparkfun `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/bme680.rst b/components/sensor/bme680.rst
similarity index 96%
rename from esphomeyaml/components/sensor/bme680.rst
rename to components/sensor/bme680.rst
index d9916e09f..ed6e4c849 100644
--- a/esphomeyaml/components/sensor/bme680.rst
+++ b/components/sensor/bme680.rst
@@ -109,8 +109,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`bme280`
- :doc:`bmp085`
-- :doc:`API Reference `
+- :apiref:`sensor/bme680_component.h`
- `BME680 Sensor API `__ by `Bosch Sensortec `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/bmp085.rst b/components/sensor/bmp085.rst
similarity index 93%
rename from esphomeyaml/components/sensor/bmp085.rst
rename to components/sensor/bmp085.rst
index 786a53fa7..96d9ff9ae 100644
--- a/esphomeyaml/components/sensor/bmp085.rst
+++ b/components/sensor/bmp085.rst
@@ -62,8 +62,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`bme280`
- :doc:`bme680`
-- :doc:`API Reference `
+- :apiref:`sensor/bmp085_component.h`
- `i2cdevlib `__ by `Jeff Rowberg `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/bmp280.rst b/components/sensor/bmp280.rst
similarity index 92%
rename from esphomeyaml/components/sensor/bmp280.rst
rename to components/sensor/bmp280.rst
index 5fba9b780..430577cb7 100644
--- a/esphomeyaml/components/sensor/bmp280.rst
+++ b/components/sensor/bmp280.rst
@@ -88,8 +88,8 @@ See Also
- :doc:`bme280`
- :doc:`bme680`
- :doc:`bmp085`
-- :doc:`API Reference `
-- `BME280 Library `__ by `Adafruit `__
-- `Edit this page on GitHub `__
+- :apiref:`sensor/bmp280_component.h`
+- `BMP280 Library `__ by `Adafruit `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/cse7766.rst b/components/sensor/cse7766.rst
similarity index 91%
rename from esphomeyaml/components/sensor/cse7766.rst
rename to components/sensor/cse7766.rst
index a0409a09c..ddebf4e06 100644
--- a/esphomeyaml/components/sensor/cse7766.rst
+++ b/components/sensor/cse7766.rst
@@ -56,7 +56,7 @@ See Also
--------
- :ref:`sensor-filters`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/cse7766.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/custom.rst b/components/sensor/custom.rst
similarity index 99%
rename from esphomeyaml/components/sensor/custom.rst
rename to components/sensor/custom.rst
index aab72b952..1ecfe1b47 100644
--- a/esphomeyaml/components/sensor/custom.rst
+++ b/components/sensor/custom.rst
@@ -370,6 +370,6 @@ Configuration variables:
See Also
--------
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/dallas.rst b/components/sensor/dallas.rst
similarity index 91%
rename from esphomeyaml/components/sensor/dallas.rst
rename to components/sensor/dallas.rst
index e43bd17ab..244af656f 100644
--- a/esphomeyaml/components/sensor/dallas.rst
+++ b/components/sensor/dallas.rst
@@ -7,7 +7,7 @@ Dallas Temperature Sensor
:keywords: dallas, ds18b20
The ``dallas`` sensor allows you to use ds18b20 and similar sensors.
-First, you need to define a :doc:`dallas sensor component `.
+First, you need to define a :doc:`dallas sensor component `.
The dallas sensor component (or "hub") is an internal model that defines which pins the ds18b20
sensors are connected to. This is because with these sensors you can actually connect multiple
sensors to a single pin and use them all at once.
@@ -48,7 +48,7 @@ Configuration variables:
to use address instead `.
- **resolution** (*Optional*, int): An optional resolution from 8 to
12. Higher means more accurate. Defaults to the maximum for most dallas temperature sensors: 12.
-- **dallas_id** (*Optional*, :ref:`config-id`): The ID of the :doc:`dallas hub `.
+- **dallas_id** (*Optional*, :ref:`config-id`): The ID of the :doc:`dallas hub `.
Use this if you have multiple dallas hubs.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
- All other options from :ref:`Sensor ` and :ref:`MQTT Component `.
@@ -106,10 +106,10 @@ See Also
--------
- :ref:`sensor-filters`
-- :doc:`/esphomeyaml/components/dallas`
+- :doc:`/components/dallas`
- :doc:`max6675`
- `Arduino DallasTemperature library `__ by `Miles Burton `__
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/dallas_component.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/dht.rst b/components/sensor/dht.rst
similarity index 95%
rename from esphomeyaml/components/sensor/dht.rst
rename to components/sensor/dht.rst
index a777a8f2d..b216a9855 100644
--- a/esphomeyaml/components/sensor/dht.rst
+++ b/components/sensor/dht.rst
@@ -81,8 +81,8 @@ See Also
- :doc:`hdc1080`
- :doc:`htu21d`
- :doc:`sht3xd`
-- :doc:`API Reference `
+- :apiref:`sensor/dht_component.h`
- `Arduino DHTLib `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/dht12.rst b/components/sensor/dht12.rst
similarity index 92%
rename from esphomeyaml/components/sensor/dht12.rst
rename to components/sensor/dht12.rst
index c6b03638a..cb8e51bce 100644
--- a/esphomeyaml/components/sensor/dht12.rst
+++ b/components/sensor/dht12.rst
@@ -59,8 +59,8 @@ See Also
- :doc:`hdc1080`
- :doc:`htu21d`
- :doc:`sht3xd`
-- :doc:`API Reference `
+- :apiref:`sensor/dht12_component.h`
- `DHT12 Library `__ by `Daniel Plasa `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/duty_cycle.rst b/components/sensor/duty_cycle.rst
similarity index 86%
rename from esphomeyaml/components/sensor/duty_cycle.rst
rename to components/sensor/duty_cycle.rst
index 44fc4e7bb..01f145c42 100644
--- a/esphomeyaml/components/sensor/duty_cycle.rst
+++ b/components/sensor/duty_cycle.rst
@@ -37,7 +37,7 @@ See Also
--------
- :ref:`sensor-filters`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/duty_cycle_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/esp32_hall.rst b/components/sensor/esp32_hall.rst
similarity index 89%
rename from esphomeyaml/components/sensor/esp32_hall.rst
rename to components/sensor/esp32_hall.rst
index bd80f34c9..d7ed7ec4d 100644
--- a/esphomeyaml/components/sensor/esp32_hall.rst
+++ b/components/sensor/esp32_hall.rst
@@ -50,8 +50,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`adc`
-- :doc:`/esphomeyaml/devices/esp32`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :doc:`/devices/esp32`
+- :apiref:`sensor/esp32_hall_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/hdc1080.rst b/components/sensor/hdc1080.rst
similarity index 93%
rename from esphomeyaml/components/sensor/hdc1080.rst
rename to components/sensor/hdc1080.rst
index 0a9a3082f..a3026ee5a 100644
--- a/esphomeyaml/components/sensor/hdc1080.rst
+++ b/components/sensor/hdc1080.rst
@@ -66,8 +66,8 @@ See Also
- :doc:`dht12`
- :doc:`htu21d`
- :doc:`sht3xd`
-- :doc:`API Reference `
+- :apiref:`sensor/hdc1080_component.h`
- `HDC1080 Library `__ by `ClosedCube `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/hlw8012.rst b/components/sensor/hlw8012.rst
similarity index 94%
rename from esphomeyaml/components/sensor/hlw8012.rst
rename to components/sensor/hlw8012.rst
index 6c739bb1d..26958bd66 100644
--- a/esphomeyaml/components/sensor/hlw8012.rst
+++ b/components/sensor/hlw8012.rst
@@ -62,8 +62,8 @@ See Also
--------
- :ref:`sensor-filters`
-- :doc:`API Reference `
+- :apiref:`sensor/hlw8012.h`
- `HLW8012 Library `__ by `Xose Pérez `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/hmc5883l.rst b/components/sensor/hmc5883l.rst
similarity index 92%
rename from esphomeyaml/components/sensor/hmc5883l.rst
rename to components/sensor/hmc5883l.rst
index a42450821..36ac83129 100644
--- a/esphomeyaml/components/sensor/hmc5883l.rst
+++ b/components/sensor/hmc5883l.rst
@@ -53,8 +53,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`template`
- :doc:`ultrasonic`
-- :doc:`API Reference `
+- :apiref:`sensor/hmc5883l.h`
- `HMC5883L Library `__ by `Korneliusz Jarzębski `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/homeassistant.rst b/components/sensor/homeassistant.rst
similarity index 83%
rename from esphomeyaml/components/sensor/homeassistant.rst
rename to components/sensor/homeassistant.rst
index d649108bd..60428dccb 100644
--- a/esphomeyaml/components/sensor/homeassistant.rst
+++ b/components/sensor/homeassistant.rst
@@ -6,7 +6,7 @@ Homeassistant Sensor
:image: home-assistant.png
The ``homeassistant`` sensor platform allows you to create a sensors that import
-states from your Home Assistant instance using the :doc:`native API `.
+states from your Home Assistant instance using the :doc:`native API `.
.. code-block:: yaml
@@ -19,7 +19,7 @@ states from your Home Assistant instance using the :doc:`native API `.
+ from Home Assistant, use the :doc:`Home Assistant Text Sensor `.
Importing attributes is currently not supported, but you can create template sensors in Home Assistant
that return the attribute of a sensor and then import the template sensor here.
@@ -37,7 +37,7 @@ See Also
- :ref:`sensor-filters`
- :ref:`automation`
-- :doc:`API Reference `
-- `Edit this page on GitHub `__
+- :apiref:`sensor/homeassistant_sensor.h`
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/htu21d.rst b/components/sensor/htu21d.rst
similarity index 93%
rename from esphomeyaml/components/sensor/htu21d.rst
rename to components/sensor/htu21d.rst
index 9fde23afb..7f7d596b2 100644
--- a/esphomeyaml/components/sensor/htu21d.rst
+++ b/components/sensor/htu21d.rst
@@ -65,8 +65,8 @@ See Also
- :doc:`dht12`
- :doc:`hdc1080`
- :doc:`sht3xd`
-- :doc:`API Reference `
+- :apiref:`sensor/htu21d_component.h`
- `i2cdevlib `__ by `Jeff Rowberg `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/hx711.rst b/components/sensor/hx711.rst
similarity index 94%
rename from esphomeyaml/components/sensor/hx711.rst
rename to components/sensor/hx711.rst
index eb600ccc5..12ca022fb 100644
--- a/esphomeyaml/components/sensor/hx711.rst
+++ b/components/sensor/hx711.rst
@@ -81,8 +81,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`adc`
-- :doc:`API Reference `
+- :apiref:`sensor/hx711.h`
- `HX711 Library `__ by `@bogde `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/images/adc-ui.png b/components/sensor/images/adc-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/adc-ui.png
rename to components/sensor/images/adc-ui.png
diff --git a/esphomeyaml/components/sensor/images/ads1115-full.jpg b/components/sensor/images/ads1115-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/ads1115-full.jpg
rename to components/sensor/images/ads1115-full.jpg
diff --git a/esphomeyaml/components/sensor/images/ads1115-ui.png b/components/sensor/images/ads1115-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/ads1115-ui.png
rename to components/sensor/images/ads1115-ui.png
diff --git a/esphomeyaml/components/sensor/images/apds9960-full.jpg b/components/sensor/images/apds9960-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/apds9960-full.jpg
rename to components/sensor/images/apds9960-full.jpg
diff --git a/esphomeyaml/components/sensor/images/bh1750-full.jpg b/components/sensor/images/bh1750-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bh1750-full.jpg
rename to components/sensor/images/bh1750-full.jpg
diff --git a/esphomeyaml/components/sensor/images/bh1750-ui.png b/components/sensor/images/bh1750-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/bh1750-ui.png
rename to components/sensor/images/bh1750-ui.png
diff --git a/esphomeyaml/components/sensor/images/bme280-full.jpg b/components/sensor/images/bme280-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bme280-full.jpg
rename to components/sensor/images/bme280-full.jpg
diff --git a/esphomeyaml/components/sensor/images/bme280-pins.jpg b/components/sensor/images/bme280-pins.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bme280-pins.jpg
rename to components/sensor/images/bme280-pins.jpg
diff --git a/esphomeyaml/components/sensor/images/bme280-ui.png b/components/sensor/images/bme280-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/bme280-ui.png
rename to components/sensor/images/bme280-ui.png
diff --git a/esphomeyaml/components/sensor/images/bme680-full.jpg b/components/sensor/images/bme680-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bme680-full.jpg
rename to components/sensor/images/bme680-full.jpg
diff --git a/esphomeyaml/components/sensor/images/bme680-ui.png b/components/sensor/images/bme680-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/bme680-ui.png
rename to components/sensor/images/bme680-ui.png
diff --git a/esphomeyaml/components/sensor/images/bmp180-full.jpg b/components/sensor/images/bmp180-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bmp180-full.jpg
rename to components/sensor/images/bmp180-full.jpg
diff --git a/esphomeyaml/components/sensor/images/bmp280-full.jpg b/components/sensor/images/bmp280-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bmp280-full.jpg
rename to components/sensor/images/bmp280-full.jpg
diff --git a/esphomeyaml/components/sensor/images/bmp280-pins.jpg b/components/sensor/images/bmp280-pins.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/bmp280-pins.jpg
rename to components/sensor/images/bmp280-pins.jpg
diff --git a/esphomeyaml/components/sensor/images/custom-ui.png b/components/sensor/images/custom-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/custom-ui.png
rename to components/sensor/images/custom-ui.png
diff --git a/esphomeyaml/components/sensor/images/dallas-log.png b/components/sensor/images/dallas-log.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/dallas-log.png
rename to components/sensor/images/dallas-log.png
diff --git a/esphomeyaml/components/sensor/images/dallas-wired.jpg b/components/sensor/images/dallas-wired.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/dallas-wired.jpg
rename to components/sensor/images/dallas-wired.jpg
diff --git a/esphomeyaml/components/sensor/images/dht-full.jpg b/components/sensor/images/dht-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/dht-full.jpg
rename to components/sensor/images/dht-full.jpg
diff --git a/esphomeyaml/components/sensor/images/dht12-full.jpg b/components/sensor/images/dht12-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/dht12-full.jpg
rename to components/sensor/images/dht12-full.jpg
diff --git a/esphomeyaml/components/sensor/images/duty_cycle-ui.png b/components/sensor/images/duty_cycle-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/duty_cycle-ui.png
rename to components/sensor/images/duty_cycle-ui.png
diff --git a/esphomeyaml/components/sensor/images/esp32_hall-ui.png b/components/sensor/images/esp32_hall-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/esp32_hall-ui.png
rename to components/sensor/images/esp32_hall-ui.png
diff --git a/esphomeyaml/components/sensor/images/hdc1080-full.jpg b/components/sensor/images/hdc1080-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/hdc1080-full.jpg
rename to components/sensor/images/hdc1080-full.jpg
diff --git a/esphomeyaml/components/sensor/images/htu21d-full.jpg b/components/sensor/images/htu21d-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/htu21d-full.jpg
rename to components/sensor/images/htu21d-full.jpg
diff --git a/esphomeyaml/components/sensor/images/hx711-full.jpg b/components/sensor/images/hx711-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/hx711-full.jpg
rename to components/sensor/images/hx711-full.jpg
diff --git a/esphomeyaml/components/sensor/images/ina219-full.jpg b/components/sensor/images/ina219-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/ina219-full.jpg
rename to components/sensor/images/ina219-full.jpg
diff --git a/esphomeyaml/components/sensor/images/ina219-ui.png b/components/sensor/images/ina219-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/ina219-ui.png
rename to components/sensor/images/ina219-ui.png
diff --git a/esphomeyaml/components/sensor/images/ina3221-full.jpg b/components/sensor/images/ina3221-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/ina3221-full.jpg
rename to components/sensor/images/ina3221-full.jpg
diff --git a/esphomeyaml/components/sensor/images/ina3221-pins.jpg b/components/sensor/images/ina3221-pins.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/ina3221-pins.jpg
rename to components/sensor/images/ina3221-pins.jpg
diff --git a/esphomeyaml/components/sensor/images/ina3221-ui.png b/components/sensor/images/ina3221-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/ina3221-ui.png
rename to components/sensor/images/ina3221-ui.png
diff --git a/esphomeyaml/components/sensor/images/max6675-full.jpg b/components/sensor/images/max6675-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/max6675-full.jpg
rename to components/sensor/images/max6675-full.jpg
diff --git a/esphomeyaml/components/sensor/images/mhz19-full.jpg b/components/sensor/images/mhz19-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/mhz19-full.jpg
rename to components/sensor/images/mhz19-full.jpg
diff --git a/esphomeyaml/components/sensor/images/mhz19-pins.jpg b/components/sensor/images/mhz19-pins.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/mhz19-pins.jpg
rename to components/sensor/images/mhz19-pins.jpg
diff --git a/esphomeyaml/components/sensor/images/mpu6050-full.jpg b/components/sensor/images/mpu6050-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/mpu6050-full.jpg
rename to components/sensor/images/mpu6050-full.jpg
diff --git a/esphomeyaml/components/sensor/images/mpu6050-ui.png b/components/sensor/images/mpu6050-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/mpu6050-ui.png
rename to components/sensor/images/mpu6050-ui.png
diff --git a/esphomeyaml/components/sensor/images/ms5611-full.jpg b/components/sensor/images/ms5611-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/ms5611-full.jpg
rename to components/sensor/images/ms5611-full.jpg
diff --git a/esphomeyaml/components/sensor/images/ms5611-ui.png b/components/sensor/images/ms5611-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/ms5611-ui.png
rename to components/sensor/images/ms5611-ui.png
diff --git a/esphomeyaml/components/sensor/images/pulse-counter.png b/components/sensor/images/pulse-counter.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/pulse-counter.png
rename to components/sensor/images/pulse-counter.png
diff --git a/esphomeyaml/components/sensor/images/rotary_encoder-ui.png b/components/sensor/images/rotary_encoder-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/rotary_encoder-ui.png
rename to components/sensor/images/rotary_encoder-ui.png
diff --git a/esphomeyaml/components/sensor/images/rotary_encoder.jpg b/components/sensor/images/rotary_encoder.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/rotary_encoder.jpg
rename to components/sensor/images/rotary_encoder.jpg
diff --git a/esphomeyaml/components/sensor/images/tcs34725-full.jpg b/components/sensor/images/tcs34725-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/tcs34725-full.jpg
rename to components/sensor/images/tcs34725-full.jpg
diff --git a/esphomeyaml/components/sensor/images/tcs34725-ui.png b/components/sensor/images/tcs34725-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/tcs34725-ui.png
rename to components/sensor/images/tcs34725-ui.png
diff --git a/esphomeyaml/components/sensor/images/temperature-humidity.png b/components/sensor/images/temperature-humidity.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/temperature-humidity.png
rename to components/sensor/images/temperature-humidity.png
diff --git a/esphomeyaml/components/sensor/images/temperature-pressure.png b/components/sensor/images/temperature-pressure.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/temperature-pressure.png
rename to components/sensor/images/temperature-pressure.png
diff --git a/esphomeyaml/components/sensor/images/temperature.png b/components/sensor/images/temperature.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/temperature.png
rename to components/sensor/images/temperature.png
diff --git a/esphomeyaml/components/sensor/images/tsl2561-full.jpg b/components/sensor/images/tsl2561-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/tsl2561-full.jpg
rename to components/sensor/images/tsl2561-full.jpg
diff --git a/esphomeyaml/components/sensor/images/tsl2561-ui.png b/components/sensor/images/tsl2561-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/tsl2561-ui.png
rename to components/sensor/images/tsl2561-ui.png
diff --git a/esphomeyaml/components/sensor/images/ultrasonic-full.jpg b/components/sensor/images/ultrasonic-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/ultrasonic-full.jpg
rename to components/sensor/images/ultrasonic-full.jpg
diff --git a/esphomeyaml/components/sensor/images/ultrasonic-ui.png b/components/sensor/images/ultrasonic-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/ultrasonic-ui.png
rename to components/sensor/images/ultrasonic-ui.png
diff --git a/esphomeyaml/components/sensor/images/wifi_signal-ui.png b/components/sensor/images/wifi_signal-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/wifi_signal-ui.png
rename to components/sensor/images/wifi_signal-ui.png
diff --git a/esphomeyaml/components/sensor/images/xiaomi_mijia-full.jpg b/components/sensor/images/xiaomi_mijia-full.jpg
similarity index 100%
rename from esphomeyaml/components/sensor/images/xiaomi_mijia-full.jpg
rename to components/sensor/images/xiaomi_mijia-full.jpg
diff --git a/esphomeyaml/components/sensor/images/xiaomi_mijia-ui.png b/components/sensor/images/xiaomi_mijia-ui.png
similarity index 100%
rename from esphomeyaml/components/sensor/images/xiaomi_mijia-ui.png
rename to components/sensor/images/xiaomi_mijia-ui.png
diff --git a/esphomeyaml/components/sensor/ina219.rst b/components/sensor/ina219.rst
similarity index 94%
rename from esphomeyaml/components/sensor/ina219.rst
rename to components/sensor/ina219.rst
index 9f3c872a7..4d25ea48d 100644
--- a/esphomeyaml/components/sensor/ina219.rst
+++ b/components/sensor/ina219.rst
@@ -70,8 +70,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`ina3221`
-- :doc:`API Reference `
+- :apiref:`sensor/ina219.h`
- `INA291 Arduino Library `__ by `Adafruit `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/ina3221.rst b/components/sensor/ina3221.rst
similarity index 94%
rename from esphomeyaml/components/sensor/ina3221.rst
rename to components/sensor/ina3221.rst
index 9291e235b..735a356de 100644
--- a/esphomeyaml/components/sensor/ina3221.rst
+++ b/components/sensor/ina3221.rst
@@ -81,8 +81,8 @@ See Also
- :ref:`sensor-filters`
- :doc:`ina219`
-- :doc:`API Reference `
+- :apiref:`sensor/ina3221.h`
- `INA3221 Arduino Library `__ by `SwitchDoc Labs `__
-- `Edit this page on GitHub `__
+- :ghedit:`Edit`
.. disqus::
diff --git a/esphomeyaml/components/sensor/index.rst b/components/sensor/index.rst
similarity index 97%
rename from esphomeyaml/components/sensor/index.rst
rename to components/sensor/index.rst
index 22b07fd8d..3d3ca148c 100644
--- a/esphomeyaml/components/sensor/index.rst
+++ b/components/sensor/index.rst
@@ -301,7 +301,7 @@ lambda calls
************
From :ref:`lambdas `, you can call several methods on all sensors to do some
-advanced stuff (see the full :doc:`API Reference ` for more info).
+advanced stuff (see the full API Reference for more info).
- ``publish_state()``: Manually cause the sensor to push out a value. It will then
be processed by the sensor filters, and once done be published to MQTT.
@@ -331,8 +331,8 @@ advanced stuff (see the full :doc:`API Reference ` for more i
See Also
--------
-- :doc:`API Reference `
-- `Edit this page on GitHub