Can't compile ac_dimmer component

Hi there,

I have a Kincony KC868-A6 Relaisboard with ESP32.
The board works in my HA.

Implementing a new feature I got problems with the “ac_dimmer” component.
My *.yaml looks like this:

esphome:
  name: "control-A6"

esp32:
  variant: esp32
  framework:
    type: arduino

external_components:
  - source: github://pr#5587
    components: [ ac_dimmer ]
ac_dimmer:
  - id: ssr_dimmer
    zc_pin: 
      number: GPIO13
      mode: INPUT_PULLUP
    gate_pin: GPIO12
    method: leading_edge

But I always get errors:

INFO ESPHome 2026.1.3
INFO Reading configuration /config/esphome/control-a6_07.yaml...
WARNING GPIO15 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins
Failed config

ac_dimmer: [source /config/esphome/control-a6_07.yaml:51]
  
  Component ac_dimmer cannot be loaded via YAML (no CONFIG_SCHEMA).
  - id: ssr_dimmer
    zc_pin: 
      number: GPIO13
      mode: INPUT_PULLUP
    gate_pin: GPIO12
    method: leading_edge

Any ideas?

Thanks,
GJ

Where did you copy this yaml from, it looks to be an outdated format?

The pr you are calling was merged in oct 2023.

I would suggest you start by reading the docs as the will have up to date info.

1 Like

Also, esp32 gpios from 16 to 33 are general all purpose pins. Easy to remember.