d766aae436
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: frenck <[email protected]>
18 lines
368 B
Python
18 lines
368 B
Python
"""Custom types for Touchline."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from pytouchline_extended import PyTouchline
|
|
|
|
from homeassistant.config_entries import ConfigEntry
|
|
|
|
type TouchlineConfigEntry = ConfigEntry[TouchlineData]
|
|
|
|
|
|
@dataclass
|
|
class TouchlineData:
|
|
"""Runtime data for the Touchline integration."""
|
|
|
|
touchline: PyTouchline
|
|
number_of_devices: int
|