Add demo integration (#1346)

This commit is contained in:
Otto Winter 2021-07-29 12:03:43 +02:00 committed by GitHub
parent d52c11f12b
commit 7ca8df8e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

29
components/demo.rst Normal file
View File

@ -0,0 +1,29 @@
Demo Integration
================
.. seo::
:description: Instructions for setting up the demo integration in ESPHome
:image: description.png
The ``demo`` integration can be used for testing to generate sample instances of many
different integrations (sensors, lights, ...)
.. figure:: images/demo-ui.png
:align: center
:width: 70.0%
.. code-block:: yaml
# Example configuration entry
demo:
Configuration variables:
------------------------
This integration has no configuration variables
See Also
--------
- :apiref:`demo/demo_sensor.h`
- :ghedit:`Edit`

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -464,6 +464,7 @@ Misc Components
RTTTL Buzzer, components/rtttl, buzzer.jpg
Prometheus, components/prometheus, prometheus.svg
Grow Fingerprint Reader, components/fingerprint_grow, fingerprint.svg
Demo, components/demo, description.svg
Additional Custom Components
----------------------------