Dimensions filtration - Custom event for alerting

I think then you may want to change the selector to type(custom_device)…

But for custom devices there is an extra entry (like for hosts, process, services..)

Which you can also use to apply dynamic values(placeholders) to the entities.