core/homeassistant/components/solaredge/models.py

14 lines
345 B
Python
Raw Normal View History

"""Models for the SolarEdge integration."""
from __future__ import annotations
from dataclasses import dataclass
from homeassistant.components.sensor import SensorEntityDescription
@dataclass
class SolarEdgeSensorEntityDescription(SensorEntityDescription):
"""Sensor entity description for SolarEdge."""
json_key: str | None = None