From 2217fc45073eca3a2b078359e8fbf8b879e9f9c3 Mon Sep 17 00:00:00 2001 From: Noah Husby <32528627+noahhusby@users.noreply.github.com> Date: Tue, 26 Nov 2024 02:58:10 -0500 Subject: [PATCH] Add parallel updates to Cambridge Audio (#131596) --- homeassistant/components/cambridge_audio/media_player.py | 2 ++ homeassistant/components/cambridge_audio/select.py | 2 ++ homeassistant/components/cambridge_audio/switch.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/homeassistant/components/cambridge_audio/media_player.py b/homeassistant/components/cambridge_audio/media_player.py index 5e340cdd21e..805cf8ec7f6 100644 --- a/homeassistant/components/cambridge_audio/media_player.py +++ b/homeassistant/components/cambridge_audio/media_player.py @@ -57,6 +57,8 @@ TRANSPORT_FEATURES: dict[TransportControl, MediaPlayerEntityFeature] = { TransportControl.STOP: MediaPlayerEntityFeature.STOP, } +PARALLEL_UPDATES = 0 + async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/cambridge_audio/select.py b/homeassistant/components/cambridge_audio/select.py index 5708425cfb0..b1bc0f9e4df 100644 --- a/homeassistant/components/cambridge_audio/select.py +++ b/homeassistant/components/cambridge_audio/select.py @@ -14,6 +14,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from .entity import CambridgeAudioEntity, command +PARALLEL_UPDATES = 0 + @dataclass(frozen=True, kw_only=True) class CambridgeAudioSelectEntityDescription(SelectEntityDescription): diff --git a/homeassistant/components/cambridge_audio/switch.py b/homeassistant/components/cambridge_audio/switch.py index 19a07682c5b..72aa0d3cbea 100644 --- a/homeassistant/components/cambridge_audio/switch.py +++ b/homeassistant/components/cambridge_audio/switch.py @@ -14,6 +14,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from .entity import CambridgeAudioEntity, command +PARALLEL_UPDATES = 0 + @dataclass(frozen=True, kw_only=True) class CambridgeAudioSwitchEntityDescription(SwitchEntityDescription):