mirror of
https://github.com/home-assistant/core.git
synced 2025-06-05 21:57:08 +00:00
15 lines
370 B
Python
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
|