* current state * finish refactor * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <[email protected]> * 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 <[email protected]> * Address MR comments * bump version and fix typing check --------- Co-authored-by: Joost Lekkerkerker <[email protected]> Co-authored-by: Erik Montnemery <[email protected]>
17 lines
310 B
Python
17 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
|