From 0af1a96f14ef112acc9cf2f0212087aefd5353b9 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 6 Nov 2016 23:24:25 -0800 Subject: [PATCH] Lint --- homeassistant/helpers/entity_component.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/helpers/entity_component.py b/homeassistant/helpers/entity_component.py index f4ca2f1274f..1144ee112e7 100644 --- a/homeassistant/helpers/entity_component.py +++ b/homeassistant/helpers/entity_component.py @@ -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: