mirror of
https://github.com/home-assistant/core.git
synced 2025-11-26 11:08:01 +00:00
* First draft of Wyoming satellite * Set up homeassistant in tests * Move satellite * Add devices with binary sensor and select * Add more events * Add satellite enabled switch * Fix mistake * Only set up necessary platforms for satellites * Lots of fixes * Add tests * Use config entry id as satellite id * Initial satellite test * Add satellite pipeline test * More tests * More satellite tests * Only support single device per config entry * Address comments * Make a copy of platforms
14 lines
272 B
Python
14 lines
272 B
Python
"""Models for wyoming."""
|
|
from dataclasses import dataclass
|
|
|
|
from .data import WyomingService
|
|
from .satellite import WyomingSatellite
|
|
|
|
|
|
@dataclass
|
|
class DomainDataItem:
|
|
"""Domain data item."""
|
|
|
|
service: WyomingService
|
|
satellite: WyomingSatellite | None = None
|