mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Lint
This commit is contained in:
parent
272899ec96
commit
0af1a96f14
@ -339,8 +339,10 @@ class EntityPlatform(object):
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def _update_entity_states(self, now):
|
def _update_entity_states(self, now):
|
||||||
"""Update the states of all the polling entities.
|
"""Update the states of all the polling entities.
|
||||||
|
|
||||||
To protect from flooding the executor, we will update async entities
|
To protect from flooding the executor, we will update async entities
|
||||||
in parallel and other entities sequential.
|
in parallel and other entities sequential.
|
||||||
|
|
||||||
This method must be run in the event loop.
|
This method must be run in the event loop.
|
||||||
"""
|
"""
|
||||||
if self._process_updates:
|
if self._process_updates:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user