diff --git a/homeassistant/helpers/entity_component.py b/homeassistant/helpers/entity_component.py index e805f2774836ef44a35ab06239bbb2fb1f9d8e7f..f6e9c1da7f8758c62b6ae851752199ee542ccd4a 100644 --- a/homeassistant/helpers/entity_component.py +++ b/homeassistant/helpers/entity_component.py @@ -370,12 +370,6 @@ class EntityPlatform(object): def add_entities(self, new_entities, update_before_add=False): """Add entities for a single platform.""" - # That avoid deadlocks - if update_before_add: - self.component.logger.warning( - "Call 'add_entities' with update_before_add=True " - "only inside tests or you can run into a deadlock!") - run_coroutine_threadsafe( self.async_add_entities(list(new_entities), update_before_add), self.component.hass.loop).result()