mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +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`
|