Add doc for 'invert_position' variable for am43 cover. (#1512)

This variable is contained within the cover code, but was never added to the documentation.
This commit is contained in:
buxtronix 2021-10-16 06:08:40 +11:00 committed by GitHub
parent d6f58053e4
commit fc62200be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ Configuration variables:
- **pin** (*Optional*, int): The pin for the device, as
set in the app. The default is usually printed on the
device. Defaults to ``8888``.
- **invert_position** (*Optional*, boolean): Inverts the position value to and from the device. Set if ESPHome is swapping around the open/close state of the cover.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
- All other options from :ref:`Cover <config-cover>`.