Scripts call services in blocking manner
This commit is contained in:
parent
1cb4d40bbb
commit
b2ae365558
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class Script(ToggleEntity):
|
||||||
self._last_action)
|
self._last_action)
|
||||||
domain, service = split_entity_id(conf_service)
|
domain, service = split_entity_id(conf_service)
|
||||||
data = action.get(CONF_SERVICE_DATA, {})
|
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):
|
def _fire_event(self, action):
|
||||||
""" Fires an event. """
|
""" Fires an event. """
|
||||||
|
|
Loading…
Add table
Reference in a new issue