Home Assistant Unofficial Reference 2024.12.1
helper.py
Go to the documentation of this file.
1 """Helper for Netatmo integration."""
2 
3 from __future__ import annotations
4 
5 from dataclasses import dataclass
6 from uuid import UUID, uuid4
7 
8 
9 @dataclass
11  """Class for keeping track of an area."""
12 
13  area_name: str
14  lat_ne: float
15  lon_ne: float
16  lat_sw: float
17  lon_sw: float
18  mode: str
19  show_on_map: bool
20  uuid: UUID = uuid4()