187 files

This commit is contained in:
Home Assistant Version Control
2026-10-09 11:57:31 +00:00
parent 28fa34d78a
commit 1e1b12d52b
187 changed files with 40899 additions and 32654 deletions
@@ -75,6 +75,7 @@ PROVIDER_ICLOUD = "icloud"
PROVIDER_SYNOLOGY = "synology"
PROVIDER_NEXTCLOUD = "nextcloud"
PROVIDER_ENTE = "ente"
PROVIDER_UGREEN = "ugreen"
# Providers whose coordinator runs a background enrichment pass: per-photo
# metadata reads, reverse-geocoding, or both. These are the entries that get
@@ -85,6 +86,7 @@ ENRICHING_PROVIDERS = (
PROVIDER_IMMICH,
PROVIDER_NEXTCLOUD,
PROVIDER_ENTE,
PROVIDER_UGREEN,
)
# Nextcloud provider - two auth modes against the same PROVIDER_NEXTCLOUD id:
@@ -239,6 +241,23 @@ DEFAULT_PHOTOPRISM_IMAGE_SIZE = PHOTOPRISM_IMAGE_PREVIEW
PHOTOPRISM_SELECTION_COMPOSITE = "composite"
# UGREEN NAS (UGOS Photos) provider. Talks to the undocumented UGOS Photos
# web API (see ``ugreen.py``); login is username + password, with the
# password RSA-encrypted before it ever leaves HA, same as the UGOS web app.
# TLS certificates are verified unless the user turns that off for a NAS with
# a self-signed certificate.
CONF_UGREEN_URL = "ugreen_url"
CONF_UGREEN_USERNAME = "ugreen_username"
CONF_UGREEN_PASSWORD = "ugreen_password"
CONF_UGREEN_VERIFY_SSL = "ugreen_verify_ssl"
# The album is stored by ``album_uuid`` + ``album_type`` (what the API needs),
# so renaming it in UGOS Photos does not break the slideshow. The name is kept
# for display only.
CONF_UGREEN_ALBUM_UUID = "ugreen_album_uuid"
CONF_UGREEN_ALBUM_TYPE = "ugreen_album_type"
CONF_UGREEN_ALBUM_NAME = "ugreen_album_name"
FILL_COVER = "cover"
FILL_CONTAIN = "contain"
FILL_BLUR = "blur"