Set parallelism for Habitica (#131480)
* Set parallelism for Habitica * remove from coordinatorpull/131502/head
parent
dc4a2d6f33
commit
8b71362ae1
|
@ -25,6 +25,8 @@ from .coordinator import HabiticaData, HabiticaDataUpdateCoordinator
|
||||||
from .entity import HabiticaBase
|
from .entity import HabiticaBase
|
||||||
from .types import HabiticaConfigEntry
|
from .types import HabiticaConfigEntry
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
|
|
||||||
@dataclass(kw_only=True, frozen=True)
|
@dataclass(kw_only=True, frozen=True)
|
||||||
class HabiticaButtonEntityDescription(ButtonEntityDescription):
|
class HabiticaButtonEntityDescription(ButtonEntityDescription):
|
||||||
|
|
|
@ -19,6 +19,8 @@ from .coordinator import HabiticaData, HabiticaDataUpdateCoordinator
|
||||||
from .entity import HabiticaBase
|
from .entity import HabiticaBase
|
||||||
from .types import HabiticaConfigEntry
|
from .types import HabiticaConfigEntry
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
|
|
||||||
@dataclass(kw_only=True, frozen=True)
|
@dataclass(kw_only=True, frozen=True)
|
||||||
class HabiticaSwitchEntityDescription(SwitchEntityDescription):
|
class HabiticaSwitchEntityDescription(SwitchEntityDescription):
|
||||||
|
|
|
@ -27,6 +27,8 @@ from .entity import HabiticaBase
|
||||||
from .types import HabiticaConfigEntry, HabiticaTaskType
|
from .types import HabiticaConfigEntry, HabiticaTaskType
|
||||||
from .util import next_due_date
|
from .util import next_due_date
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
|
|
||||||
class HabiticaTodoList(StrEnum):
|
class HabiticaTodoList(StrEnum):
|
||||||
"""Habitica Entities."""
|
"""Habitica Entities."""
|
||||||
|
|
Loading…
Reference in New Issue