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 import pytest
from homeassistant.components.airvisual import ( from homeassistant.components.airvisual.const import (
CONF_INTEGRATION_TYPE, CONF_INTEGRATION_TYPE,
DOMAIN, DOMAIN,
INTEGRATION_TYPE_GEOGRAPHY_COORDS, INTEGRATION_TYPE_GEOGRAPHY_COORDS,

View File

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

View File

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest 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.const import CONF_API_KEY
from homeassistant.setup import async_setup_component from homeassistant.setup import async_setup_component

View File

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest 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.const import CONF_LATITUDE, CONF_LONGITUDE
from homeassistant.setup import async_setup_component from homeassistant.setup import async_setup_component