Fix whitespace stripping in common date/location templates

- Compute common_date and common_location inline using {%- set -%} syntax
  instead of as separate HA variables, which strips leading whitespace
- Fix CASE 3 (Changed) handler missing common_date/common_location support
- Remove unused global common_date and common_location variable definitions
- Apply fix to all message templates: scheduled assets (per_album, combined),
  realtime notifications (assets_added, changed), and Telegram messages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-01 03:48:31 +03:00
parent 3af3966ac3
commit b1cedcd317
2 changed files with 117 additions and 37 deletions

View File

@@ -1,3 +1,3 @@
{
"version": "1.21.0"
"version": "1.22.5"
}