hello ,
i have a battery powered esp32
it has a pir sensor on gpio14
and i want this to wake up my esp32 from deepsleep
esphome prevents me to use gpio14 in 2entities
how to solve ?
binary_sensor:
- platform: gpio
pin: GPIO14 #14
name: "PIR Sensor Servobox"
device_class: motion
#on_press:
#- http_request.get: ${actionurl30secgarage}
deep_sleep:
id: deep_sleep_control
sleep_duration: 5min
run_duration:
default: 45s
gpio_wakeup_reason: 60s
wakeup_pin:
number: GPIO14
#inverted: True
#mode: INPUT_PULLUP