Add PARALLEL_UPDATES = 0 to Reolink platforms (#131165)
parent
5fa4739e2d
commit
1195a79479
|
@ -28,6 +28,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkBinarySensorEntityDescription(
|
||||
|
|
|
@ -33,6 +33,7 @@ from .entity import (
|
|||
)
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
ATTR_SPEED = "speed"
|
||||
SUPPORT_PTZ_SPEED = CameraEntityFeature.STREAM
|
||||
SERVICE_PTZ_MOVE = "ptz_move"
|
||||
|
|
|
@ -21,6 +21,7 @@ from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescrip
|
|||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
|
|
|
@ -28,6 +28,8 @@ from .entity import (
|
|||
)
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkLightEntityDescription(
|
||||
|
|
|
@ -29,6 +29,8 @@ from .entity import (
|
|||
)
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkNumberEntityDescription(
|
||||
|
|
|
@ -35,6 +35,7 @@ from .entity import (
|
|||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
|
|
|
@ -29,6 +29,8 @@ from .entity import (
|
|||
)
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkSensorEntityDescription(
|
||||
|
|
|
@ -21,6 +21,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class ReolinkSirenEntityDescription(
|
||||
|
|
|
@ -27,6 +27,8 @@ from .entity import (
|
|||
)
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkSwitchEntityDescription(
|
||||
|
|
|
@ -32,6 +32,7 @@ from .entity import (
|
|||
)
|
||||
from .util import ReolinkConfigEntry, ReolinkData
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
RESUME_AFTER_INSTALL = 15
|
||||
POLL_AFTER_INSTALL = 120
|
||||
POLL_PROGRESS = 2
|
||||
|
|
Loading…
Reference in New Issue