hello guys i have ESP32
im trying to install dimmer however i got this error
ERROR Error while reading config: Invalid YAML syntax:
mapping values are not allowed here
in “/config/esphome/test.yaml”, line 37, column 8
somthing to do with pin: GPIO19.
any help ?
the code is this
esphome:
name: test
friendly_name: test
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "0po2eIYdC25FSnUaTIrqmaLmrMBMdlli1S56Tb4x54s="
ota:
- platform: esphome
password: "cae5b86d96fe5229d46a8d11d67a0f7c"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test Fallback Hotspot"
password: "d2Wh0MrDabqS"
captive_portal:
output:
- platform: ledc
pin: GPIO19
id: gpio_19
frequency: "1000Hz"
light:
- platform: monochromatic
output: gpio_19
name: "ESP32 Dimmer