Disabling automations that aren’t managed by the UI

I’ve just started playing around with manually created automations in a split configuration (my_automations.yaml) but I’m wondering about some potential issues. The main one, is there an easy way to temporarily disable an automation? Tried googling this but just got instructions for disabling automations in settings>automations. I imagine that won’t work since these aren’t managed by the UI. I really don’t want to have to comment out a bunch of lines of code or disable all the modular automations by commenting the includes.

It does work. I have no UI created automations and can toggle them from the UI no problem, you might need to give the automations an ID though.

Edit: Nope no id required, it is a good practice though since they will not produce traces without one.