Add URL input for Prowl (#46427)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
parent
54d1e9985f
commit
53687c766d
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue