Add parallel updates to Comelit (#140527)

This commit is contained in:
Simone Chemelli 2025-03-14 10:03:29 +01:00 committed by GitHub
parent 23f4f97603
commit 5daa3167ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 24 additions and 0 deletions

View File

@ -20,6 +20,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitVedoSystem
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
_LOGGER = logging.getLogger(__name__)
AWAY = "away"

View File

@ -16,6 +16,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitVedoSystem
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -23,6 +23,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitSerialBridge
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
class ClimaComelitMode(StrEnum):
"""Serial Bridge clima modes."""

View File

@ -15,6 +15,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitSerialBridge
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -24,6 +24,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .const import DOMAIN
from .coordinator import ComelitConfigEntry, ComelitSerialBridge
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
class HumidifierComelitMode(StrEnum):
"""Serial Bridge humidifier modes."""

View File

@ -14,6 +14,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitSerialBridge
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -20,6 +20,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitSerialBridge, ComelitVedoSystem
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
SENSOR_BRIDGE_TYPES: Final = (
SensorEntityDescription(
key="power",

View File

@ -14,6 +14,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .coordinator import ComelitConfigEntry, ComelitSerialBridge
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,