Home Assistant Unofficial Reference 2024.12.1
types.py
Go to the documentation of this file.
1 """Typing for the SolarEdge Monitoring API."""
2 
3 from __future__ import annotations
4 
5 from typing import TypedDict
6 
7 from aiosolaredge import SolarEdge
8 
9 from homeassistant.config_entries import ConfigEntry
10 
11 type SolarEdgeConfigEntry = ConfigEntry[SolarEdgeData]
12 
13 
14 class SolarEdgeData(TypedDict):
15  """Data for the solaredge integration."""
16 
17  api_client: SolarEdge