mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +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 . import MotionMountConfigEntry
|
||||||
from .entity import MotionMountEntity
|
from .entity import MotionMountEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -14,6 +14,8 @@ from . import MotionMountConfigEntry
|
|||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .entity import MotionMountEntity
|
from .entity import MotionMountEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -37,7 +37,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: done
|
reauthentication-flow: done
|
||||||
test-coverage: todo
|
test-coverage: todo
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ from .entity import MotionMountEntity
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
SCAN_INTERVAL = timedelta(seconds=60)
|
SCAN_INTERVAL = timedelta(seconds=60)
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
|
@ -12,6 +12,8 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
|||||||
from . import MotionMountConfigEntry
|
from . import MotionMountConfigEntry
|
||||||
from .entity import MotionMountEntity
|
from .entity import MotionMountEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
ERROR_MESSAGES: Final = {
|
ERROR_MESSAGES: Final = {
|
||||||
MotionMountSystemError.MotorError: "motor",
|
MotionMountSystemError.MotorError: "motor",
|
||||||
MotionMountSystemError.ObstructionDetected: "obstruction",
|
MotionMountSystemError.ObstructionDetected: "obstruction",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user