Set PARALLEL_UPDATES for MotionMount integration (#138264)

Set PARALLEL_UPDATES
This commit is contained in:
RJPoelstra 2025-02-11 17:22:51 +01:00 committed by GitHub
parent 6226542e4d
commit ab1e1c06b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 1 deletions

View File

@ -12,6 +12,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
from . import MotionMountConfigEntry
from .entity import MotionMountEntity
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -14,6 +14,8 @@ from . import MotionMountConfigEntry
from .const import DOMAIN
from .entity import MotionMountEntity
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -37,7 +37,7 @@ rules:
entity-unavailable: done
integration-owner: done
log-when-unavailable: done
parallel-updates: todo
parallel-updates: done
reauthentication-flow: done
test-coverage: todo

View File

@ -17,6 +17,7 @@ from .entity import MotionMountEntity
_LOGGER = logging.getLogger(__name__)
SCAN_INTERVAL = timedelta(seconds=60)
PARALLEL_UPDATES = 0
async def async_setup_entry(

View File

@ -12,6 +12,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
from . import MotionMountConfigEntry
from .entity import MotionMountEntity
PARALLEL_UPDATES = 0
ERROR_MESSAGES: Final = {
MotionMountSystemError.MotorError: "motor",
MotionMountSystemError.ObstructionDetected: "obstruction",