Update __init__.py

This commit is contained in:
Daniël Koek 2024-03-26 18:56:11 +00:00
parent 2ca1b6aa09
commit d0f39ca253

View file

@ -11,7 +11,7 @@ CONFIG_SCHEMA = (
.extend( .extend(
{ {
cv.Required(CONF_LORA): cv.use_id(LoraComponent), cv.Required(CONF_LORA): cv.use_id(LoraComponent),
cv.Required(PIN_TO_SEND): cv.int_range(min=1, max=256), cv.Required(PIN_TO_SEND): cv.int_range(min=0, max=3),
} }
) )
.extend(cv.COMPONENT_SCHEMA) .extend(cv.COMPONENT_SCHEMA)