mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Cancel enphase mac verification on unload. (#148072)
This commit is contained in:
parent
b410b414ec
commit
8ef6b62d9a
@ -63,6 +63,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: EnphaseConfigEntry) ->
|
|||||||
coordinator = entry.runtime_data
|
coordinator = entry.runtime_data
|
||||||
coordinator.async_cancel_token_refresh()
|
coordinator.async_cancel_token_refresh()
|
||||||
coordinator.async_cancel_firmware_refresh()
|
coordinator.async_cancel_firmware_refresh()
|
||||||
|
coordinator.async_cancel_mac_verification()
|
||||||
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user