Replace deprecated GRAMPSWEB_EMAIL_USE_TLS with EMAIL_USE_SSL and EMAIL_USE_STARTTLS

The upstream Gramps Web project deprecated EMAIL_USE_TLS in favor of
EMAIL_USE_SSL (for port 465) and EMAIL_USE_STARTTLS (for port 587).
This updates the addon config schema and documentation accordingly.

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-01 07:02:19 +00:00
parent 1be96aa1b9
commit a9b4b33e25
2 changed files with 5 additions and 3 deletions

View File

@@ -68,7 +68,8 @@ Webui can be found at <http://homeassistant:5000>.
|--------|------|-------------|
| `GRAMPSWEB_EMAIL_HOST` | str | SMTP server hostname |
| `GRAMPSWEB_EMAIL_PORT` | int | SMTP server port |
| `GRAMPSWEB_EMAIL_USE_TLS` | bool | Use TLS encryption |
| `GRAMPSWEB_EMAIL_USE_SSL` | bool | Use SSL encryption (for port 465) |
| `GRAMPSWEB_EMAIL_USE_STARTTLS` | bool | Use STARTTLS encryption (for port 587) |
| `GRAMPSWEB_EMAIL_HOST_USER` | str | SMTP username |
| `GRAMPSWEB_EMAIL_HOST_PASSWORD` | str | SMTP password |
| `GRAMPSWEB_DEFAULT_FROM_EMAIL` | str | Default sender email address |
@@ -85,7 +86,7 @@ certfile: "fullchain.pem"
keyfile: "privkey.pem"
GRAMPSWEB_EMAIL_HOST: "smtp.gmail.com"
GRAMPSWEB_EMAIL_PORT: 587
GRAMPSWEB_EMAIL_USE_TLS: true
GRAMPSWEB_EMAIL_USE_STARTTLS: true
GRAMPSWEB_EMAIL_HOST_USER: "your-email@gmail.com"
GRAMPSWEB_EMAIL_HOST_PASSWORD: "your-app-password"
GRAMPSWEB_DEFAULT_FROM_EMAIL: "gramps@example.com"

View File

@@ -102,7 +102,8 @@ schema:
GRAMPSWEB_BASE_URL: str?
GRAMPSWEB_EMAIL_HOST: str?
GRAMPSWEB_EMAIL_PORT: int?
GRAMPSWEB_EMAIL_USE_TLS: bool?
GRAMPSWEB_EMAIL_USE_SSL: bool?
GRAMPSWEB_EMAIL_USE_STARTTLS: bool?
GRAMPSWEB_EMAIL_HOST_USER: str?
GRAMPSWEB_EMAIL_HOST_PASSWORD: password?
GRAMPSWEB_DEFAULT_FROM_EMAIL: email?