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

@ -21,6 +21,9 @@ from homeassistant.components.climate.const import (
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import (
ATTR_IDENTIFIERS,
ATTR_MANUFACTURER,
ATTR_MODEL,
ATTR_NAME,
ATTR_TEMPERATURE,
TEMP_CELSIUS,
@ -29,14 +32,7 @@ from homeassistant.const import (
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from .const import (
ATTR_IDENTIFIERS,
ATTR_MANUFACTURER,
ATTR_MODEL,
ATTR_TARGET_TEMPERATURE,
DATA_BSBLAN_CLIENT,
DOMAIN,
)
from .const import ATTR_TARGET_TEMPERATURE, DATA_BSBLAN_CLIENT, DOMAIN
_LOGGER = logging.getLogger(__name__)