From a34992c0b517521b312f18812e431f5acedac664 Mon Sep 17 00:00:00 2001 From: Maikel Punie Date: Mon, 16 Dec 2024 15:13:50 +0100 Subject: [PATCH] Velbus add PARALLEL_UPDATES to all platforms (#133155) --- homeassistant/components/velbus/binary_sensor.py | 2 ++ homeassistant/components/velbus/button.py | 2 ++ homeassistant/components/velbus/climate.py | 2 ++ homeassistant/components/velbus/cover.py | 2 ++ homeassistant/components/velbus/light.py | 2 ++ homeassistant/components/velbus/quality_scale.yaml | 2 +- homeassistant/components/velbus/select.py | 2 ++ homeassistant/components/velbus/sensor.py | 2 ++ homeassistant/components/velbus/switch.py | 2 ++ 9 files changed, 17 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index 584f28e394a..88dc994efe8 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -9,6 +9,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/button.py b/homeassistant/components/velbus/button.py index 910ae59b69e..fc943159123 100644 --- a/homeassistant/components/velbus/button.py +++ b/homeassistant/components/velbus/button.py @@ -15,6 +15,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity, api_call +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index e9128ef7de1..b2f3077ecee 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -20,6 +20,8 @@ from . import VelbusConfigEntry from .const import DOMAIN, PRESET_MODES from .entity import VelbusEntity, api_call +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/cover.py b/homeassistant/components/velbus/cover.py index 9257dd3f36f..2ddea37f2d6 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -17,6 +17,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity, api_call +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/light.py b/homeassistant/components/velbus/light.py index afe3104aa9a..1adf52a8198 100644 --- a/homeassistant/components/velbus/light.py +++ b/homeassistant/components/velbus/light.py @@ -28,6 +28,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity, api_call +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/quality_scale.yaml b/homeassistant/components/velbus/quality_scale.yaml index 9a48e84da93..477b6768e71 100644 --- a/homeassistant/components/velbus/quality_scale.yaml +++ b/homeassistant/components/velbus/quality_scale.yaml @@ -36,7 +36,7 @@ rules: entity-unavailable: todo integration-owner: done log-when-unavailable: done - parallel-updates: todo + parallel-updates: done reauthentication-flow: status: exempt comment: | diff --git a/homeassistant/components/velbus/select.py b/homeassistant/components/velbus/select.py index c0a0a5f532d..6c2dfe0a3b1 100644 --- a/homeassistant/components/velbus/select.py +++ b/homeassistant/components/velbus/select.py @@ -10,6 +10,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity, api_call +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index 2c341ea851d..77833da3ee1 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -15,6 +15,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index dccb0a02ffa..8256e716d4f 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -11,6 +11,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from . import VelbusConfigEntry from .entity import VelbusEntity, api_call +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant,