Face Gallery & S3 Sync – Major Rewrite
🆕 Face Gallery & S3 Sync – Major Rewrite
🔁 Completely rewritten S3 synchronization system for the face gallery
📁 Home Assistant .storage is no longer used for gallery data
✅ The gallery is now stored as a real, stable JSON file at
/config/amazon_face_gallery/gallery.json
☁️ Reliable and deterministic S3 sync:
on startup, data is downloaded from S3 if no local cache exists
every add/remove operation updates both local cache and S3
the Refresh button realigns the local cache with the actual S3 state
🧩 Legacy compatibility included:
supports old S3 files (gallery_store.json, amazon_face_recognition_gallery)
automatic one-time migration from .storage to the new file-based format
🖥 Panel UI fix:
gallery status and controls are now rendered correctly on first load
no manual browser refresh required anymore
👉 No YAML configuration required
👉 No existing features removed (including the image refresh button)