I want to set up a the Raspberry pi binary Sensor with a hardware switch but i don’t know how to wire it up correctly and configure it.
This is my wireing but I don’t if it is correct.
And this is my Config:
binary_sensor:
- platform: rpi_gpio
ports:
12: Space
pull_mode: DOWN
I have all GPIO pins free