Skip to content

Commit 07e2c8a

Browse files
authored
Add PARALLEL_UPDATES to Xbox integration (home-assistant#157074)
1 parent 43783ed commit 07e2c8a

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

homeassistant/components/xbox/binary_sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
profile_pic,
2727
)
2828

29+
PARALLEL_UPDATES = 0
30+
2931

3032
class XboxBinarySensor(StrEnum):
3133
"""Xbox binary sensor."""

homeassistant/components/xbox/media_player.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
from .coordinator import XboxConfigEntry
2626
from .entity import XboxConsoleBaseEntity
2727

28+
PARALLEL_UPDATES = 1
29+
2830
SUPPORT_XBOX = (
2931
MediaPlayerEntityFeature.TURN_ON
3032
| MediaPlayerEntityFeature.TURN_OFF

homeassistant/components/xbox/remote.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
from .coordinator import XboxConfigEntry
2121
from .entity import XboxConsoleBaseEntity
2222

23+
PARALLEL_UPDATES = 1
24+
2325

2426
async def async_setup_entry(
2527
hass: HomeAssistant,

homeassistant/components/xbox/sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
check_deprecated_entity,
3737
)
3838

39+
PARALLEL_UPDATES = 0
40+
3941
MAP_JOIN_RESTRICTIONS = {
4042
"local": "invite_only",
4143
"followed": "joinable",

0 commit comments

Comments
 (0)