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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)