* current state * finish refactor * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * address MR comments * Change to sensor setup to be listener based. * remove assert for websocket handler * added assert for log * remove mixin * fix linting * fix merge change * Add clarifying comment * Apply suggestions from code review Co-authored-by: Erik Montnemery <erik@montnemery.com> * Address MR comments * bump version and fix typing check --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Erik Montnemery <erik@montnemery.com>
16 lines
310 B
Python
16 lines
310 B
Python
"""Dataclass models for the Anova integration."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from anova_wifi import AnovaApi
|
|
|
|
from .coordinator import AnovaCoordinator
|
|
|
|
|
|
@dataclass
|
|
class AnovaData:
|
|
"""Data for the Anova integration."""
|
|
|
|
api_jwt: str
|
|
coordinators: list[AnovaCoordinator]
|
|
api: AnovaApi
|