diff --git a/esphome/components/bthome/sensor.py b/esphome/components/bthome/sensor.py index 56e2e227ba..b03be381a6 100644 --- a/esphome/components/bthome/sensor.py +++ b/esphome/components/bthome/sensor.py @@ -1,6 +1,9 @@ import esphome.codegen as cg import esphome.config_validation as cv from esphome.components import sensor +from . import BTHome +from esphome.const import * +""" from esphome.const import ( CONF_ANGLE, CONF_BATTERY_LEVEL, @@ -19,12 +22,10 @@ from esphome.const import ( UNIT_CELSIUS, CONF_ID, ) - -from . import BTHome +""" DEPENDENCIES = ["bthome"] - CONFIG_SCHEMA = cv.Schema( { cv.GenerateID(): cv.use_id(BTHome),