Allow non-pullup pins for dallas (#456)

This commit is contained in:
Otto Winter 2019-02-26 16:39:20 +01:00
parent 407c46cb03
commit 971b15ac67
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -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)