mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44:13 +01:00
Fixed linting errors
This commit is contained in:
parent
c73e5efcff
commit
c0bc1caa70
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue