Skip gpio validation - #5615
Conversation
|
Hey there @amcfague, CODEOWNERS = ["@amcfague"]And run (message by NeedsCodeownersLabel) |
|
Hey there @esphome/core, mind taking a look at this pull request as it has been labeled with an integration ( |
|
If the |
To do so requires also adding platforms to platform-esspresif32, which is a bit more in depth (and for a lot of these cheapo boards, probably not worthwhile). |
|
In that case, I feel like it should be a similar option to #5287 |
Sounds very reasonable; let me update. |
|
Hey there @esphome/core, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Hey @jesserockz, I combined what would have been two overlapping functions into one, |
|
Hey @jesserockz! It's been a minute, but I merged with dev and this should be all up to date now, if you wanted to give it a pass! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #5615 +/- ##
=======================================
Coverage 53.71% 53.71%
=======================================
Files 50 50
Lines 9404 9405 +1
Branches 1653 1653
=======================================
+ Hits 5051 5052 +1
Misses 4055 4055
Partials 298 298 ☔ View full report in Codecov by Sentry. |
What does this implement/fix?
Adds an option to skip validation on pins. For custom boards, there are often differing usages--for instance, the Spotpear ESP32C3 uses GPIO12 and 13 to control the LEDs, unlike on the devkit. This enables skipping validation checks for specific pins.
Types of changes
Related issue or feature (if applicable): fixes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome.io#3699
Test Environment
Example entry for
config.yaml:Checklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: