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

@@ -43,4 +43,6 @@ Adguard Monitor is designed for openclaw, which should usually NEVER make a requ
- `ADGUARD_USER/PASSWORD`: API credentials.
- `CLIENTS`: A JSON-formatted dictionary mapping IPs to display names.
- `HASS_URL/TOKEN`: Home Assistant mobile notification endpoint and Long-Lived Access Token.
- `HASS_TITLE_TEMPLATE`: (Optional) Template for notification title. Available: `{event_type}`, `{client_name}`, `{host}`, `{reason}`. Default: `{event_type}`.
- `HASS_MSG_TEMPLATE`: (Optional) Template for notification body. Available: same as title. Default: `{client_name} tried to access "{host}"`.