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

Namespaces

 config_flow
 
 const
 
 data
 
 helpers
 
 sensor
 
 weather
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
DeviceInfo get_device_info (str coordinates, str name)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list PLATFORMS = [Platform.SENSOR, Platform.WEATHER]
 

Detailed Description

The Met Office integration.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.metoffice.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up a Met Office entry.

Definition at line 44 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.metoffice.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 146 of file __init__.py.

◆ get_device_info()

DeviceInfo homeassistant.components.metoffice.get_device_info ( str  coordinates,
str  name 
)
Return device registry information.

Definition at line 156 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 39 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.metoffice.PLATFORMS = [Platform.SENSOR, Platform.WEATHER]

Definition at line 41 of file __init__.py.