mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Set PARALLEL_UPDATES for MotionMount integration (#138264)
Set PARALLEL_UPDATES
This commit is contained in:
parent
6226542e4d
commit
ab1e1c06b6
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
@ -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(
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user