mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Lint
This commit is contained in:
parent
272899ec96
commit
0af1a96f14
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user