mirror of
https://github.com/home-assistant/core.git
synced 2026-12-04 12:50:45 -04:00
Set PARALLEL_UPDATES on the Schlage platforms (#194166)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3542353556
commit
b74bec8a7b
@@ -16,6 +16,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
||||
from .coordinator import LockData, SchlageConfigEntry, SchlageDataUpdateCoordinator
|
||||
from .entity import SchlageEntity
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class SchlageBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
|
||||
@@ -21,6 +21,8 @@ from .const import DOMAIN
|
||||
from .coordinator import LockData, SchlageConfigEntry, SchlageDataUpdateCoordinator
|
||||
from .entity import SchlageEntity
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
||||
@@ -42,7 +42,7 @@ rules:
|
||||
entity-unavailable: done
|
||||
integration-owner: done
|
||||
log-when-unavailable: done
|
||||
parallel-updates: todo
|
||||
parallel-updates: done
|
||||
reauthentication-flow: done
|
||||
test-coverage: done
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
||||
from .coordinator import LockData, SchlageConfigEntry, SchlageDataUpdateCoordinator
|
||||
from .entity import SchlageEntity
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
_DESCRIPTIONS = (
|
||||
SelectEntityDescription(
|
||||
key="auto_lock_time",
|
||||
|
||||
@@ -15,6 +15,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
||||
from .coordinator import LockData, SchlageConfigEntry, SchlageDataUpdateCoordinator
|
||||
from .entity import SchlageEntity
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
_SENSOR_DESCRIPTIONS: list[SensorEntityDescription] = [
|
||||
SensorEntityDescription(
|
||||
key="battery_level",
|
||||
|
||||
@@ -19,6 +19,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
||||
from .coordinator import LockData, SchlageConfigEntry, SchlageDataUpdateCoordinator
|
||||
from .entity import SchlageEntity
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class SchlageSwitchEntityDescription(SwitchEntityDescription):
|
||||
|
||||
Reference in New Issue
Block a user