diff --git a/homeassistant/components/homewizard/__init__.py b/homeassistant/components/homewizard/__init__.py index c123c9d34e1..01705d66f50 100644 --- a/homeassistant/components/homewizard/__init__.py +++ b/homeassistant/components/homewizard/__init__.py @@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: await coordinator.async_config_entry_first_refresh() except ConfigEntryNotReady: - await coordinator.api.close() # type: ignore[no-untyped-call] + await coordinator.api.close() if coordinator.api_disabled: entry.async_start_reauth(hass) diff --git a/homeassistant/components/homewizard/config_flow.py b/homeassistant/components/homewizard/config_flow.py index d46b827c88f..82c808a0f13 100644 --- a/homeassistant/components/homewizard/config_flow.py +++ b/homeassistant/components/homewizard/config_flow.py @@ -196,7 +196,7 @@ class HomeWizardConfigFlow(ConfigFlow, domain=DOMAIN): raise AbortFlow("unknown_error") from ex finally: - await energy_api.close() # type: ignore[no-untyped-call] + await energy_api.close() class RecoverableError(HomeAssistantError): diff --git a/homeassistant/components/homewizard/manifest.json b/homeassistant/components/homewizard/manifest.json index 22ee54869e3..8ef33982f61 100644 --- a/homeassistant/components/homewizard/manifest.json +++ b/homeassistant/components/homewizard/manifest.json @@ -4,7 +4,7 @@ "documentation": "https://www.home-assistant.io/integrations/homewizard", "codeowners": ["@DCSBL"], "dependencies": [], - "requirements": ["python-homewizard-energy==1.6.0"], + "requirements": ["python-homewizard-energy==1.6.1"], "zeroconf": ["_hwenergy._tcp.local."], "config_flow": true, "quality_scale": "platinum", diff --git a/requirements_all.txt b/requirements_all.txt index 24c51570138..dfe25d9762a 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2045,7 +2045,7 @@ python-gc100==1.0.3a0 python-gitlab==1.6.0 # homeassistant.components.homewizard -python-homewizard-energy==1.6.0 +python-homewizard-energy==1.6.1 # homeassistant.components.hp_ilo python-hpilo==4.3 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 51bb69e3be5..778b92224af 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1450,7 +1450,7 @@ python-forecastio==1.4.0 python-fullykiosk==0.0.12 # homeassistant.components.homewizard -python-homewizard-energy==1.6.0 +python-homewizard-energy==1.6.1 # homeassistant.components.izone python-izone==1.2.9 diff --git a/tests/components/homewizard/test_diagnostics.py b/tests/components/homewizard/test_diagnostics.py index b0885886ec0..a7c5c1e41d5 100644 --- a/tests/components/homewizard/test_diagnostics.py +++ b/tests/components/homewizard/test_diagnostics.py @@ -70,7 +70,7 @@ async def test_diagnostics( "gas_unique_id": REDACTED, "active_liter_lpm": 12.345, "total_liter_m3": 1234.567, - "external_devices": None, + "external_devices": [], }, "state": {"power_on": True, "switch_lock": False, "brightness": 255}, "system": {"cloud_enabled": True},