mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Add parallel updates to Vodafone Station (#140532)
This commit is contained in:
parent
55895df54d
commit
d5af542dd1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user