For granularity perspective, a Device with Capability to transmit messages (alerts or otherwise) to external services, is not in the same set.
So command: alert( message )
is a different Capability, or even a global library method (like “push()
”).
In other words; I think it already exists; but you can correct me or clarify your requirement: