Set PARALLEL_UPDATES for Weheat (#135574)

Add PARALLEL_UPDATES
This commit is contained in:
jesperraemaekers 2025-01-14 10:19:28 +01:00 committed by GitHub
parent 0c144092c6
commit 6d7e9f10d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View File

@ -18,6 +18,9 @@ from . import WeheatConfigEntry
from .coordinator import WeheatDataUpdateCoordinator
from .entity import WeheatEntity
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class WeHeatBinarySensorEntityDescription(BinarySensorEntityDescription):

View File

@ -42,10 +42,7 @@ rules:
entity-unavailable: done
integration-owner: done
log-when-unavailable: done
parallel-updates:
status: todo
comment: |
PARALLEL_UPDATES is not set.
parallel-updates: done
reauthentication-flow: done
test-coverage: done

View File

@ -31,6 +31,9 @@ from .const import (
from .coordinator import WeheatDataUpdateCoordinator
from .entity import WeheatEntity
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class WeHeatSensorEntityDescription(SensorEntityDescription):