Lint
This commit is contained in:
1 parent
272899ec96
commit
0af1a96f14
1 file changed
+2
@@ -339,8 +339,10 @@ class EntityPlatform(object):
|
||||
@asyncio.coroutine
|
||||
def _update_entity_states(self, now):
|
||||
"""Update the states of all the polling entities.
|
||||
|
||||
To protect from flooding the executor, we will update async entities
|
||||
in parallel and other entities sequential.
|
||||
|
||||
This method must be run in the event loop.
|
||||
"""
|
||||
if self._process_updates:
|
||||
|
||||
Reference in new issue
Block a user