d766aae436
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: frenck <[email protected]>
19 lines
333 B
Python
19 lines
333 B
Python
"""Helper for Netatmo integration."""
|
|
|
|
from dataclasses import dataclass
|
|
from uuid import UUID, uuid4
|
|
|
|
|
|
@dataclass
|
|
class NetatmoArea:
|
|
"""Class for keeping track of an area."""
|
|
|
|
area_name: str
|
|
lat_ne: float
|
|
lon_ne: float
|
|
lat_sw: float
|
|
lon_sw: float
|
|
mode: str
|
|
show_on_map: bool
|
|
uuid: UUID = uuid4()
|