opencode/decisions.yaml

This commit is contained in:
Home Assistant Version Control
2026-10-01 15:47:07 +00:00
parent 0449f9b5ff
commit ac99c5dc52
+21
View File
@@ -898,3 +898,24 @@ notes:
- webrtc
pin: true
status: active
- id: 2026-10-01-telegram-use-send-photo-never-send
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
status: active