hass-core/homeassistant/components/snooz/models.py
Austin Brunkhorst 7d097d18b0
Add support for Snooz BLE devices (#78790)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-10 13:14:27 -10:00

15 lines
311 B
Python

"""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