Closed ficueu closed 2 years ago
Can you try esphome/esphome#2855?
external_components:
- source: github://pr#2855
components: [ mcp23x17_base ]
Hey there @jesserockz, mind taking a look at this issue as it has been labeled with an integration (mcp23x17_base
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
@oxan, tried, working great. Tested on few gpios.
The problem
If previous firmware set pullup: true - pullup is enabled, next while trying to upload new firmware with changed pullup: false input has still enabled pullup resistor. Looks like MCP remember last set registers while ESPHome not setting those properly after reboot.
Steps to reproducing this problem:
Next I wrote sample sketch with Arduino and execute command to disable pullup on pin 0 then measured voltage and it was 0V.
Which version of ESPHome has the issue?
2021.11.4
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
core-2021.11.5
What platform are you using?
ESP32
Board
esp32-dev
Component causing the issue
mcp23017
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response