diff --git a/esphome/components/dht/sensor.py b/esphome/components/dht/sensor.py index f32f822fa3..0859e9d632 100644 --- a/esphome/components/dht/sensor.py +++ b/esphome/components/dht/sensor.py @@ -5,7 +5,6 @@ from esphome.components import sensor from esphome.const import ( CONF_HUMIDITY, CONF_ID, - CONF_INTERNAL_PULLUP, CONF_MODEL, CONF_PIN, CONF_TEMPERATURE, @@ -31,6 +30,7 @@ DHT_MODELS = { "DHT22_TYPE2": DHTModel.DHT_MODEL_DHT22_TYPE2, } DHT = dht_ns.class_("DHT", cg.PollingComponent) +CONF_INTERNAL_PULLUP = "use_internal_pullup" CONFIG_SCHEMA = cv.Schema( { diff --git a/esphome/const.py b/esphome/const.py index b8b34045c7..d42ee5ee72 100644 --- a/esphome/const.py +++ b/esphome/const.py @@ -411,7 +411,6 @@ CONF_INTERLOCK = "interlock" CONF_INTERNAL = "internal" CONF_INTERNAL_FILTER = "internal_filter" CONF_INTERNAL_FILTER_MODE = "internal_filter_mode" -CONF_INTERNAL_PULLUP = "use_internal_pullup" CONF_INTERNAL_TEMPERATURE = "internal_temperature" CONF_INTERRUPT = "interrupt" CONF_INTERRUPT_PIN = "interrupt_pin"