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

Namespaces

 config_flow
 
 const
 
 coordinator
 
 weather
 

Functions

bool async_setup_entry (HomeAssistant hass, MetWeatherConfigEntry config_entry)
 
bool async_unload_entry (HomeAssistant hass, MetWeatherConfigEntry config_entry)
 
def async_update_entry (HomeAssistant hass, MetWeatherConfigEntry config_entry)
 
None cleanup_old_device (HomeAssistant hass)
 

Variables

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

Detailed Description

The met component.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.met.async_setup_entry ( HomeAssistant  hass,
MetWeatherConfigEntry   config_entry 
)
Set up Met as config entry.

Definition at line 27 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.met.async_unload_entry ( HomeAssistant  hass,
MetWeatherConfigEntry   config_entry 
)
Unload a config entry.

Definition at line 63 of file __init__.py.

◆ async_update_entry()

def homeassistant.components.met.async_update_entry ( HomeAssistant  hass,
MetWeatherConfigEntry  config_entry 
)
Reload Met component when options changed.

Definition at line 70 of file __init__.py.

◆ cleanup_old_device()

None homeassistant.components.met.cleanup_old_device ( HomeAssistant  hass)
Cleanup device without proper device identifier.

Definition at line 75 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 22 of file __init__.py.

◆ MetWeatherConfigEntry

homeassistant.components.met.MetWeatherConfigEntry

Definition at line 24 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.met.PLATFORMS = [Platform.WEATHER]

Definition at line 20 of file __init__.py.