Cancel timer on enphase_envoy config entry unload (#111406)
* lingeringtimer * Add async_cleanup to enphase_envoy_coordinator and call from unload_entry
This commit is contained in:
parent
c9ff618ef0
commit
bbaa0c16cc
3 changed files with 9 additions and 1 deletions
|
@ -343,7 +343,7 @@ def mock_envoy_fixture(
|
|||
|
||||
|
||||
@pytest.fixture(name="setup_enphase_envoy")
|
||||
async def setup_enphase_envoy_fixture(hass, config, mock_envoy):
|
||||
async def setup_enphase_envoy_fixture(hass: HomeAssistant, config, mock_envoy):
|
||||
"""Define a fixture to set up Enphase Envoy."""
|
||||
with (
|
||||
patch(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue