From 3e713dfee3e17d844c6ffe441e41256efb635f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Va=C5=88o?= Date: Tue, 19 Aug 2025 19:03:59 +0200 Subject: [PATCH] docs(alerting): Fix the homeassistant event structure example (#1213) docs(Homeassistant): Fix the event structure in the example --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 89f6812b..b060d7d9 100644 --- a/README.md +++ b/README.md @@ -1070,13 +1070,13 @@ automation: action: - service: notify.notify data_template: - title: "Gatus Alert: {{ trigger.event.data.endpoint }}" + title: "Gatus Alert: {{ trigger.event.data.event_data.endpoint }}" message: > - Status: {{ trigger.event.data.status }} - {% if trigger.event.data.description %} - Description: {{ trigger.event.data.description }} + Status: {{ trigger.event.data.event_data.status }} + {% if trigger.event.data.event_data.description %} + Description: {{ trigger.event.data.event_data.description }} {% endif %} - {% for condition in trigger.event.data.conditions %} + {% for condition in trigger.event.data.event_data.conditions %} {{ '✅' if condition.success else '❌' }} {{ condition.condition }} {% endfor %} ```