1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-19 23:10:15 +01:00
Files
core/homeassistant/components/usb/models.py
T
2024-03-08 10:35:23 -05:00

18 lines
306 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