mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 08:26:41 +01:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
20 lines
404 B
Python
20 lines
404 B
Python
"""Custom types for Touchline."""
|
|
|
|
from __future__ import annotations
|
|
|
|
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
|