Template Alarm Control Panel: Does not execute "trigger"-action when state changes

When I set the state to “triggered” in DevTools or I create a value_template, that can change to value “triggered” the action “trigger” is not executed.
Only setting the state to “triggered” by calling the corresponding service will execute the “trigger”-action.

This would require an additional automation which seems unnecessary.

Is this the expected behavior or a bug?