Merge pull request #2168 from gsieben/current

Add examples to pca9685
This commit is contained in:
H. Árkosi Róbert 2022-11-28 09:33:22 +01:00 committed by GitHub
commit d4757488d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -82,6 +82,27 @@ Configuration variables:
Use this if you have multiple PCA9685s you want to use at the same time.
- All other options from :ref:`Output <config-output>`.
Examples
--------
This output can be used for different PWM functions. E.g. output for light, fan etc.
.. code-block:: yaml
pca9685:
frequency: 500
output:
- platform: pca9685
channel: 0
id: pwm01
light:
- platform: monochromatic
name: 'main light'
output: pwm01
See Also
--------