mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Add PARALLEL_UPDATES = 0 to Reolink platforms (#131165)
This commit is contained in:
parent
5fa4739e2d
commit
1195a79479
@ -28,6 +28,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||||||
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
|
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ReolinkBinarySensorEntityDescription(
|
class ReolinkBinarySensorEntityDescription(
|
||||||
|
@ -33,6 +33,7 @@ from .entity import (
|
|||||||
)
|
)
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
ATTR_SPEED = "speed"
|
ATTR_SPEED = "speed"
|
||||||
SUPPORT_PTZ_SPEED = CameraEntityFeature.STREAM
|
SUPPORT_PTZ_SPEED = CameraEntityFeature.STREAM
|
||||||
SERVICE_PTZ_MOVE = "ptz_move"
|
SERVICE_PTZ_MOVE = "ptz_move"
|
||||||
|
@ -21,6 +21,7 @@ from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescrip
|
|||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
|
@ -28,6 +28,8 @@ from .entity import (
|
|||||||
)
|
)
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ReolinkLightEntityDescription(
|
class ReolinkLightEntityDescription(
|
||||||
|
@ -29,6 +29,8 @@ from .entity import (
|
|||||||
)
|
)
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ReolinkNumberEntityDescription(
|
class ReolinkNumberEntityDescription(
|
||||||
|
@ -35,6 +35,7 @@ from .entity import (
|
|||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
|
@ -29,6 +29,8 @@ from .entity import (
|
|||||||
)
|
)
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ReolinkSensorEntityDescription(
|
class ReolinkSensorEntityDescription(
|
||||||
|
@ -21,6 +21,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||||||
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
|
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
class ReolinkSirenEntityDescription(
|
class ReolinkSirenEntityDescription(
|
||||||
|
@ -27,6 +27,8 @@ from .entity import (
|
|||||||
)
|
)
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ReolinkSwitchEntityDescription(
|
class ReolinkSwitchEntityDescription(
|
||||||
|
@ -32,6 +32,7 @@ from .entity import (
|
|||||||
)
|
)
|
||||||
from .util import ReolinkConfigEntry, ReolinkData
|
from .util import ReolinkConfigEntry, ReolinkData
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
RESUME_AFTER_INSTALL = 15
|
RESUME_AFTER_INSTALL = 15
|
||||||
POLL_AFTER_INSTALL = 120
|
POLL_AFTER_INSTALL = 120
|
||||||
POLL_PROGRESS = 2
|
POLL_PROGRESS = 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user