mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
Scripts call services in blocking manner
This commit is contained in:
parent
1cb4d40bbb
commit
b2ae365558
@ -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. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user