mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add URL input for Prowl (#46427)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
parent
54d1e9985f
commit
53687c766d
@ -48,6 +48,8 @@ class ProwlNotificationService(BaseNotificationService):
|
|||||||
"description": message,
|
"description": message,
|
||||||
"priority": data["priority"] if data and "priority" in data else 0,
|
"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)
|
_LOGGER.debug("Attempting call Prowl service at %s", url)
|
||||||
session = async_get_clientsession(self._hass)
|
session = async_get_clientsession(self._hass)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user