No Trigger Scripts

I would like to have scripts that have no traditional trigger. I want them to run ONLY if called from another script. Much like calling a function or subroutine in standard program languages. Monitoring changes in other devices has only led to complications.

I know I can call a script from another script. But I don’t want there to be any trigger in the script.

Thanks
Herb Smith

Scripts don’t have triggers, Automations do… that is their defining difference.

Scripts only run when they are turned on or called directly as a service. These actions can be performed by other scripts (including automations) or direct user interaction via the dashboard or services tool.