core/homeassistant/components/usb/models.py

17 lines
305 B
Python

"""Models helper class for the usb integration."""
from __future__ import annotations
from dataclasses import dataclass
@dataclass
class USBDevice:
"""A usb device."""
device: str
vid: str
pid: str
serial_number: str | None
manufacturer: str | None
description: str | None