Add PARALLEL_UPDATES = 0 to Reolink platforms (#131165)

pull/131200/head
starkillerOG 2024-11-21 19:21:57 +01:00 committed by GitHub
parent 5fa4739e2d
commit 1195a79479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 16 additions and 0 deletions

View File

@ -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(

View File

@ -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"

View File

@ -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)

View File

@ -28,6 +28,8 @@ from .entity import (
)
from .util import ReolinkConfigEntry, ReolinkData
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class ReolinkLightEntityDescription(

View File

@ -29,6 +29,8 @@ from .entity import (
)
from .util import ReolinkConfigEntry, ReolinkData
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class ReolinkNumberEntityDescription(

View File

@ -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)

View File

@ -29,6 +29,8 @@ from .entity import (
)
from .util import ReolinkConfigEntry, ReolinkData
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class ReolinkSensorEntityDescription(

View File

@ -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(

View File

@ -27,6 +27,8 @@ from .entity import (
)
from .util import ReolinkConfigEntry, ReolinkData
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class ReolinkSwitchEntityDescription(

View File

@ -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