From 5ff2cac07711390b609a55fcd7d72a9e3adecb24 Mon Sep 17 00:00:00 2001 From: mettolen <1007649+mettolen@users.noreply.github.com> Date: Tue, 17 Mar 2026 08:54:37 +0200 Subject: [PATCH] Set parallel updates for Huum integration (#165749) --- homeassistant/components/huum/binary_sensor.py | 2 ++ homeassistant/components/huum/climate.py | 2 ++ homeassistant/components/huum/light.py | 2 ++ homeassistant/components/huum/number.py | 2 ++ homeassistant/components/huum/quality_scale.yaml | 2 +- homeassistant/components/huum/sensor.py | 2 ++ 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/huum/binary_sensor.py b/homeassistant/components/huum/binary_sensor.py index 7bc03e9fe94..cb5da1879c7 100644 --- a/homeassistant/components/huum/binary_sensor.py +++ b/homeassistant/components/huum/binary_sensor.py @@ -12,6 +12,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import HuumConfigEntry, HuumDataUpdateCoordinator from .entity import HuumBaseEntity +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/huum/climate.py b/homeassistant/components/huum/climate.py index c520880e691..9eabd0344ac 100644 --- a/homeassistant/components/huum/climate.py +++ b/homeassistant/components/huum/climate.py @@ -24,6 +24,8 @@ from .entity import HuumBaseEntity _LOGGER = logging.getLogger(__name__) +PARALLEL_UPDATES = 1 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/huum/light.py b/homeassistant/components/huum/light.py index 9d3ec54101d..5881d2d08b9 100644 --- a/homeassistant/components/huum/light.py +++ b/homeassistant/components/huum/light.py @@ -15,6 +15,8 @@ from .entity import HuumBaseEntity _LOGGER = logging.getLogger(__name__) +PARALLEL_UPDATES = 1 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/huum/number.py b/homeassistant/components/huum/number.py index 4c3a6ff0cae..161fd4f5f36 100644 --- a/homeassistant/components/huum/number.py +++ b/homeassistant/components/huum/number.py @@ -16,6 +16,8 @@ from .entity import HuumBaseEntity _LOGGER = logging.getLogger(__name__) +PARALLEL_UPDATES = 1 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/huum/quality_scale.yaml b/homeassistant/components/huum/quality_scale.yaml index b7bb9b991ce..e36f91b159c 100644 --- a/homeassistant/components/huum/quality_scale.yaml +++ b/homeassistant/components/huum/quality_scale.yaml @@ -45,7 +45,7 @@ rules: comment: | PLANNED: Remove _LOGGER.error from coordinator.py — the message is already passed to UpdateFailed, so logging it separately is redundant. - parallel-updates: todo + parallel-updates: done reauthentication-flow: todo test-coverage: status: todo diff --git a/homeassistant/components/huum/sensor.py b/homeassistant/components/huum/sensor.py index 9629fcfdf88..0ceed8510d0 100644 --- a/homeassistant/components/huum/sensor.py +++ b/homeassistant/components/huum/sensor.py @@ -14,6 +14,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import HuumConfigEntry, HuumDataUpdateCoordinator from .entity import HuumBaseEntity +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant,