mirror of
https://github.com/home-assistant/core.git
synced 2026-07-01 11:46:40 +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>
21 lines
438 B
Python
21 lines
438 B
Python
"""Models for the HomeKit component."""
|
|
|
|
from dataclasses import dataclass
|
|
from typing import TYPE_CHECKING
|
|
|
|
from homeassistant.config_entries import ConfigEntry
|
|
|
|
if TYPE_CHECKING:
|
|
from . import HomeKit
|
|
|
|
type HomeKitConfigEntry = ConfigEntry[HomeKitEntryData]
|
|
|
|
|
|
@dataclass
|
|
class HomeKitEntryData:
|
|
"""Class to hold HomeKit data."""
|
|
|
|
homekit: HomeKit
|
|
pairing_qr: bytes | None = None
|
|
pairing_qr_secret: str | None = None
|