mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Lint
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user