Functions | |
| None | async_migrate_entities_devices (HomeAssistant hass, str legacy_entry_id, ConfigEntry new_entry) |
| int | async_migrate_legacy_entries (HomeAssistant hass, dict[str, str] discovered_hosts_by_serial, set[str] existing_serials, ConfigEntry legacy_entry) |
Migrate lifx devices to their own config entry.
| None homeassistant.components.lifx.migration.async_migrate_entities_devices | ( | HomeAssistant | hass, |
| str | legacy_entry_id, | ||
| ConfigEntry | new_entry | ||
| ) |
Move entities and devices to the new config entry.
Definition at line 47 of file migration.py.
| int homeassistant.components.lifx.migration.async_migrate_legacy_entries | ( | HomeAssistant | hass, |
| dict[str, str] | discovered_hosts_by_serial, | ||
| set[str] | existing_serials, | ||
| ConfigEntry | legacy_entry | ||
| ) |
Migrate the legacy config entries to have an entry per device.
Definition at line 14 of file migration.py.