Reduce hunterdouglas_powerview parallel updates (#36299)

The powerview hub gets overwhelmed with just a
few requests so we now set PARALLEL_UPDATES to
1.
This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-05-30 17:37:25 -05:00
1 parent fb754186bd
commit db9900cf50
2 files changed
+5

No files matched your search

@@ -56,6 +56,9 @@ from .const import (
USER_DATA,
)
PARALLEL_UPDATES = 1
DEVICE_SCHEMA = vol.Schema(
{DOMAIN: vol.Schema({vol.Required(CONF_HOST): cv.string})}, extra=vol.ALLOW_EXTRA
)
@@ -45,6 +45,8 @@ _LOGGER = logging.getLogger(__name__)
# from one state to another
TRANSITION_COMPLETE_DURATION = 30
PARALLEL_UPDATES = 1
async def async_setup_entry(hass, entry, async_add_entities):
"""Set up the hunter douglas shades."""