1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-12 09:59:20 +00:00

18 lines
345 B
Python

"""Models helper class for the usb integration."""
from __future__ import annotations
from dataclasses import dataclass
@dataclass(slots=True, frozen=True, kw_only=True)
class USBDevice:
"""A usb device."""
device: str
vid: str
pid: str
serial_number: str | None
manufacturer: str | None
description: str | None