Skip to content

Commit 1195a79

Browse files
authored
Add PARALLEL_UPDATES = 0 to Reolink platforms (#131165)
1 parent 5fa4739 commit 1195a79

File tree

10 files changed

+16
-0
lines changed

10 files changed

+16
-0
lines changed

homeassistant/components/reolink/binary_sensor.py

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
2929
from .util import ReolinkConfigEntry, ReolinkData
3030

31+
PARALLEL_UPDATES = 0
32+
3133

3234
@dataclass(frozen=True, kw_only=True)
3335
class ReolinkBinarySensorEntityDescription(

homeassistant/components/reolink/button.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
)
3434
from .util import ReolinkConfigEntry, ReolinkData
3535

36+
PARALLEL_UPDATES = 0
3637
ATTR_SPEED = "speed"
3738
SUPPORT_PTZ_SPEED = CameraEntityFeature.STREAM
3839
SERVICE_PTZ_MOVE = "ptz_move"

homeassistant/components/reolink/camera.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from .util import ReolinkConfigEntry, ReolinkData
2222

2323
_LOGGER = logging.getLogger(__name__)
24+
PARALLEL_UPDATES = 0
2425

2526

2627
@dataclass(frozen=True, kw_only=True)

homeassistant/components/reolink/light.py

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
)
2929
from .util import ReolinkConfigEntry, ReolinkData
3030

31+
PARALLEL_UPDATES = 0
32+
3133

3234
@dataclass(frozen=True, kw_only=True)
3335
class ReolinkLightEntityDescription(

homeassistant/components/reolink/number.py

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
)
3030
from .util import ReolinkConfigEntry, ReolinkData
3131

32+
PARALLEL_UPDATES = 0
33+
3234

3335
@dataclass(frozen=True, kw_only=True)
3436
class ReolinkNumberEntityDescription(

homeassistant/components/reolink/select.py

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
from .util import ReolinkConfigEntry, ReolinkData
3636

3737
_LOGGER = logging.getLogger(__name__)
38+
PARALLEL_UPDATES = 0
3839

3940

4041
@dataclass(frozen=True, kw_only=True)

homeassistant/components/reolink/sensor.py

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
)
3030
from .util import ReolinkConfigEntry, ReolinkData
3131

32+
PARALLEL_UPDATES = 0
33+
3234

3335
@dataclass(frozen=True, kw_only=True)
3436
class ReolinkSensorEntityDescription(

homeassistant/components/reolink/siren.py

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
from .entity import ReolinkChannelCoordinatorEntity, ReolinkChannelEntityDescription
2222
from .util import ReolinkConfigEntry, ReolinkData
2323

24+
PARALLEL_UPDATES = 0
25+
2426

2527
@dataclass(frozen=True)
2628
class ReolinkSirenEntityDescription(

homeassistant/components/reolink/switch.py

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
)
2828
from .util import ReolinkConfigEntry, ReolinkData
2929

30+
PARALLEL_UPDATES = 0
31+
3032

3133
@dataclass(frozen=True, kw_only=True)
3234
class ReolinkSwitchEntityDescription(

homeassistant/components/reolink/update.py

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
)
3333
from .util import ReolinkConfigEntry, ReolinkData
3434

35+
PARALLEL_UPDATES = 0
3536
RESUME_AFTER_INSTALL = 15
3637
POLL_AFTER_INSTALL = 120
3738
POLL_PROGRESS = 2

0 commit comments

Comments
 (0)