mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Comply with parallel updates quality rule (#138672)
This commit is contained in:
parent
89956adf2e
commit
f2126a357a
@ -47,6 +47,10 @@ async def async_setup_entry(
|
||||
)
|
||||
|
||||
|
||||
# Coordinator is used to centralize the data updates
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
class FlexitBinarySensor(FlexitEntity, BinarySensorEntity):
|
||||
"""Representation of a Flexit binary Sensor."""
|
||||
|
||||
|
@ -43,6 +43,9 @@ async def async_setup_entry(
|
||||
async_add_entities([FlexitClimateEntity(config_entry.runtime_data)])
|
||||
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
class FlexitClimateEntity(FlexitEntity, ClimateEntity):
|
||||
"""Flexit air handling unit."""
|
||||
|
||||
|
@ -205,6 +205,9 @@ async def async_setup_entry(
|
||||
)
|
||||
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
class FlexitNumber(FlexitEntity, NumberEntity):
|
||||
"""Representation of a Flexit Number."""
|
||||
|
||||
|
@ -47,7 +47,7 @@ rules:
|
||||
status: done
|
||||
comment: |
|
||||
Done implicitly with coordinator.
|
||||
parallel-updates: todo
|
||||
parallel-updates: done
|
||||
reauthentication-flow: todo
|
||||
test-coverage: todo
|
||||
# Gold
|
||||
|
@ -161,6 +161,10 @@ async def async_setup_entry(
|
||||
)
|
||||
|
||||
|
||||
# Coordinator is used to centralize the data updates
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
class FlexitSensor(FlexitEntity, SensorEntity):
|
||||
"""Representation of a Flexit (bacnet) Sensor."""
|
||||
|
||||
|
@ -68,6 +68,9 @@ async def async_setup_entry(
|
||||
)
|
||||
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
class FlexitSwitch(FlexitEntity, SwitchEntity):
|
||||
"""Representation of a Flexit Switch."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user