2021-05-07 14:47:52 +00:00
|
|
|
"""Type definitions for Airly integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from typing import TypedDict
|
|
|
|
|
|
|
|
|
|
|
|
class SensorDescription(TypedDict):
|
|
|
|
"""Sensor description class."""
|
|
|
|
|
|
|
|
device_class: str | None
|
|
|
|
icon: str | None
|
|
|
|
label: str
|
|
|
|
unit: str
|
2021-05-31 14:00:58 +00:00
|
|
|
state_class: str
|