03-14-2026, 08:07 PM
Hi - with esp-idf in ESPHome, how can I access the state of the physical on device switches?
I can't seem to observe those on any GPIO pins.
I would like to configure (in esphome) some of them to control their output relay directly, but for others for them to act as momentary switches. I can manage all the coding myself if I can work out where to observe their state...
Thanks.
I can't seem to observe those on any GPIO pins.
I would like to configure (in esphome) some of them to control their output relay directly, but for others for them to act as momentary switches. I can manage all the coding myself if I can work out where to observe their state...
Thanks.

