From 263e0acd3a48b9d4232b49668744eb5535e9f609 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 27 Dec 2024 20:43:30 +0100 Subject: [PATCH] Set PARALLEL_UPDATES for incomfort entity platforms (#134110) --- homeassistant/components/incomfort/binary_sensor.py | 2 ++ homeassistant/components/incomfort/climate.py | 2 ++ homeassistant/components/incomfort/sensor.py | 2 ++ homeassistant/components/incomfort/water_heater.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/homeassistant/components/incomfort/binary_sensor.py b/homeassistant/components/incomfort/binary_sensor.py index a94e1fac504f3..45da990d44fa9 100644 --- a/homeassistant/components/incomfort/binary_sensor.py +++ b/homeassistant/components/incomfort/binary_sensor.py @@ -20,6 +20,8 @@ from .coordinator import InComfortDataCoordinator from .entity import IncomfortBoilerEntity +PARALLEL_UPDATES = 0 + @dataclass(frozen=True, kw_only=True) class IncomfortBinarySensorEntityDescription(BinarySensorEntityDescription): diff --git a/homeassistant/components/incomfort/climate.py b/homeassistant/components/incomfort/climate.py index 4147018005163..caebcfdb23b8b 100644 --- a/homeassistant/components/incomfort/climate.py +++ b/homeassistant/components/incomfort/climate.py @@ -22,6 +22,8 @@ from .coordinator import InComfortDataCoordinator from .entity import IncomfortEntity +PARALLEL_UPDATES = 1 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/incomfort/sensor.py b/homeassistant/components/incomfort/sensor.py index e0d6740f1d4d6..e3cc52fb3a7db 100644 --- a/homeassistant/components/incomfort/sensor.py +++ b/homeassistant/components/incomfort/sensor.py @@ -22,6 +22,8 @@ from .coordinator import InComfortDataCoordinator from .entity import IncomfortBoilerEntity +PARALLEL_UPDATES = 0 + @dataclass(frozen=True, kw_only=True) class IncomfortSensorEntityDescription(SensorEntityDescription): diff --git a/homeassistant/components/incomfort/water_heater.py b/homeassistant/components/incomfort/water_heater.py index e7620ac2a1a37..5b676b3b7ff9c 100644 --- a/homeassistant/components/incomfort/water_heater.py +++ b/homeassistant/components/incomfort/water_heater.py @@ -20,6 +20,8 @@ HEATER_ATTRS = ["display_code", "display_text", "is_burning"] +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant,