custom_components/best_bottrop_garbage_collection/__init__.py
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    """Unload BEST Bottrop config entry."""

    unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)

    if not hass.data[DOMAIN]:
        hass.data.pop(DOMAIN)

    return unload_ok
Unload BEST Bottrop config entry.
Unload BEST Bottrop config entry.
Unload BEST Bottrop config entry .
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
    if not hass.data[DOMAIN]:
        hass.data.pop(DOMAIN)
    return unload_ok
async def async_unload_entry ( hass : HomeAssistant , entry : ConfigEntry ) -> bool : unload_ok = await hass . config_entries . async_unload_platforms ( entry , PLATFORMS ) if not hass . data [ DOMAIN ] : hass . data . pop ( DOMAIN ) return unload_ok
Unload BEST Bottrop config entry.
Unload BEST Bottrop config entry .
"""Unload BEST Bottrop config entry."""
hass
HomeAssistant
entry
ConfigEntry