Remove platform const in co2signal coordinator (#100592)
parent
11a90016d0
commit
2b8690d8bc
|
@ -9,7 +9,7 @@ from typing import Any, cast
|
|||
import CO2Signal
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import CONF_API_KEY, CONF_LATITUDE, CONF_LONGITUDE, Platform
|
||||
from homeassistant.const import CONF_API_KEY, CONF_LATITUDE, CONF_LONGITUDE
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.exceptions import ConfigEntryAuthFailed
|
||||
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
|
||||
|
@ -18,7 +18,6 @@ from .const import CONF_COUNTRY_CODE, DOMAIN
|
|||
from .exceptions import APIRatelimitExceeded, CO2Error, InvalidAuth, UnknownError
|
||||
from .models import CO2SignalResponse
|
||||
|
||||
PLATFORMS = [Platform.SENSOR]
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue