Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.metoffice.helpers Namespace Reference

Functions

MetOfficeData fetch_data (datapoint.Manager connection, Site site, str mode)
 
Site|None fetch_site (datapoint.Manager connection, float latitude, float longitude)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Helpers used for Met Office integration.

Function Documentation

◆ fetch_data()

MetOfficeData homeassistant.components.metoffice.helpers.fetch_data ( datapoint.Manager  connection,
Site  site,
str  mode 
)
Fetch weather and forecast from Datapoint API.

Definition at line 32 of file helpers.py.

◆ fetch_site()

Site | None homeassistant.components.metoffice.helpers.fetch_site ( datapoint.Manager  connection,
float  latitude,
float   longitude 
)
Fetch site information from Datapoint API.

Definition at line 19 of file helpers.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.metoffice.helpers._LOGGER = logging.getLogger(__name__)
private

Definition at line 16 of file helpers.py.