Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input configuration for D1 mini does not work with INPUT_PULLDOWN #30

Open
t0mas opened this issue Sep 10, 2023 · 0 comments
Open

Input configuration for D1 mini does not work with INPUT_PULLDOWN #30

t0mas opened this issue Sep 10, 2023 · 0 comments

Comments

@t0mas
Copy link

t0mas commented Sep 10, 2023

If a pin other than GPIO16 is selected as the gpio_pin on a Wemos D1 mini device (esp8266) compilation fails with the following error:


binary_sensor.gpio: [source .esphome/packages/ebf3255d/packages/leapmmw_sensor.yml:29]
  platform: gpio
  name: mmwave_presence_detection
  id: mmwave_presence_detection
  device_class: motion
  pin: 
    number: D5
    
    Only GPIO16 supports pulldown.
    mode: INPUT_PULLDOWN

Changing the mode to INPUT instead of INPUT_PULLDOWN in the packages/leapmmw_sensor.yml file allows it to compile and function normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant