mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 11:39:26 +02:00
16 lines
605 B
Python
16 lines
605 B
Python
from typing import List, TypedDict
|
|
|
|
from homeassistant.components.weather import Forecast
|
|
from irm_kmi_api import CurrentWeatherData, ExtendedForecast, RainGraph, WarningData
|
|
|
|
|
|
class ProcessedCoordinatorData(TypedDict, total=False):
|
|
"""Data class that will be exposed to the entities consuming data from an IrmKmiCoordinator"""
|
|
current_weather: CurrentWeatherData
|
|
hourly_forecast: List[Forecast] | None
|
|
daily_forecast: List[ExtendedForecast] | None
|
|
radar_forecast: List[Forecast] | None
|
|
animation: RainGraph | None
|
|
warnings: List[WarningData]
|
|
pollen: dict
|
|
country: str
|