core/homeassistant/components/brother/model.py

16 lines
333 B
Python
Raw Normal View History

"""Type definitions for Brother integration."""
from __future__ import annotations
from typing import TypedDict
class SensorDescription(TypedDict, total=False):
"""Sensor description class."""
icon: str | None
label: str
unit: str | None
enabled: bool
2021-06-10 18:31:21 +00:00
state_class: str | None
device_class: str | None