mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00: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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue