Automation Editor
...
Building Automations
Subroutines
Deleting a subroutine
1min
To delete a subroutine, right-click on it in the catalog and choose the Delete option:

The system will not allow a subroutine that is referenced to be deleted. To determine a subroutine's references, see Subroutine references