mirror of
https://github.com/home-assistant/core.git
synced 2026-08-15 01:32:55 +01:00
19 lines
353 B
Python
19 lines
353 B
Python
"""Type definitions for 1-Wire integration."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from homeassistant.helpers.device_registry import DeviceInfo
|
|
|
|
|
|
@dataclass
|
|
class OWDeviceDescription:
|
|
"""1-Wire device description class."""
|
|
|
|
device_info: DeviceInfo
|
|
|
|
family: str
|
|
id: str
|
|
path: str
|
|
type: str | None
|
|
parent_id: str | None = None
|