mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00:00
Allow non-pullup pins for dallas (#456)
This commit is contained in:
parent
92f8b043ce
commit
7dd0dabaf5
@ -13,7 +13,7 @@ MULTI_CONF = True
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema({
|
||||
cv.GenerateID(): cv.declare_variable_id(DallasComponent),
|
||||
vol.Required(CONF_PIN): pins.input_pullup_pin,
|
||||
vol.Required(CONF_PIN): pins.input_pin,
|
||||
vol.Optional(CONF_UPDATE_INTERVAL): cv.update_interval,
|
||||
}).extend(cv.COMPONENT_SCHEMA.schema)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user