From d065475aac186368118e502d0b0a203944da42b6 Mon Sep 17 00:00:00 2001 From: Mike Fugate Date: Mon, 21 Mar 2022 14:27:51 -0400 Subject: [PATCH] Bump asyncsleepiq to 1.2.0 (#68438) Co-authored-by: J. Nick Koston --- homeassistant/components/sleepiq/coordinator.py | 9 ++++----- homeassistant/components/sleepiq/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/sleepiq/coordinator.py b/homeassistant/components/sleepiq/coordinator.py index 47512d23ce9..8d51da5f47a 100644 --- a/homeassistant/components/sleepiq/coordinator.py +++ b/homeassistant/components/sleepiq/coordinator.py @@ -34,11 +34,10 @@ class SleepIQDataUpdateCoordinator(DataUpdateCoordinator[None]): self.client = client async def _async_update_data(self) -> None: - tasks = ( - [self.client.fetch_bed_statuses()] - + [bed.foundation.update_lights() for bed in self.client.beds.values()] - + [bed.foundation.update_actuators() for bed in self.client.beds.values()] - ) + tasks = [self.client.fetch_bed_statuses()] + [ + bed.foundation.update_foundation_status() + for bed in self.client.beds.values() + ] await asyncio.gather(*tasks) diff --git a/homeassistant/components/sleepiq/manifest.json b/homeassistant/components/sleepiq/manifest.json index 24a3fc2f463..bb386f1cf42 100644 --- a/homeassistant/components/sleepiq/manifest.json +++ b/homeassistant/components/sleepiq/manifest.json @@ -3,7 +3,7 @@ "name": "SleepIQ", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/sleepiq", - "requirements": ["asyncsleepiq==1.1.2"], + "requirements": ["asyncsleepiq==1.2.0"], "codeowners": ["@mfugate1", "@kbickar"], "dhcp": [ { diff --git a/requirements_all.txt b/requirements_all.txt index 7ba6a53525e..64332f81b7e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -335,7 +335,7 @@ async-upnp-client==0.27.0 asyncpysupla==0.0.5 # homeassistant.components.sleepiq -asyncsleepiq==1.1.2 +asyncsleepiq==1.2.0 # homeassistant.components.aten_pe atenpdu==0.3.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index e9d7239f024..4f5cf484ee0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -265,7 +265,7 @@ arcam-fmj==0.12.0 async-upnp-client==0.27.0 # homeassistant.components.sleepiq -asyncsleepiq==1.1.2 +asyncsleepiq==1.2.0 # homeassistant.components.aurora auroranoaa==0.0.2