mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
Add parallel updates to Vodafone Station (#140532)
This commit is contained in:
@@ -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):
|
||||
|
@@ -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,
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user