core/homeassistant/components/snooz/models.py

16 lines
311 B
Python
Raw Normal View History

"""Data models for the Snooz component."""
from dataclasses import dataclass
from bleak.backends.device import BLEDevice
from pysnooz.device import SnoozDevice
@dataclass
class SnoozConfigurationData:
"""Configuration data for Snooz."""
ble_device: BLEDevice
device: SnoozDevice
title: str