Skip to content

Instantly share code, notes, and snippets.

@enginefeeder101
Created December 1, 2025 17:17
Show Gist options
  • Select an option

  • Save enginefeeder101/ffea0745bbe95397f8b73b3f4d400ce2 to your computer and use it in GitHub Desktop.

Select an option

Save enginefeeder101/ffea0745bbe95397f8b73b3f4d400ce2 to your computer and use it in GitHub Desktop.
Controlling PCA9685 with Home Assistant via ESPHome
# Source: https://community.home-assistant.io/t/pca9685-config-yaml/342183/11
i2c:
sda: 5
scl: 4
scan: true
frequency: 10000
light:
- platform: monochromatic
name: "Kitchen Lights"
output: PWM1
pca9685:
id: 'pca9685_hub1'
frequency: 500
address : 0x40
# Individual outputs
output:
- platform: pca9685
pca9685_id: 'pca9685_hub1'
id: "PWM1"
channel: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment