cleanup imports

This commit is contained in:
Tomaae 2022-02-01 14:07:21 +01:00
parent fa8b64625c
commit 21f795c0de
2 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,7 @@
import logging import logging
from typing import Any, Dict, Optional from typing import Any, Optional
from collections.abc import Mapping from collections.abc import Mapping
from homeassistant.const import ( from homeassistant.const import (
@ -20,7 +20,6 @@ from .const import (
) )
from homeassistant.core import callback from homeassistant.core import callback
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC
from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.dispatcher import async_dispatcher_connect
from .const import DOMAIN, DATA_CLIENT, ATTRIBUTION from .const import DOMAIN, DATA_CLIENT, ATTRIBUTION

View file

@ -2,7 +2,7 @@
from dataclasses import dataclass, field from dataclasses import dataclass, field
from typing import List from typing import List
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC
from homeassistant.helpers.entity import EntityCategory, DeviceInfo from homeassistant.helpers.entity import EntityCategory
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (
SensorDeviceClass, SensorDeviceClass,
SensorStateClass, SensorStateClass,