mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Add URL input for Prowl (#46427)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user