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

Namespaces

 config_flow
 
 const
 
 coordinator
 
 repairs
 
 sensor
 
 utils
 
 weather
 

Classes

class  OpenweathermapData
 

Functions

bool async_migrate_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, OpenweathermapConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, OpenweathermapConfigEntry entry)
 
None async_update_options (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 OpenweathermapConfigEntry
 

Detailed Description

The openweathermap component.

Function Documentation

◆ async_migrate_entry()

bool homeassistant.components.openweathermap.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Migrate old entry.

Definition at line 72 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.openweathermap.async_setup_entry ( HomeAssistant  hass,
OpenweathermapConfigEntry   entry 
)
Set up OpenWeatherMap as config entry.

Definition at line 40 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.openweathermap.async_unload_entry ( HomeAssistant  hass,
OpenweathermapConfigEntry   entry 
)
Unload a config entry.

Definition at line 101 of file __init__.py.

◆ async_update_options()

None homeassistant.components.openweathermap.async_update_options ( HomeAssistant  hass,
ConfigEntry  entry 
)
Update options.

Definition at line 96 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 26 of file __init__.py.

◆ OpenweathermapConfigEntry

homeassistant.components.openweathermap.OpenweathermapConfigEntry

Definition at line 28 of file __init__.py.