Allow output open drain (#3853)

This commit is contained in:
Penny Wood 2024-05-23 05:31:59 +08:00 committed by GitHub
parent 3f10d4dcd6
commit a59b50e4cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,7 +190,7 @@ The outputs can in turn be used to add PWM-enabled lights like the monochromatic
- **inverted** (*Optional*, boolean): If all read and written values
should be treated as inverted. Defaults to ``false``.
- **mode** (*Optional*, string): A pin mode to set for the pin at. One of ``INPUT``,
``INPUT_PULLUP`` or ``OUTPUT``.
``INPUT_PULLUP``, ``OUTPUT``, or ``OUTPUT_OPEN_DRAIN``.
And naturally you may use all automation functions with these SX1509 binary_sensors, switches and output (lights).