mirror of
https://github.com/esphome/esphome.git
synced 2025-09-13 00:32:20 +01:00
Allow validation of pins based on hub config (#5647)
This commit is contained in:
@@ -11,10 +11,10 @@ from esphome.const import (
|
||||
CONF_PULLUP,
|
||||
CONF_IGNORE_STRAPPING_WARNING,
|
||||
)
|
||||
from esphome.util import SimpleRegistry
|
||||
from esphome.util import PinRegistry
|
||||
from esphome.core import CORE
|
||||
|
||||
PIN_SCHEMA_REGISTRY = SimpleRegistry()
|
||||
PIN_SCHEMA_REGISTRY = PinRegistry()
|
||||
|
||||
|
||||
def _set_mode(value, default_mode):
|
||||
|
Reference in New Issue
Block a user