mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Checks for pins used in multiple places (#5666)
This commit is contained in:
@@ -39,9 +39,8 @@ def _bus_declare_type(value):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
pin_with_input_and_output_support = cv.All(
|
||||
pins.internal_gpio_pin_number({CONF_INPUT: True}),
|
||||
pins.internal_gpio_pin_number({CONF_OUTPUT: True}),
|
||||
pin_with_input_and_output_support = pins.internal_gpio_pin_number(
|
||||
{CONF_OUTPUT: True, CONF_INPUT: True}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user