diff --git a/source/_components/cover.rpi_gpio.markdown b/source/_components/cover.rpi_gpio.markdown index 7b0fd775aca..581c6f36989 100644 --- a/source/_components/cover.rpi_gpio.markdown +++ b/source/_components/cover.rpi_gpio.markdown @@ -36,7 +36,9 @@ cover: Configuration variables: - **relay_time** (*Optional*): The time that the relay will be on for in seconds. Default is 0.2 seconds. +- **invert_relay** (*Optional*): Invert the relay pin output so that it is active-high. Default is False (active-low). - **state_pull_mode** (*Optional*): The direction the State pin is pulling. It can be UP or DOWN. Default is UP. +- **invert_state** (*Optional*): Invert the value of the State pin so that 0 means closed. Default is False. - **covers** array (*Required*): List of your doors. - **relay_pin** (*Required*): The pin of your Raspberry Pi where the relay is connected. - **state_pin** (*Required*): The pin of your Raspberry Pi to retrieve the state. @@ -49,7 +51,9 @@ Full example: cover: - platform: rpi_gpio relay_time: 0.2 + invert_relay: False state_pull_mode: 'UP' + invert_state: True covers: - relay_pin: 10 state_pin: 11