mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-04-04 18:27:02 +02:00
Add hint about inverse parameter to status_led (#1722)
Extra hint to use Inverse parameter with this parameter if things are opposite
This commit is contained in:
parent
3a90296756
commit
49463f275f
@ -40,6 +40,20 @@ Configuration variables:
|
||||
only support very few of them.
|
||||
- All other options from :ref:`Light <config-light>`.
|
||||
|
||||
.. note::
|
||||
|
||||
If your Status LED is in an active-LOW mode (such as with the D1 Mini ESP8266 boards), use the
|
||||
``inverted`` option of the :ref:`Pin Schema <config-pin_schema>`:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
status_led:
|
||||
pin:
|
||||
number: GPIO2
|
||||
inverted: true
|
||||
|
||||
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user