1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-23 05:07:41 +00:00
2021-07-27 14:44:58 +02:00

15 lines
356 B
Python

"""Models for the DSMR integration."""
from __future__ import annotations
from dataclasses import dataclass
from homeassistant.components.sensor import SensorEntityDescription
@dataclass
class DSMRSensorEntityDescription(SensorEntityDescription):
"""Represents an DSMR Sensor."""
dsmr_versions: set[str] | None = None
is_gas: bool = False