mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Remove obsolete variables in WAQI (#148975)
This commit is contained in:
parent
29afa891ec
commit
c074453763
@ -4,7 +4,6 @@ from __future__ import annotations
|
||||
|
||||
from collections.abc import Callable
|
||||
from dataclasses import dataclass
|
||||
import logging
|
||||
|
||||
from aiowaqi import WAQIAirQuality
|
||||
from aiowaqi.models import Pollutant
|
||||
@ -26,17 +25,6 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
from .const import DOMAIN
|
||||
from .coordinator import WAQIDataUpdateCoordinator
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_DOMINENTPOL = "dominentpol"
|
||||
ATTR_HUMIDITY = "humidity"
|
||||
ATTR_NITROGEN_DIOXIDE = "nitrogen_dioxide"
|
||||
ATTR_OZONE = "ozone"
|
||||
ATTR_PM10 = "pm_10"
|
||||
ATTR_PM2_5 = "pm_2_5"
|
||||
ATTR_PRESSURE = "pressure"
|
||||
ATTR_SULFUR_DIOXIDE = "sulfur_dioxide"
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class WAQISensorEntityDescription(SensorEntityDescription):
|
||||
|
Loading…
x
Reference in New Issue
Block a user