Use relative imports in sensor (#62638)
This commit is contained in:
parent
bda1f02371
commit
cd452552af
2 changed files with 2 additions and 4 deletions
|
@ -8,7 +8,6 @@ from homeassistant.components.device_automation.exceptions import (
|
|||
from homeassistant.components.homeassistant.triggers import (
|
||||
numeric_state as numeric_state_trigger,
|
||||
)
|
||||
from homeassistant.components.sensor import SensorDeviceClass
|
||||
from homeassistant.const import (
|
||||
CONF_ABOVE,
|
||||
CONF_BELOW,
|
||||
|
@ -21,7 +20,7 @@ from homeassistant.helpers import config_validation as cv
|
|||
from homeassistant.helpers.entity import get_device_class, get_unit_of_measurement
|
||||
from homeassistant.helpers.entity_registry import async_entries_for_device
|
||||
|
||||
from . import DOMAIN
|
||||
from . import DOMAIN, SensorDeviceClass
|
||||
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue