from typing import Any
from dataclasses import dataclass, field


@dataclass(slots=True)
class DS18B20Config:
    bus_id: str = field(
        metadata={
            "label": "1-Wire Bus",
            "group": "Connection",
            "ref": {"kind": "bus"},
        }
    )

    device_id: str = field(
        metadata={
            "label": "Device ID",
            "group": "Connection",
        }
    )
