As a HA newbie I struggled, but got the below ESPHome (HA Integration/Add -on) config yaml code working along with associated HA automation (albeit with headaches, bleary eyes & calloused fingers from counting spaces) but now find myself stymied trying to add a second identical sensor but on a different pin, in the existing working yaml for the esp32dev board.
Just copying the working sensor code section & pasting it below the working code (after changing the pin number and name) refuses to compile and I have run out of resolution ideas to try.
My efforts to go forward have not worked & my ask Google buddy has failed to point me to an answer (or even a good hint) and I lack the experience to sort. Suspect I’m banging my head because I’m going about it the wrong way, or even that it can not be done, Just have no idea.
Help is requested, PLEASE
TIA
…
sensor:
- platform: adc
pin: 34
name: Frontdoorbell
update_interval: 2s
filters:- multiply: 100’
…
- multiply: 100’
below fails to compile
#sensor: