mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +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(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -51,11 +51,7 @@ rules:
|
|||||||
log-when-unavailable:
|
log-when-unavailable:
|
||||||
status: done
|
status: done
|
||||||
comment: Handled by coordinator.
|
comment: Handled by coordinator.
|
||||||
parallel-updates:
|
parallel-updates: done
|
||||||
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.
|
|
||||||
reauthentication-flow:
|
reauthentication-flow:
|
||||||
status: exempt
|
status: exempt
|
||||||
comment: No authentication is required for the integration.
|
comment: No authentication is required for the integration.
|
||||||
|
@ -30,6 +30,9 @@ KEY_VERSION = "version"
|
|||||||
UNIT_PLAYERS_MAX = "players"
|
UNIT_PLAYERS_MAX = "players"
|
||||||
UNIT_PLAYERS_ONLINE = "players"
|
UNIT_PLAYERS_ONLINE = "players"
|
||||||
|
|
||||||
|
# Coordinator is used to centralize the data updates.
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class MinecraftServerSensorEntityDescription(SensorEntityDescription):
|
class MinecraftServerSensorEntityDescription(SensorEntityDescription):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user