1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-29 11:45:35 +01:00
Files
core/homeassistant/components/gios/model.py
T
2021-07-28 08:21:00 +02:00

15 lines
370 B
Python

"""Type definitions for GIOS integration."""
from __future__ import annotations
from dataclasses import dataclass
from typing import Callable
from homeassistant.components.sensor import SensorEntityDescription
@dataclass
class GiosSensorEntityDescription(SensorEntityDescription):
"""Class describing GIOS sensor entities."""
value: Callable | None = round