Cancel enphase mac verification on unload. (#148072)

This commit is contained in:
Arie Catsman
2025-07-03 22:06:38 +02:00
committed by GitHub
parent b410b414ec
commit 8ef6b62d9a

View File

@@ -63,6 +63,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: EnphaseConfigEntry) ->
coordinator = entry.runtime_data
coordinator.async_cancel_token_refresh()
coordinator.async_cancel_firmware_refresh()
coordinator.async_cancel_mac_verification()
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)