Add optional notification templates for Home Assistant integration

This commit is contained in:
Space-Banane
2026-03-12 16:12:26 +01:00
parent 8045da2dbe
commit fb9a9d7025
3 changed files with 35 additions and 7 deletions

View File

@@ -7,5 +7,9 @@ ADGUARD_PASSWORD=your-password
HASS_URL=https://your-hass-instance.com/api/services/notify/mobile_app_your_phone
HASS_TOKEN=your-long-lived-access-token
# (Optional) Notification Templates - Available: {event_type}, {client_name}, {host}, {reason}
# HASS_TITLE_TEMPLATE="{event_type}"
# HASS_MSG_TEMPLATE="{client_name} tried to access \"{host}\""
# Monitored Clients (JSON Format: {"IP": "Nickname"})
CLIENTS='{"192.168.1.100": "My Laptop", "192.168.1.101": "My Phone"}'