diff --git a/esphome/components/dfrobot_sen0395/sensor.py b/esphome/components/dfrobot_sen0395/sensor.py index 0202a8f8dd..df8d38ba3f 100644 --- a/esphome/components/dfrobot_sen0395/sensor.py +++ b/esphome/components/dfrobot_sen0395/sensor.py @@ -7,6 +7,7 @@ from esphome.components.sensor import ( ) from esphome.const import ( CONF_DEVICE_CLASS, + CONF_TARGET, CONF_TYPE, CONF_UNIT_OF_MEASUREMENT, DEVICE_CLASS_DISTANCE, @@ -18,8 +19,6 @@ from . import CONF_DFROBOT_SEN0395_ID, DfrobotSen0395Component DEPENDENCIES = ["dfrobot_sen0395"] -CONF_TARGET = "target" - _SENSOR_SCHEMA = ( sensor.sensor_schema( entity_category=ENTITY_CATEGORY_DIAGNOSTIC,