Add parallel updates to Cambridge Audio (#131596)

This commit is contained in:
Noah Husby 2024-11-26 02:58:10 -05:00 committed by GitHub
parent b1a540a772
commit 2217fc4507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,8 @@ TRANSPORT_FEATURES: dict[TransportControl, MediaPlayerEntityFeature] = {
TransportControl.STOP: MediaPlayerEntityFeature.STOP,
}
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

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

View File

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