mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 04:04:41 -05:00
add notification channel for home assistant (#4541)
Co-authored-by: Frank Elsinga <frank@elsinga.de> Co-authored-by: Seb <144435+rmtsrc@users.noreply.github.com>
This commit is contained in:
parent
975761b448
commit
bc077cc536
@ -23,6 +23,8 @@ class HomeAssistant extends NotificationProvider {
|
|||||||
...(notificationService !== "persistent_notification" && { data: {
|
...(notificationService !== "persistent_notification" && { data: {
|
||||||
name: monitorJSON?.name,
|
name: monitorJSON?.name,
|
||||||
status: heartbeatJSON?.status,
|
status: heartbeatJSON?.status,
|
||||||
|
channel: "Uptime Kuma",
|
||||||
|
icon_url: "https://github.com/louislam/uptime-kuma/blob/master/public/icon.png?raw=true",
|
||||||
} }),
|
} }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user