Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hue.migration Namespace Reference

Functions

None check_migration (core.HomeAssistant hass, ConfigEntry entry)
 
None handle_v2_migration (core.HomeAssistant hass, ConfigEntry entry)
 

Variables

 LOGGER = logging.getLogger(__name__)
 

Detailed Description

Various helpers to handle config entry and api schema migrations.

Function Documentation

◆ check_migration()

None homeassistant.components.hue.migration.check_migration ( core.HomeAssistant  hass,
ConfigEntry  entry 
)
Check if config entry needs any migration actions.

Definition at line 26 of file migration.py.

◆ handle_v2_migration()

None homeassistant.components.hue.migration.handle_v2_migration ( core.HomeAssistant  hass,
ConfigEntry  entry 
)
Perform migration of devices and entities to V2 Id's.

Definition at line 69 of file migration.py.

Variable Documentation

◆ LOGGER

homeassistant.components.hue.migration.LOGGER = logging.getLogger(__name__)

Definition at line 23 of file migration.py.