This commit is contained in:
Paulus Schoutsen 2016-11-06 23:24:25 -08:00
parent 272899ec96
commit 0af1a96f14

View File

@ -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: