diff --git a/homeassistant/components/xbox/binary_sensor.py b/homeassistant/components/xbox/binary_sensor.py index 2a1a18f6f1d..1aa4b31241a 100644 --- a/homeassistant/components/xbox/binary_sensor.py +++ b/homeassistant/components/xbox/binary_sensor.py @@ -26,6 +26,8 @@ from .entity import ( profile_pic, ) +PARALLEL_UPDATES = 0 + class XboxBinarySensor(StrEnum): """Xbox binary sensor.""" diff --git a/homeassistant/components/xbox/media_player.py b/homeassistant/components/xbox/media_player.py index 94c4636afa3..a592c5c1506 100644 --- a/homeassistant/components/xbox/media_player.py +++ b/homeassistant/components/xbox/media_player.py @@ -25,6 +25,8 @@ from .browse_media import build_item_response from .coordinator import XboxConfigEntry from .entity import XboxConsoleBaseEntity +PARALLEL_UPDATES = 1 + SUPPORT_XBOX = ( MediaPlayerEntityFeature.TURN_ON | MediaPlayerEntityFeature.TURN_OFF diff --git a/homeassistant/components/xbox/remote.py b/homeassistant/components/xbox/remote.py index 2e10ce89f68..de0f6c7d89a 100644 --- a/homeassistant/components/xbox/remote.py +++ b/homeassistant/components/xbox/remote.py @@ -20,6 +20,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import XboxConfigEntry from .entity import XboxConsoleBaseEntity +PARALLEL_UPDATES = 1 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/xbox/sensor.py b/homeassistant/components/xbox/sensor.py index 91ddb2f3fe3..46103bb298c 100644 --- a/homeassistant/components/xbox/sensor.py +++ b/homeassistant/components/xbox/sensor.py @@ -36,6 +36,8 @@ from .entity import ( check_deprecated_entity, ) +PARALLEL_UPDATES = 0 + MAP_JOIN_RESTRICTIONS = { "local": "invite_only", "followed": "joinable",