1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-21 04:32:23 +01:00

[pins] Update `internal_gpio_pin_number to work directly like internal_gpio_output_pin_number` (#9270)

This commit is contained in:
Jesse Hills
2025-07-01 08:09:11 +12:00
committed by GitHub
parent 0cbb5e6c1c
commit 98e106e0ae
2 changed files with 5 additions and 10 deletions

View File

@@ -220,7 +220,9 @@ def gpio_flags_expr(mode):
gpio_pin_schema = _schema_creator
internal_gpio_pin_number = _internal_number_creator
internal_gpio_pin_number = _internal_number_creator(
{CONF_OUTPUT: True, CONF_INPUT: True}
)
gpio_output_pin_schema = _schema_creator(
{
CONF_OUTPUT: True,