From cdac875e0d9f16dfcebb00a3b821628528bae7fd Mon Sep 17 00:00:00 2001 From: Thomas <10558666+mosandlt@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:02:12 +0200 Subject: [PATCH] bosch_shc: add PARALLEL_UPDATES to all platforms (#177389) --- homeassistant/components/bosch_shc/binary_sensor.py | 2 ++ homeassistant/components/bosch_shc/cover.py | 2 ++ homeassistant/components/bosch_shc/sensor.py | 2 ++ homeassistant/components/bosch_shc/switch.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/homeassistant/components/bosch_shc/binary_sensor.py b/homeassistant/components/bosch_shc/binary_sensor.py index c9632152ed8a..f77313556719 100644 --- a/homeassistant/components/bosch_shc/binary_sensor.py +++ b/homeassistant/components/bosch_shc/binary_sensor.py @@ -20,6 +20,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import BoschConfigEntry from .entity import SHCEntity +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/bosch_shc/cover.py b/homeassistant/components/bosch_shc/cover.py index 931d335da3ed..536c36786879 100644 --- a/homeassistant/components/bosch_shc/cover.py +++ b/homeassistant/components/bosch_shc/cover.py @@ -16,6 +16,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import BoschConfigEntry from .entity import SHCEntity +PARALLEL_UPDATES = 1 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/bosch_shc/sensor.py b/homeassistant/components/bosch_shc/sensor.py index 8c1d31da48a8..56da180b2ebf 100644 --- a/homeassistant/components/bosch_shc/sensor.py +++ b/homeassistant/components/bosch_shc/sensor.py @@ -33,6 +33,8 @@ from homeassistant.helpers.typing import StateType from . import BoschConfigEntry from .entity import SHCEntity +PARALLEL_UPDATES = 0 + @dataclass(frozen=True, kw_only=True) class SHCSensorEntityDescription[_DeviceT: SHCDevice](SensorEntityDescription): diff --git a/homeassistant/components/bosch_shc/switch.py b/homeassistant/components/bosch_shc/switch.py index 9537c544632e..ac3f9e110353 100644 --- a/homeassistant/components/bosch_shc/switch.py +++ b/homeassistant/components/bosch_shc/switch.py @@ -24,6 +24,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import BoschConfigEntry from .entity import SHCEntity +PARALLEL_UPDATES = 1 + @dataclass(frozen=True, kw_only=True) class SHCSwitchEntityDescription(SwitchEntityDescription):