mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 18:54:14 +01:00
Update sensor.py
This commit is contained in:
parent
68fc657cc5
commit
8ee5468083
1 changed files with 0 additions and 20 deletions
|
@ -3,26 +3,6 @@ import esphome.config_validation as cv
|
||||||
from esphome.components import sensor
|
from esphome.components import sensor
|
||||||
from . import BTHome
|
from . import BTHome
|
||||||
from esphome.const import *
|
from esphome.const import *
|
||||||
"""
|
|
||||||
from esphome.const import (
|
|
||||||
CONF_ANGLE,
|
|
||||||
CONF_BATTERY_LEVEL,
|
|
||||||
CONF_ILLUMINANCE,
|
|
||||||
CONF_HUMIDITY,
|
|
||||||
CONF_TEMPERATURE,
|
|
||||||
DEVICE_CLASS_BATTERY,
|
|
||||||
DEVICE_CLASS_ILLUMINANCE,
|
|
||||||
DEVICE_CLASS_HUMIDITY,
|
|
||||||
DEVICE_CLASS_TEMPERATURE,
|
|
||||||
ENTITY_CATEGORY_DIAGNOSTIC,
|
|
||||||
STATE_CLASS_MEASUREMENT,
|
|
||||||
UNIT_DEGREES,
|
|
||||||
UNIT_LUX,
|
|
||||||
UNIT_PERCENT,
|
|
||||||
UNIT_CELSIUS,
|
|
||||||
CONF_ID,
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
DEPENDENCIES = ["bthome"]
|
DEPENDENCIES = ["bthome"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue