mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Set parallel updates for Peblar Rocksolid EV Chargers integration (#133786)
This commit is contained in:
parent
88eb550ec1
commit
cdd73a5c5a
@ -19,6 +19,8 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
from .const import DOMAIN
|
||||
from .coordinator import PeblarConfigEntry, PeblarData, PeblarDataUpdateCoordinator
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
|
@ -22,6 +22,8 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
from .const import DOMAIN
|
||||
from .coordinator import PeblarConfigEntry, PeblarUserConfigurationDataUpdateCoordinator
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarButtonEntityDescription(ButtonEntityDescription):
|
||||
|
@ -27,6 +27,8 @@ from .coordinator import (
|
||||
PeblarRuntimeData,
|
||||
)
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarNumberEntityDescription(NumberEntityDescription):
|
||||
|
@ -38,7 +38,7 @@ rules:
|
||||
entity-unavailable: done
|
||||
integration-owner: done
|
||||
log-when-unavailable: done
|
||||
parallel-updates: todo
|
||||
parallel-updates: done
|
||||
reauthentication-flow: done
|
||||
test-coverage: todo
|
||||
# Gold
|
||||
|
@ -18,6 +18,8 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
from .const import DOMAIN
|
||||
from .coordinator import PeblarConfigEntry, PeblarUserConfigurationDataUpdateCoordinator
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarSelectEntityDescription(SelectEntityDescription):
|
||||
|
@ -34,6 +34,8 @@ from .const import (
|
||||
)
|
||||
from .coordinator import PeblarConfigEntry, PeblarData, PeblarDataUpdateCoordinator
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarSensorDescription(SensorEntityDescription):
|
||||
|
@ -23,6 +23,8 @@ from .coordinator import (
|
||||
PeblarRuntimeData,
|
||||
)
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarSwitchEntityDescription(SwitchEntityDescription):
|
||||
|
@ -22,6 +22,8 @@ from .coordinator import (
|
||||
PeblarVersionInformation,
|
||||
)
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class PeblarUpdateEntityDescription(UpdateEntityDescription):
|
||||
|
Loading…
x
Reference in New Issue
Block a user