Add URL input for Prowl (#46427)

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
elyobelyob 2021-03-18 16:02:38 +00:00 committed by GitHub
parent 54d1e9985f
commit 53687c766d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,8 @@ class ProwlNotificationService(BaseNotificationService):
"description": message,
"priority": data["priority"] if data and "priority" in data else 0,
}
if data.get("url"):
payload["url"] = data["url"]
_LOGGER.debug("Attempting call Prowl service at %s", url)
session = async_get_clientsession(self._hass)