From 07fb4ff24373fe550c47c3527aa5bb2720b7662a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 21 Dec 2015 09:44:17 -0800 Subject: [PATCH] Revert last fix. Will fix better. --- homeassistant/helpers/entity_component.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/helpers/entity_component.py b/homeassistant/helpers/entity_component.py index 20be9a0f704..ec22181bf5a 100644 --- a/homeassistant/helpers/entity_component.py +++ b/homeassistant/helpers/entity_component.py @@ -39,8 +39,7 @@ class EntityComponent(object): self.is_polling = False self.config = None - # Because updating state might cause an entity to be found - self.lock = RLock() + self.lock = Lock() def setup(self, config): """