mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Set Parallel updates to 0 in Roborock (#140837)
roborock set parallel updates to 0
This commit is contained in:
parent
412705302d
commit
73a24bf799
@ -20,6 +20,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
|||||||
from .coordinator import RoborockConfigEntry, RoborockDataUpdateCoordinator
|
from .coordinator import RoborockConfigEntry, RoborockDataUpdateCoordinator
|
||||||
from .entity import RoborockCoordinatedEntityV1
|
from .entity import RoborockCoordinatedEntityV1
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockBinarySensorDescription(BinarySensorEntityDescription):
|
class RoborockBinarySensorDescription(BinarySensorEntityDescription):
|
||||||
|
@ -17,6 +17,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
|||||||
from .coordinator import RoborockConfigEntry, RoborockDataUpdateCoordinator
|
from .coordinator import RoborockConfigEntry, RoborockDataUpdateCoordinator
|
||||||
from .entity import RoborockEntity, RoborockEntityV1
|
from .entity import RoborockEntity, RoborockEntityV1
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockButtonDescription(ButtonEntityDescription):
|
class RoborockButtonDescription(ButtonEntityDescription):
|
||||||
|
@ -18,6 +18,8 @@ from .entity import RoborockCoordinatedEntityV1
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -22,6 +22,8 @@ from .entity import RoborockEntityV1
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockNumberDescription(NumberEntityDescription):
|
class RoborockNumberDescription(NumberEntityDescription):
|
||||||
|
@ -28,7 +28,7 @@ rules:
|
|||||||
entity-unavailable: done
|
entity-unavailable: done
|
||||||
integration-owner: done
|
integration-owner: done
|
||||||
log-when-unavailable: done
|
log-when-unavailable: done
|
||||||
parallel-updates: todo
|
parallel-updates: done
|
||||||
reauthentication-flow: todo
|
reauthentication-flow: todo
|
||||||
test-coverage: done
|
test-coverage: done
|
||||||
# Gold
|
# Gold
|
||||||
|
@ -17,6 +17,8 @@ from .const import MAP_SLEEP
|
|||||||
from .coordinator import RoborockConfigEntry, RoborockDataUpdateCoordinator
|
from .coordinator import RoborockConfigEntry, RoborockDataUpdateCoordinator
|
||||||
from .entity import RoborockCoordinatedEntityV1
|
from .entity import RoborockCoordinatedEntityV1
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockSelectDescription(SelectEntityDescription):
|
class RoborockSelectDescription(SelectEntityDescription):
|
||||||
|
@ -38,6 +38,8 @@ from .coordinator import (
|
|||||||
)
|
)
|
||||||
from .entity import RoborockCoordinatedEntityA01, RoborockCoordinatedEntityV1
|
from .entity import RoborockCoordinatedEntityA01, RoborockCoordinatedEntityV1
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockSensorDescription(SensorEntityDescription):
|
class RoborockSensorDescription(SensorEntityDescription):
|
||||||
|
@ -24,6 +24,8 @@ from .entity import RoborockEntityV1
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockSwitchDescription(SwitchEntityDescription):
|
class RoborockSwitchDescription(SwitchEntityDescription):
|
||||||
|
@ -24,6 +24,8 @@ from .entity import RoborockEntityV1
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class RoborockTimeDescription(TimeEntityDescription):
|
class RoborockTimeDescription(TimeEntityDescription):
|
||||||
|
@ -57,6 +57,8 @@ STATE_CODE_TO_STATE = {
|
|||||||
RoborockStateCode.device_offline: VacuumActivity.ERROR, # "Device offline"
|
RoborockStateCode.device_offline: VacuumActivity.ERROR, # "Device offline"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user