mirror of
https://github.com/home-assistant/core.git
synced 2026-05-20 07:20:14 +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>
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
|