Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b788ad6

Browse files
authoredDec 3, 2021
Merge pull request #29 from roopesh/patch-1
Reduce attributes before breaking up model population
2 parents 27d992f + 98d07a8 commit b788ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎custom_components/intellicenter/pyintellicenter/controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ async def start(self):
328328
numAttributes += len(items["keys"])
329329
# a query too large can choke the protocol...
330330
# we split them in maximum of 250 attributes (arbitrary but seems to work)
331-
if numAttributes >= 250:
331+
if numAttributes >= 50:
332332
res = await self.sendCmd("RequestParamList", {"objectList": query})
333333
self._applyUpdates(res["objectList"])
334334
query = []

0 commit comments

Comments
 (0)
Please sign in to comment.