Use homeassistant.const instead of integration const for device_info ATTR_ (#53703)

This commit is contained in:
Milan Meulemans 2021-08-02 15:11:41 +02:00 committed by GitHub
parent 4f96f05a75
commit 8ab3d9cc12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 66 additions and 90 deletions

View file

@ -6,7 +6,12 @@ import logging
from omnilogic import OmniLogic, OmniLogicException
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_NAME
from homeassistant.const import (
ATTR_IDENTIFIERS,
ATTR_MANUFACTURER,
ATTR_MODEL,
ATTR_NAME,
)
from homeassistant.core import HomeAssistant
from homeassistant.helpers.update_coordinator import (
CoordinatorEntity,
@ -14,13 +19,7 @@ from homeassistant.helpers.update_coordinator import (
UpdateFailed,
)
from .const import (
ALL_ITEM_KINDS,
ATTR_IDENTIFIERS,
ATTR_MANUFACTURER,
ATTR_MODEL,
DOMAIN,
)
from .const import ALL_ITEM_KINDS, DOMAIN
_LOGGER = logging.getLogger(__name__)