Home Assistant Unofficial Reference
2024.12.1
model.py
Go to the documentation of this file.
1
"""Type definitions for 1-Wire integration."""
2
3
from
__future__
import
annotations
4
5
from
dataclasses
import
dataclass
6
7
from
homeassistant.helpers.device_registry
import
DeviceInfo
8
9
10
@dataclass
11
class
OWDeviceDescription
:
12
"""1-Wire device description class."""
13
14
device_info: DeviceInfo
15
16
family: str
17
id: str
18
path: str
19
type: str |
None
homeassistant.components.onewire.model.OWDeviceDescription
Definition:
model.py:11
homeassistant.helpers.device_registry
Definition:
device_registry.py:1
core
homeassistant
components
onewire
model.py
Generated by
1.9.1