mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Set parallel updates in Elgato (#132998)
This commit is contained in:
parent
053f03ac58
commit
85d4c48d6f
@ -22,6 +22,8 @@ from . import ElgatorConfigEntry
|
|||||||
from .coordinator import ElgatoDataUpdateCoordinator
|
from .coordinator import ElgatoDataUpdateCoordinator
|
||||||
from .entity import ElgatoEntity
|
from .entity import ElgatoEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ElgatoButtonEntityDescription(ButtonEntityDescription):
|
class ElgatoButtonEntityDescription(ButtonEntityDescription):
|
||||||
|
@ -30,10 +30,7 @@ rules:
|
|||||||
entity-unavailable: done
|
entity-unavailable: done
|
||||||
integration-owner: done
|
integration-owner: done
|
||||||
log-when-unavailable: done
|
log-when-unavailable: done
|
||||||
parallel-updates:
|
parallel-updates: done
|
||||||
status: todo
|
|
||||||
comment: |
|
|
||||||
Does not set parallel-updates on button/switch action calls.
|
|
||||||
reauthentication-flow:
|
reauthentication-flow:
|
||||||
status: exempt
|
status: exempt
|
||||||
comment: |
|
comment: |
|
||||||
|
@ -18,6 +18,8 @@ from . import ElgatorConfigEntry
|
|||||||
from .coordinator import ElgatoData, ElgatoDataUpdateCoordinator
|
from .coordinator import ElgatoData, ElgatoDataUpdateCoordinator
|
||||||
from .entity import ElgatoEntity
|
from .entity import ElgatoEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ElgatoSwitchEntityDescription(SwitchEntityDescription):
|
class ElgatoSwitchEntityDescription(SwitchEntityDescription):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user