Set parallelism for Habitica (#131480)

* Set parallelism for Habitica

* remove from coordinator
pull/131502/head
Manu 2024-11-25 00:55:11 +01:00 committed by GitHub
parent dc4a2d6f33
commit 8b71362ae1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,8 @@ from .coordinator import HabiticaData, HabiticaDataUpdateCoordinator
from .entity import HabiticaBase
from .types import HabiticaConfigEntry
PARALLEL_UPDATES = 1
@dataclass(kw_only=True, frozen=True)
class HabiticaButtonEntityDescription(ButtonEntityDescription):

View File

@ -19,6 +19,8 @@ from .coordinator import HabiticaData, HabiticaDataUpdateCoordinator
from .entity import HabiticaBase
from .types import HabiticaConfigEntry
PARALLEL_UPDATES = 1
@dataclass(kw_only=True, frozen=True)
class HabiticaSwitchEntityDescription(SwitchEntityDescription):

View File

@ -27,6 +27,8 @@ from .entity import HabiticaBase
from .types import HabiticaConfigEntry, HabiticaTaskType
from .util import next_due_date
PARALLEL_UPDATES = 1
class HabiticaTodoList(StrEnum):
"""Habitica Entities."""