diff --git a/homeassistant/components/schlage/binary_sensor.py b/homeassistant/components/schlage/binary_sensor.py index c637b45ee4e5..acdc3810fe43 100644 --- a/homeassistant/components/schlage/binary_sensor.py +++ b/homeassistant/components/schlage/binary_sensor.py @@ -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): diff --git a/homeassistant/components/schlage/lock.py b/homeassistant/components/schlage/lock.py index ff0c2fa24028..2afa06da000d 100644 --- a/homeassistant/components/schlage/lock.py +++ b/homeassistant/components/schlage/lock.py @@ -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, diff --git a/homeassistant/components/schlage/quality_scale.yaml b/homeassistant/components/schlage/quality_scale.yaml index 15ca20bad532..b08c940355a7 100644 --- a/homeassistant/components/schlage/quality_scale.yaml +++ b/homeassistant/components/schlage/quality_scale.yaml @@ -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 diff --git a/homeassistant/components/schlage/select.py b/homeassistant/components/schlage/select.py index 6db7517e5bd0..577971312b4f 100644 --- a/homeassistant/components/schlage/select.py +++ b/homeassistant/components/schlage/select.py @@ -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", diff --git a/homeassistant/components/schlage/sensor.py b/homeassistant/components/schlage/sensor.py index d62219eb1739..28f185ae6664 100644 --- a/homeassistant/components/schlage/sensor.py +++ b/homeassistant/components/schlage/sensor.py @@ -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", diff --git a/homeassistant/components/schlage/switch.py b/homeassistant/components/schlage/switch.py index 0dcbae8690a0..3a14f676bf6d 100644 --- a/homeassistant/components/schlage/switch.py +++ b/homeassistant/components/schlage/switch.py @@ -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):