From d47edd5a34ac044655c41263c24d94bbc7a6b2e2 Mon Sep 17 00:00:00 2001 From: Penny Wood Date: Mon, 29 Aug 2022 21:30:35 +0800 Subject: [PATCH] Bump pizone version (#77257) --- homeassistant/components/izone/discovery.py | 4 +--- homeassistant/components/izone/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/izone/discovery.py b/homeassistant/components/izone/discovery.py index 04b0760261e..eb6e7d4a190 100644 --- a/homeassistant/components/izone/discovery.py +++ b/homeassistant/components/izone/discovery.py @@ -59,9 +59,7 @@ async def async_start_discovery_service(hass: HomeAssistant): # Start the pizone discovery service, disco is the listener session = aiohttp_client.async_get_clientsession(hass) - loop = hass.loop - - disco.pi_disco = pizone.discovery(disco, loop=loop, session=session) + disco.pi_disco = pizone.discovery(disco, session=session) await disco.pi_disco.start_discovery() async def shutdown_event(event): diff --git a/homeassistant/components/izone/manifest.json b/homeassistant/components/izone/manifest.json index b86e86e2b58..4a225ab7cdb 100644 --- a/homeassistant/components/izone/manifest.json +++ b/homeassistant/components/izone/manifest.json @@ -2,7 +2,7 @@ "domain": "izone", "name": "iZone", "documentation": "https://www.home-assistant.io/integrations/izone", - "requirements": ["python-izone==1.2.3"], + "requirements": ["python-izone==1.2.9"], "codeowners": ["@Swamp-Ig"], "config_flow": true, "homekit": { diff --git a/requirements_all.txt b/requirements_all.txt index d3246a5aa83..37c9595143a 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1939,7 +1939,7 @@ python-homewizard-energy==1.1.0 python-hpilo==4.3 # homeassistant.components.izone -python-izone==1.2.3 +python-izone==1.2.9 # homeassistant.components.joaoapps_join python-join-api==0.0.9 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 3fa0fe132f0..60caeaf7c6a 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1332,7 +1332,7 @@ python-fullykiosk==0.0.11 python-homewizard-energy==1.1.0 # homeassistant.components.izone -python-izone==1.2.3 +python-izone==1.2.9 # homeassistant.components.juicenet python-juicenet==1.1.0