mirror of
https://github.com/elisspace/core.git
synced 2026-10-07 09:38:43 +00:00
15 lines
303 B
Python
15 lines
303 B
Python
"""Type definitions for Nettig Air Monitor integration."""
|
|
from __future__ import annotations
|
|
|
|
from typing import TypedDict
|
|
|
|
|
|
class SensorDescription(TypedDict):
|
|
"""Sensor description class."""
|
|
|
|
label: str
|
|
unit: str | None
|
|
device_class: str | None
|
|
icon: str | None
|
|
enabled: bool
|