From b2ae3655587c5c28d73eaba41cf59e94c7708a7b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 6 Dec 2015 11:03:31 -0800 Subject: [PATCH] Scripts call services in blocking manner --- homeassistant/components/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/script.py b/homeassistant/components/script.py index bf7c51fe3fb..3e13db66699 100644 --- a/homeassistant/components/script.py +++ b/homeassistant/components/script.py @@ -201,7 +201,7 @@ class Script(ToggleEntity): self._last_action) domain, service = split_entity_id(conf_service) data = action.get(CONF_SERVICE_DATA, {}) - self.hass.services.call(domain, service, data) + self.hass.services.call(domain, service, data, True) def _fire_event(self, action): """ Fires an event. """