mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Add parallel updates to Cambridge Audio (#131596)
This commit is contained in:
parent
b1a540a772
commit
2217fc4507
@ -57,6 +57,8 @@ TRANSPORT_FEATURES: dict[TransportControl, MediaPlayerEntityFeature] = {
|
|||||||
TransportControl.STOP: MediaPlayerEntityFeature.STOP,
|
TransportControl.STOP: MediaPlayerEntityFeature.STOP,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -14,6 +14,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||||||
|
|
||||||
from .entity import CambridgeAudioEntity, command
|
from .entity import CambridgeAudioEntity, command
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class CambridgeAudioSelectEntityDescription(SelectEntityDescription):
|
class CambridgeAudioSelectEntityDescription(SelectEntityDescription):
|
||||||
|
@ -14,6 +14,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||||||
|
|
||||||
from .entity import CambridgeAudioEntity, command
|
from .entity import CambridgeAudioEntity, command
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class CambridgeAudioSwitchEntityDescription(SwitchEntityDescription):
|
class CambridgeAudioSwitchEntityDescription(SwitchEntityDescription):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user