Fixed linting errors

This commit is contained in:
Robin Thoni 2024-06-24 09:08:02 +00:00 committed by GitHub
parent c73e5efcff
commit c0bc1caa70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@ from esphome.components.sensor import (
) )
from esphome.const import ( from esphome.const import (
CONF_DEVICE_CLASS, CONF_DEVICE_CLASS,
CONF_TARGET,
CONF_TYPE, CONF_TYPE,
CONF_UNIT_OF_MEASUREMENT, CONF_UNIT_OF_MEASUREMENT,
DEVICE_CLASS_DISTANCE, DEVICE_CLASS_DISTANCE,
@ -18,8 +19,6 @@ from . import CONF_DFROBOT_SEN0395_ID, DfrobotSen0395Component
DEPENDENCIES = ["dfrobot_sen0395"] DEPENDENCIES = ["dfrobot_sen0395"]
CONF_TARGET = "target"
_SENSOR_SCHEMA = ( _SENSOR_SCHEMA = (
sensor.sensor_schema( sensor.sensor_schema(
entity_category=ENTITY_CATEGORY_DIAGNOSTIC, entity_category=ENTITY_CATEGORY_DIAGNOSTIC,