substitutions:
  name: "3ch-led"
  friendly_name: "3 Channels LED"

esphome:
  name: "${name}"
  friendly_name: "${friendly_name}"
  name_add_mac_suffix: true
  project:
    name: enerwize.3ch-led-driver
    version: "1.0"  

esp32:
  board: esp32-c6-devkitc-1
  variant: esp32c6
  flash_size: 4MB
  framework:
    type: esp-idf
    version: latest
    platform_version: 6.5.0
    sdkconfig_options:
      CONFIG_OPENTHREAD_ENABLED: n
      CONFIG_ENABLE_WIFI_STATION: y
      CONFIG_USE_MINIMAL_MDNS: y
      CONFIG_ESPTOOLPY_FLASHSIZE_4MB: y

web_server:
  port: 80

output:
  - platform: ledc
    pin: GPIO19
    id: ledch1
  - platform: ledc
    pin: GPIO20
    id: ledch2
  - platform: ledc
    pin: GPIO21
    id: ledch3

light:
  - platform: monochromatic
    output: ledch1
    name: "Channel 1"
  - platform: monochromatic
    output: ledch2
    name: "Channel 2"
  - platform: monochromatic
    output: ledch3
    name: "Channel 3"      