mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
fix dallas pin validation (#1692)
This commit is contained in:
parent
3d917d0b7e
commit
387f249363
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
{
|
||||
cv.GenerateID(): cv.declare_id(DallasComponent),
|
||||
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"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue