From c0bc1caa70db92ee177ca32ffadff99659461c02 Mon Sep 17 00:00:00 2001 From: Robin Thoni Date: Mon, 24 Jun 2024 09:08:02 +0000 Subject: [PATCH] Fixed linting errors --- esphome/components/dfrobot_sen0395/sensor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,