mirror of
https://github.com/esphome/esphome.git
synced 2025-09-08 22:32:21 +01:00
Ruff format for CI (#8276)
This commit is contained in:
committed by
GitHub
parent
31e90e5544
commit
3020083564
@@ -112,8 +112,7 @@ def validate_supports(value):
|
||||
)
|
||||
if is_pullup and num == 16:
|
||||
raise cv.Invalid(
|
||||
"GPIO Pin 16 does not support pullup pin mode. "
|
||||
"Please choose another pin.",
|
||||
"GPIO Pin 16 does not support pullup pin mode. Please choose another pin.",
|
||||
[CONF_MODE, CONF_PULLUP],
|
||||
)
|
||||
if is_pulldown and num != 16:
|
||||
|
Reference in New Issue
Block a user