opencode/decisions.yaml

This commit is contained in:
Home Assistant Version Control
2026-10-01 15:47:26 +00:00
parent ac99c5dc52
commit e33690a44c
+23
View File
@@ -918,4 +918,27 @@ notes:
- automations.yaml
integrations:
- telegram_bot
status: superseded
superseded_by: 2026-10-01-telegram-use-send-photo-never-send-2
- id: 2026-10-01-telegram-use-send-photo-never-send-2
date: 2026-10-01
title: "Telegram: use send_photo, never send_media_group — album captions render blank"
decision: Send Telegram photos with telegram_bot.send_photo (service-level caption), never
send_media_group. Per-item captions in a media group arrive blank on this bot,
silently — the photos post with no text.
rationale: "HA passes per-item captions correctly (InputMediaPhoto(caption=...) in
telegram_bot/bot.py), so the payload looks right in code and sends without error,
but Telegram renders nothing. Confirmed 2026-10-01: an album sent with captions
arrived with zero text; the same content via send_photo rendered every caption.
send_media_group also has no album-level caption field, so no text can be made to
render. Cost: 3 cameras = 3 messages, not one album."
entities:
- automation.3d_print_early_layers_snapshot
- automation.3d_print_complete_snapshot
- notify.franco
files:
- automations.yaml
integrations:
- telegram_bot
pin: true
status: active