Revert "Don't import from integration .const (#64608)" (#64793)

This commit is contained in:
Aaron Bach 2022-01-23 15:10:48 -07:00 committed by GitHub
parent f71e053947
commit 02fe7fe897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest
from homeassistant.components.airvisual import (
from homeassistant.components.airvisual.const import (
CONF_INTEGRATION_TYPE,
DOMAIN,
INTEGRATION_TYPE_GEOGRAPHY_COORDS,

View file

@ -10,7 +10,7 @@ from pyairvisual.errors import (
import pytest
from homeassistant import data_entry_flow
from homeassistant.components.airvisual import (
from homeassistant.components.airvisual.const import (
CONF_CITY,
CONF_COUNTRY,
CONF_GEOGRAPHIES,

View file

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest
from homeassistant.components.ambient_station import CONF_APP_KEY, DOMAIN
from homeassistant.components.ambient_station.const import CONF_APP_KEY, DOMAIN
from homeassistant.const import CONF_API_KEY
from homeassistant.setup import async_setup_component

View file

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest
from homeassistant.components.flunearyou import DOMAIN
from homeassistant.components.flunearyou.const import DOMAIN
from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE
from homeassistant.setup import async_setup_component