Home Assistant Unofficial Reference 2024.12.1
models.py
Go to the documentation of this file.
1 """The tplink integration models."""
2 
3 from __future__ import annotations
4 
5 from dataclasses import dataclass
6 
7 from .coordinator import TPLinkDataUpdateCoordinator
8 
9 
10 @dataclass(slots=True)
11 class TPLinkData:
12  """Data for the tplink integration."""
13 
14  parent_coordinator: TPLinkDataUpdateCoordinator
15  children_coordinators: list[TPLinkDataUpdateCoordinator]