mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
limit concurrent updates to avoid network flood (#23534)
This commit is contained in:
parent
5e045f3df2
commit
5aa9a1a7c2
@ -24,6 +24,7 @@ CAPABILITIES_COLOR_TEMP = 0x10
|
||||
|
||||
UNSUPPORTED_ATTRIBUTE = 0x86
|
||||
SCAN_INTERVAL = timedelta(minutes=60)
|
||||
PARALLEL_UPDATES = 5
|
||||
|
||||
|
||||
async def async_setup_platform(hass, config, async_add_entities,
|
||||
|
@ -14,6 +14,7 @@ from .core.const import (
|
||||
SIGNAL_ATTR_UPDATED, SIGNAL_STATE_ATTR)
|
||||
from .entity import ZhaEntity
|
||||
|
||||
PARALLEL_UPDATES = 5
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user