mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Scripts call services in blocking manner
This commit is contained in:
@@ -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. """
|
||||
|
Reference in New Issue
Block a user