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:
Arie Catsman 2024-04-24 16:33:14 +02:00 committed by GitHub
parent c9ff618ef0
commit bbaa0c16cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -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(