mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
19 lines
339 B
Python
19 lines
339 B
Python
"""Type definitions for 1-Wire integration."""
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from homeassistant.helpers.entity import DeviceInfo
|
|
|
|
|
|
@dataclass
|
|
class OWDeviceDescription:
|
|
"""1-Wire device description class."""
|
|
|
|
device_info: DeviceInfo
|
|
|
|
family: str
|
|
id: str
|
|
path: str
|
|
type: str
|