2021-06-29 06:37:33 +00:00
|
|
|
"""Models for the SolarEdge integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
2021-07-29 19:34:22 +00:00
|
|
|
from homeassistant.components.sensor import SensorEntityDescription
|
2021-06-29 06:37:33 +00:00
|
|
|
|
|
|
|
|
2021-07-29 19:34:22 +00:00
|
|
|
@dataclass
|
|
|
|
class SolarEdgeSensorEntityDescription(SensorEntityDescription):
|
|
|
|
"""Sensor entity description for SolarEdge."""
|
2021-06-29 06:37:33 +00:00
|
|
|
|
|
|
|
json_key: str | None = None
|