Update sensor.py

This commit is contained in:
t0urista 2024-10-29 12:12:57 +01:00 committed by GitHub
parent f213159100
commit 0a15e03972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,6 @@ from esphome.components import sensor
from esphome.const import ( from esphome.const import (
CONF_ANGLE, CONF_ANGLE,
CONF_BATTERY_LEVEL, CONF_BATTERY_LEVEL,
CONF_ID,
CONF_ILLUMINANCE, CONF_ILLUMINANCE,
CONF_HUMIDITY, CONF_HUMIDITY,
CONF_TEMPERATURE, CONF_TEMPERATURE,
@ -17,6 +16,7 @@ from esphome.const import (
UNIT_DEGREES, UNIT_DEGREES,
UNIT_LUX, UNIT_LUX,
UNIT_PERCENT, UNIT_PERCENT,
CONF_ID,
) )
from . import BTHome from . import BTHome