This commit is contained in:
joBr99
2023-12-15 14:16:59 +01:00
parent 9c6f24f984
commit a5bfb9388f
3 changed files with 8 additions and 2 deletions

View File

@@ -246,6 +246,8 @@ def execute_script(entity_name: str, domain: str, service: str, service_data: di
return {}
def cache_template(template):
if not template:
raise Exception("Invalid template")
global next_id, response_buffer
try:
call_id = next_id