diff --git a/esphomeyaml/components/switch/gpio.rst b/esphomeyaml/components/switch/gpio.rst index 80e298f12..a52d70a99 100644 --- a/esphomeyaml/components/switch/gpio.rst +++ b/esphomeyaml/components/switch/gpio.rst @@ -26,6 +26,21 @@ Configuration variables: - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - All other options from :ref:`Switch ` and :ref:`MQTT Component `. +.. note:: + + If you want the pin to default to HIGH on startup, you can use the inverted property + of the :ref:`Pin Schema `: + + .. code:: yaml + + # Example configuration entry + switch: + - platform: gpio + pin: + number: 25 + inverted: True + name: "Living Room Dehumidifier" + See Also ^^^^^^^^