mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 16:47:57 +01:00
fix dallas pin validation (#1692)
This commit is contained in:
parent
3d917d0b7e
commit
387f249363
@ -15,7 +15,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||||||
{
|
{
|
||||||
cv.GenerateID(): cv.declare_id(DallasComponent),
|
cv.GenerateID(): cv.declare_id(DallasComponent),
|
||||||
cv.GenerateID(CONF_ONE_WIRE_ID): cv.declare_id(ESPOneWire),
|
cv.GenerateID(CONF_ONE_WIRE_ID): cv.declare_id(ESPOneWire),
|
||||||
cv.Required(CONF_PIN): pins.gpio_input_pin_schema,
|
cv.Required(CONF_PIN): pins.internal_gpio_output_pin_schema,
|
||||||
}
|
}
|
||||||
).extend(cv.polling_component_schema("60s"))
|
).extend(cv.polling_component_schema("60s"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user