mirror of
https://github.com/home-assistant/core.git
synced 2026-05-30 04:05:01 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
16 lines
361 B
Python
16 lines
361 B
Python
"""Models for the Growatt server integration."""
|
|
|
|
from dataclasses import dataclass
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from .coordinator import GrowattCoordinator
|
|
|
|
|
|
@dataclass
|
|
class GrowattRuntimeData:
|
|
"""Runtime data for the Growatt integration."""
|
|
|
|
total_coordinator: GrowattCoordinator
|
|
devices: dict[str, GrowattCoordinator]
|