Send message through ntfy integration

I have an ntfy.sh integration that interfaces with an external ntfy server.

Now I would like to interface with it from AppDaemon. This works so far for the reception of messages. I basically filter “state_changed” for the respective entity_id.

However, I cannot figure out how to send messages to the ntfy server, neiter from the HA GUI nor from AppDaemon. Is this possible? And if yes, how?

Never mind, I figured it out:

self.call_service("notify/send_message", entity_id="notify.my_dev_name", message="It works!")

my_dev_name is the name of the name chosen for the ntfy topic when adding it to the integration.