Files
core/homeassistant/components/gios/model.py
2021-07-04 11:54:07 -05:00

13 lines
263 B
Python

"""Type definitions for GIOS integration."""
from __future__ import annotations
from typing import Callable, TypedDict
class SensorDescription(TypedDict, total=False):
"""Sensor description class."""
unit: str
state_class: str
value: Callable