mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-10 10:11:29 +01:00
30 lines
575 B
ReStructuredText
30 lines
575 B
ReStructuredText
Demo Component
|
|
==============
|
|
|
|
.. seo::
|
|
:description: Instructions for setting up the demo component in ESPHome
|
|
:image: description.svg
|
|
|
|
The ``demo`` component can be used for testing to generate sample instances of many
|
|
different components (sensors, lights, ...)
|
|
|
|
.. figure:: images/demo-ui.png
|
|
:align: center
|
|
:width: 70.0%
|
|
|
|
.. code-block:: yaml
|
|
|
|
# Example configuration entry
|
|
demo:
|
|
|
|
Configuration variables:
|
|
------------------------
|
|
|
|
This component has no configuration variables
|
|
|
|
See Also
|
|
--------
|
|
|
|
- :apiref:`demo/demo_sensor.h`
|
|
- :ghedit:`Edit`
|