1
0
mirror of https://github.com/elisspace/core.git synced 2026-08-29 15:43:55 +00:00
Files
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

16 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