mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Set PARALLEL_UPDATES in all Minecraft Server platforms (#139259)
This commit is contained in:
parent
b8b153b87f
commit
b9dbf07a5e
@ -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,
|
||||
|
@ -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.
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user