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

Namespaces

 camera
 
 config_flow
 
 const
 
 diagnostics
 

Functions

None _async_migrate_unique_ids (HomeAssistant hass, ConfigEntry entry)
 
None _async_update_listener (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

string DOMAIN = "generic"
 
list PLATFORMS = [Platform.CAMERA]
 

Detailed Description

The generic component.

Function Documentation

◆ _async_migrate_unique_ids()

None homeassistant.components.generic._async_migrate_unique_ids ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Migrate entities to the new unique id.

Definition at line 21 of file __init__.py.

◆ _async_update_listener()

None homeassistant.components.generic._async_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Handle options update.

Definition at line 16 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.generic.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up generic IP camera from a config entry.

Definition at line 36 of file __init__.py.

◆ async_unload_entry()

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

Definition at line 46 of file __init__.py.

Variable Documentation

◆ DOMAIN

string homeassistant.components.generic.DOMAIN = "generic"

Definition at line 12 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.generic.PLATFORMS = [Platform.CAMERA]

Definition at line 13 of file __init__.py.