I have defined several notify targets:
notify.family
notify.admin
etc...
I also use boolean helpers to enable disable notification to a group.
One option is to define script that will condition the notify based on the helper. The issue is that I need to define several scripts as I am sending different data , e.g., sometimes I send only text (script.notify_text) and sometimes text with image (script.notify_text_with_image). That means I need to define a script for each case just because of the helper.
Other option is to havet he helper condition in the automation / script code explicitly (and not via helper script) but that requires more coding and “complicate” the flow
A simpler option will be if an enable / disable template will be added to the notify integration. This way I can use the notify directly without the need for a script.