From 49463f275fce8c63b9d0bc51bd005cd75ef6e22f Mon Sep 17 00:00:00 2001 From: BarryMar <91399958+BarryMar@users.noreply.github.com> Date: Wed, 15 Dec 2021 05:08:34 -0500 Subject: [PATCH] Add hint about inverse parameter to status_led (#1722) Extra hint to use Inverse parameter with this parameter if things are opposite --- components/light/status_led.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/light/status_led.rst b/components/light/status_led.rst index 7dc670a90..6b6d496ea 100644 --- a/components/light/status_led.rst +++ b/components/light/status_led.rst @@ -40,6 +40,20 @@ Configuration variables: only support very few of them. - All other options from :ref:`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 `: + + .. code-block:: yaml + + status_led: + pin: + number: GPIO2 + inverted: true + + + See Also --------