Set PARALLEL_UPDATES in all Minecraft Server platforms (#139259)

This commit is contained in:
elmurato 2025-02-25 15:09:58 +01:00 committed by GitHub
parent b8b153b87f
commit b9dbf07a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View File

@ -22,6 +22,9 @@ BINARY_SENSOR_DESCRIPTIONS = [
),
]
# Coordinator is used to centralize the data updates.
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -51,11 +51,7 @@ rules:
log-when-unavailable:
status: done
comment: Handled by coordinator.
parallel-updates:
status: todo
comment: |
Although this is handled by the coordinator and no service actions are provided,
PARALLEL_UPDATES should still be set to 0 in binary_sensor and sensor according to the rule.
parallel-updates: done
reauthentication-flow:
status: exempt
comment: No authentication is required for the integration.

View File

@ -30,6 +30,9 @@ KEY_VERSION = "version"
UNIT_PLAYERS_MAX = "players"
UNIT_PLAYERS_ONLINE = "players"
# Coordinator is used to centralize the data updates.
PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class MinecraftServerSensorEntityDescription(SensorEntityDescription):