16 lines
333 B
Python
16 lines
333 B
Python
"""Type definitions for AccuWeather 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_metric: str | None
|
|
unit_imperial: str | None
|
|
enabled: bool
|