Add output pin definition to hbridge fan example configuration (#1648)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Lerosen 2021-12-22 23:14:39 +01:00 committed by GitHub
parent 30fd62ecfe
commit 8cf5696338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,14 @@ The `'hbridge`' fan platform allows you to use a compatible `h-bridge` (L298N, D
.. code-block:: yaml .. code-block:: yaml
# Example configuration entry # Example configuration entry
output:
- platform: ...
id: motor_forward_pin
pin: GPIO5
- platform: ...
id: motor_reverse_pin
pin: GPIO4
fan: fan:
- platform: hbridge - platform: hbridge
id: my_fan id: my_fan