Cancel enphase mac verification on unload. (#148072)

This commit is contained in:
Arie Catsman 2025-07-03 22:06:38 +02:00 committed by Franck Nijhof
parent f42e7d982f
commit eb58c10e5e
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

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)