Add task_result variable and update
custom_component_update function
This commit is contained in:
parent
0d8a400557
commit
732f64bf23
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ async def process(
|
||||||
if flow.data is None:
|
if flow.data is None:
|
||||||
raise ValueError(f"Flow {flow_id} has no data")
|
raise ValueError(f"Flow {flow_id} has no data")
|
||||||
graph_data = flow.data
|
graph_data = flow.data
|
||||||
|
task_result = None
|
||||||
if tweaks:
|
if tweaks:
|
||||||
try:
|
try:
|
||||||
graph_data = process_tweaks(graph_data, tweaks)
|
graph_data = process_tweaks(graph_data, tweaks)
|
||||||
|
|
@ -249,3 +250,5 @@ async def custom_component_update(
|
||||||
return component_node
|
return component_node
|
||||||
# Update the field
|
# Update the field
|
||||||
return component_node
|
return component_node
|
||||||
|
# Update the field
|
||||||
|
return component_node
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue