Add parallel updates to Vodafone Station (#140532)

This commit is contained in:
Simone Chemelli 2025-03-13 18:32:45 +01:00 committed by GitHub
parent 55895df54d
commit d5af542dd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,9 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
from .const import _LOGGER
from .coordinator import VodafoneConfigEntry, VodafoneStationRouter
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class VodafoneStationEntityDescription(ButtonEntityDescription):

View File

@ -15,6 +15,9 @@ from .coordinator import (
VodafoneStationRouter,
)
# 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 .const import _LOGGER, LINE_TYPES
from .coordinator import VodafoneConfigEntry, VodafoneStationRouter
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
NOT_AVAILABLE: list = ["", "N/A", "0.0.0.0"]
UPTIME_DEVIATION = 60