def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None:
    """Handle an options update."""
    await hass.config_entries.async_reload(entry.entry_id)